React chart components for Tailwind CSS
Charts and stats turn numbers into something people can read at a glance. The chart set covers trends (Line Chart and Area Chart), comparisons (Bar Chart, grouped, stacked or 100%), parts of a whole (Donut Chart and Radial Bar) and conversion (Funnel Chart). For dashboards there are Stat Card, the KPI tile with a delta that knows good from bad, Trend Badge, Gauge, Sparkline for table cells and running text, Leaderboard and Animated Counter. Heatmap Calendar, GitHub Activity and Tracker show activity over days and weeks, from contribution grids to uptime bars.
All Charts & Stats[16]
Gauge
A React gauge chart showing one value against a scale and its zones: a speedometer arc, needle or segmented dial with a target tick.
GitHub ActivityFree
A React GitHub contribution graph: a yearly heatmap with a panel of your top repositories.
Animated CounterFree
A React animated counter that rolls each digit to its new value like an odometer, for stats, prices, timers and live numbers.
Radial bar
A React radial bar chart: several goals as concentric activity rings or 270° bars, each filling toward its own target and lapping past 100%.
Tracker
A React status tracker: a row of status blocks over time, one per day, hour or deploy, for uptime pages, sync health and habit streaks.
Heatmap calendar
A React heatmap calendar of activity by day over weeks or a year, on a one-hue scale with month and weekday labels, a total and a legend.
Stat Card
A React stat card for dashboards: a label, a big number that counts up, a delta pill that knows good from bad, a sparkline and a goal bar.
Sparkline
A React sparkline: a word-sized chart for table cells, list rows, KPI tiles and running text, as a line, an area, bars or win / loss ticks.
Leaderboard
A React leaderboard ranking people, teams or products by one metric, with medals, bars, rank changes, a podium and a "you" row.
Area chart
Volumes over time as filled areas: overlapping gradients, stacked bands for parts of a total, or 100% stacked shares.
Bar chart
Compares categories or periods as columns or horizontal bars, grouped, stacked or 100%, with negatives below a clear zero line.
Donut chart
Parts of a whole as a donut or pie, with the total in the middle, a legend with values and shares, and a selectable slice.
Funnel chart
A React funnel chart of conversion: each step's count, its conversion and the drop-off between steps, as aligned bars or a tapered shape.
Line chart
Trends over time as smooth lines, with a crosshair readout of every series, a dashed comparison period, target lines and direct end labels.
Guides
Tutorials and guides from the blog that use these components.
Component guides
React Funnel Chart: Conversion, Drop-off and Cohorts
Build a react funnel chart that prints each step's count, its conversion and the drop-off between steps, as aligned bars or a tapered shape that stays honest.
9 min read
Component guides
Shadcn KPI Cards: Deltas, Sparklines and Goal Bars
Build shadcn KPI cards that tell you if a number is good: a count-up value, a delta colored by meaning, a sparkline, a goal bar and a two-column phone grid.
9 min read
Build it: screens and apps
Shadcn Profile Page in React: Follow, Tabs and Edit Sheet
Build a shadcn profile page in React: cover band, avatar with presence, optimistic follow, counters, swipeable tabs, a contributions heatmap and an edit sheet.
9 min read
Component guides
React Animated Number Counter: Rolling Odometer Digits
Build a React animated number counter that rolls each digit like an odometer, takes its separators from Intl, holds its width and respects reduced motion.
9 min read
Component guides
React Charts Tailwind: 4 Charts and a Kit for Any Theme
React charts Tailwind can theme: area, bar, line and donut charts plus a chart kit on d3-scale and d3-shape, readable in light and dark mode and on a phone.
10 min read
Component guides
React Gauge Chart: Zones, Targets and Small Sizes
Build a react gauge chart that shows one value against zones and a target, keeps its labels readable at 120px, and reads as a meter to screen readers.
9 min read
About Charts & Stats
The charts share one set of parts from Chart kit in Hooks & Utilities: the palette, formatters, axes, crosshair, tooltip and legend, drawn as SVG with d3 scales and shapes. Colors come from the theme tokens, so every chart follows light and dark mode. On a phone you tap a point to pin the readout and drag sideways to scrub, while a vertical drag still scrolls the page, and the keyboard can walk through every point. 2 of the 16 chart and stat components are free: the source is open to everyone through the CLI, shadcn and the docs page (the MCP server needs a free account key). The other 14 are part of Pro.