Skip to content

Charts for dashboards

When a dashboard puts every trend, comparison, and activity pattern into one visualization, users have to work harder to spot the signal. This collection splits those jobs across seven web components: Area Chart, Bar Chart, Line Chart, Sparkline, Heatmap, Bar List, and Activity Heatmap. Open a chart card to see its example and install details.

bun add @otfdashkit/ui
Area chart · live preview
$38.2k↑ +32.4% this month

Code

import { AreaChart } from '@otfdashkit/ui'

const data = [
  { month: 'Jan', Revenue: 12400, Users: 840 },
  { month: 'Feb', Revenue: 18200, Users: 1120 },
  // ...
]

export function RevenueChart() {
  return (
    <AreaChart
      data={data}
      dataKey={['Revenue', 'Users']}
      xAxisKey="month"
      height={240}
      showLegend
      curved
    />
  )
}

Free with the SDK. Every chart on this page ships in @otfdashkit/ui under the MIT license.

Kit for this component

SaaS Dashboard Kit$99

Add charts to a dashboard for the metrics you already track.

See the kit

Choose a chart for your dashboard

Which shadcn charts can I use in a React dashboard?
This page covers 7 web React components in @otfdashkit/ui: Area Chart, Bar Chart, Line Chart, Sparkline, Heatmap, Bar List, and Activity Heatmap. Area Chart, Bar Chart, and Line Chart are built on Recharts.
How do I add these shadcn charts to a React app?
Install the free MIT-licensed SDK with `bun add @otfdashkit/ui` (or npm/pnpm) and import { AreaChart, BarChart, LineChart, Sparkline, Heatmap, BarList, ActivityHeatmap } from '@otfdashkit/ui'.
Which platform do these charts cover?
This page documents the web components in @otfdashkit/ui. Every chart listed here is registered as web.

Need a full app around your dashboard? Browse OTF's app kits.