Skip to content
Launch price: Pro is $79 once →
ChartslibraryUI
Updated 2026-11-27

ChartslibraryUI vs shadcn/ui charts

shadcn/ui ships a chart component and a large set of chart examples. They're styled recipes on top of Recharts: you copy the example, keep Recharts as a dependency, and theme it with shadcn's CSS variables. ChartslibraryUI uses the same install model, source files through the shadcn CLI, but the charts are complete components with no chart library underneath.

The short version

shadcn/ui charts ChartslibraryUI
Install shadcn CLI, copy and paste shadcn CLI, own CLI, copy and paste
Underneath Recharts Nothing: SVG on a small shared core
What you copy An example you adapt A finished, typed component
Price Free 26 charts free (MIT), Pro one-time
Finance charts Not included Waterfall, variance, forecast, bullet, pacing…
Edge cases (gaps, forecasts, bad input) Up to you Built in
Works with shadcn MCP Yes Yes, via the @chartslibraryui namespace

Where shadcn/ui charts are the better pick

  • You want everything to come from one source. If your app is built entirely on shadcn/ui, its charts match the rest of the kit by default.
  • Simple charts. A sparkline-style area chart on a marketing page is a few lines with shadcn's examples.
  • You want Recharts' flexibility with shadcn's styling on top.

Where ChartslibraryUI is the better pick

  • Dashboards that need to be right, not just pretty. Missing data stays missing, partial periods are marked, forecasts are dashed and labelled, and bars always start at zero.
  • Finance and SaaS patterns. Budget vs actual, plan-to-actual bridges, cohort retention and pacing are components, not weekends.
  • Fewer moving parts. No Recharts version to track. Each chart is one file you can read top to bottom.
  • It still fits a shadcn project. Charts follow .dark and [data-theme="dark"], use plain CSS variables, and install with the same CLI:
npx shadcn@latest add https://chartslibraryui.com/r/line-chart.json

Using them together

They work side by side. Add ChartslibraryUI as a registry namespace in components.json and your agent can install from both:

{
  "registries": {
    "@chartslibraryui": "https://chartslibraryui.com/r/{name}.json"
  }
}

See Installation and Using with AI agents.

Try the free charts in your app

26 charts, MIT, one command each.