Skip to content
Launch price: Pro is $79 once →
ChartslibraryUI
47% OFFLaunch price

Charts for the dashboards you’re actually building

47 React chart components for finance, SaaS and analytics. One file each, no chart library underneath, and honest when the data is messy.

React 18 & 19 · TypeScript · Light & dark · Works with the shadcn CLI

Works with the stack you already use

Every chart a dashboard needs,
from trends to finance

Trends, comparisons, parts of a whole, SaaS metrics and finance: one consistent set, light and dark.

Line chart

Trends over time for one to four series, with gaps for missing data and marked forecasts.

Area chart

A line with a light wash to zero, for volume over time.

Stacked area chart

A total over time and what it's made of, in absolute terms or as 100% shares.

Index chart

Measures in different units rebased to 100, so growth compares on one honest axis.

Small multiples

One small chart per group on a shared scale, instead of a ten-colour spaghetti chart.

Sparkline

A word-sized trend for tiles, tables and inline text.

“ChartslibraryUI has definitely unlocked layers of complex visualization that are hard to reach independently. A huge time saver when doing deep, explorative work and trying to summarize findings.”
Financial Analyst

Complete dashboards,
not just parts

Ready-made Pro blocks, or compose your own: every view below is built only from the components in the library.

Built for agents,
not just for copy and paste

Connect once. Your coding agent finds the right chart, reads when to use it, and installs it.

Add a revenue chart to the finance page, with the forecast marked
  1. search_items“revenue forecast”→ Line chart, Actual vs forecast
  2. view_itemsline-chart→ use for, avoid when, props
  3. shadcn add@chartslibraryui/line-chart→ components/charts/line-chart.tsx

Added a line chart above your KPIs. Actuals are solid, September onwards is dashed and labelled as forecast, and it follows your dark mode.

Connect in one line
npx shadcn@latest mcp init --client claude
// components.json
{
  "registries": {
    "@chartslibraryui": "https://chartslibraryui.com/r/{name}.json"
  }
}

Works with the shadcn MCP server in Claude Code, Cursor and VS Code. Free charts need no key. Prefer plain text? llms.txt

Real data is messy.
These charts say so.

Gaps, half-finished months, negative refunds and forecasts mixed with actuals. Every chart handles them the same way, and none of them hides the problem.

Line chart, 10 points from Mar 25 to Dec 25. MRR from $896K to $1.3M (min $896K, max $1.3M). Use arrow keys to read values.

Note: "mrr": 2 missing values, shown as gaps.
Missing months stay missing

The line breaks and a note says how many values are missing. Nothing is interpolated.

Column chart of New MRR across 6 categories. New MRR is highest for Dec 25 ($45.4K) and lowest for Sep 25 ($41.7K). Use arrow keys to read values.

Partial periods are marked

partialFrom fades December and labels it, so a half-finished month doesn't look like a collapse.

Donut chart of 2 parts totalling 600. New 70%, Expansion 30%.

Bad data says so

A negative share can't be a slice. The chart names the rows instead of drawing a wrong picture.

One file per chart,
code you own

components/charts3 files
DIRcore/
TSXline-chart.tsx
TSXwaterfall-chart.tsxNew
One command, one file

Install with the shadcn CLI or copy it. It lands as one readable TSX file next to a small shared core.

--clui-s1:#257de0
--clui-s2:#f47230
--clui-s3:#00b894
--clui-good:#0a9b20
Yours to change

Plain React and CSS variables. Change a colour, a font or the tooltip and keep everything else.

Line chart, 8 points from May 25 to Dec 25. MRR from $989K to $1.3M (min $989K, max $1.3M). Use arrow keys to read values.

Line chart, 8 points from May 25 to Dec 25. MRR from $989K to $1.3M (min $989K, max $1.3M). Use arrow keys to read values.

Light and dark, built in

Every chart follows your theme class, and every palette is checked for colour-vision deficiency in both modes.

Same numbers,
told better

Default chart← drag to compare → ChartslibraryUI

Volume and price more than offset churn

Revenue, plan to actual, USD

  • Total
  • Increase
  • Decrease

Waterfall from Plan $8.2M to Actual $8.5M through 5 changes. Volume +$640K (favorable); Price +$310K (favorable); Mix −$180K (unfavorable); FX −$95.0K (unfavorable); Churn −$420K (unfavorable).

  • It explains the gap. Plan to actual, driver by driver, with the subtotal computed.
  • Honest scale. The default axis starts at $8.0M, so a 3% beat looks like 2.5×.
  • The title is the takeaway. Not “Plan vs Actual”.
  • Colour means something. Green helps, red hurts, grey is a total.

Free core.
Pro, once.

26 charts are free forever. Pro adds 21 financial and analytical charts and dashboard blocks. No subscription, $79 at launch.

Free
$0MIT

Everyday charts and the full core. Good enough to ship in a commercial product.

  • 26 charts: line, bar, area, donut, scatter, KPI tiles, tables…
  • Shared core: formatting, theming, tooltips, table view, data checks
  • shadcn CLI, our CLI, or copy and paste
  • Commercial use, no attribution required
Pro · Individual
Launch price
$79$149once

One developer. All 21 Pro charts and dashboard blocks, yours to keep.

  • Every Pro chart and dashboard block, with full source
  • All future Pro charts in the 1.x series
  • Unlimited personal, client and commercial projects
  • Install with the CLI from your download, no account needed
  • Email support for installation questions
Pro · Team
Up to 10 seats
$199$399once

Up to 10 developers at one company. Everything in Individual, for the whole team.

  • Everything in Individual
  • Up to 10 developers install and edit the charts
  • One invoice for the company
  • Priority email support
  • Larger team? Email us for a quote

Start with the free charts. Upgrade when the board deck needs a waterfall.