Stats blocks for every framework.
122 stats sections for React, Vue, Svelte and Solid, ready to paste into a page. Stats sections that put numbers to work: KPI bars, hero metrics, charts, funnels, gauges, heatmaps and comparison cards. Try each one right here.
Every stats block
122 blocks.
Accordion Region Progress StatsGoals and progressQuota attainment for a regional sales team, three regions in an accordion whose trigger shows the rolled-up bar and whose panel lists each territory.
Activity Streak StatsHeatmapsA 26-week contribution grid of daily lessons with month labels, a Less to More key and a band of three counters for the current streak, the longest streak and the active days.
Annotated Area Chart StatsArea and lineA framed area chart of checkout latency with three numbered pins, two deploys and an incident, tied to an ordered list of notes under it; hovering or focusing either one lights the other.
Area Chart Hero StatsArea and lineA rail-to-rail area chart for a farm-shop sales tool: twelve months of sales fading out toward the foot, with the latest month's figure and its change laid over the top corner.
Area Chart With Pill Tabs StatsArea and lineA framed area chart for a traffic analytics tool with pill tabs for Day, Week, Month and Year: choosing one swaps the readings, the labels under the chart and the total, whose digits roll.
Area Chart With Reference Area StatsArea and lineAn area chart of alert delivery time with the incident drawn as a shaded window between two hairlines, and three rows beside it: how long it lasted, the peak delay and the alerts it touched.
Avatar Podium Leaderboard StatsLeaderboardsA contributor leaderboard with the top three on a podium of stepped cells with initials avatars, in the order second, first, third, and places four to eight as rows in one hairline frame.
Before and After Load Time StatsComparisonsA page-speed comparison with the time before a tune, the time after it, and the seconds saved on a connecting line between two dots.
Benchmark Scale StatsDistributionsFive support metrics, each on a scale line with three markers (your team as a solid dot, the industry average as a ring, the top 10% as a tick), a verdict with a glyph and words, and the three values as text.
Box Plot StatsDistributionsFive box plots of delivery times on one shared axis in a band that runs from rail to rail, each with a whisker, a box for the middle half, a median line, hollow outlier dots and the median at the row's end.
Bullet Chart StatsBar and columnFour bullet graphs for department KPIs, each with three shaded ranges, a bar for the result, a tall tick for the target, a labelled scale and a verdict with a glyph and words.
Burndown Chart Card StatsArea and lineA sprint burndown in a card in a card: the ideal burn as a dashed line, the actual remaining work as a solid one, the gap shaded, a tick where scope was added and a band of three figures under the chart.
Or describe it. With Pro, your AI agent picks the block you describe and installs it on your stack.
Get ProPricing
Every stats block, one prompt away, with Pro
Your AI agent installs any of the 122 stats blocks, and every component, example and icon, with every Pro plan.
4.9/5 out of 5 · 150+ reviewsfrom 150+ founders and developers.
- Secure checkout via Stripe
- Code lives in your repo
- Keep what you've shipped if you cancel
- License terms
FAQ
Frequently asked questions
Answers on the 122 stats blocks: what they are, how to customize and install them, the license and your AI agent.
They are 122 React sections for showing numbers on a dashboard or a landing page, in 14 groups: area and line, bar and column, distributions, parts of a whole, heatmaps, funnels, hero metric, kpi bands and tiles, sparklines, live, comparisons, goals and progress, leaderboards, tables. They cover headline figures, KPI bands, charts, goals, leaderboards and live readouts.
Hero Metric Card Stats puts one headline figure with its change in a card, Connected KPI Bar Stats lines a few figures up between shared hairlines, and Sparkline Stats gives each figure its own small trend. Goal Ring Tiles Stats shows progress toward targets and Ranked List Leaderboard Stats ranks names with scores.
Area Chart Hero Stats, Vertical Stages Funnel Stats, Donut Center Readout Stats, Calendar Month Heatmap Stats and Distribution Card Histogram Stats are drawn as inline SVG and CSS inside the block. No chart library is imported, so there is nothing to install beyond the block's own components.
The numbers are typed series and lists at the top of the file, and the figures, changes, headlines and drawings are all computed from them, so the text and the picture always agree. The companies and data are invented samples.
Replace the typed series with your own arrays, oldest first, and keep the computations. For example Sparkline Stats works its figure, its change on the period before and its line from one daily series, and Hero Metric Card Stats computes its change and headline from a balance and its burn. Fetch the data in your page and pass it in.
The Live group does not open a socket: each block plays a fixed script on a timer, once it is on screen, and then holds. To go live, replace the script with your stream (a WebSocket, server-sent events or polling) and append readings to the same state. Live Metrics Stats moves four figures from one shared sample index so they never disagree.
Keep the pause control the live blocks give you. It is a ghost button with a pressed state, and once the script holds or motion is reduced it stays in place and says the reading is held. The word beside it (Live, Paused, Held or Still) is a polite live region, so pausing is announced but each new number is not.
The live blocks check `prefers-reduced-motion` and stay on the first reading without ticking, and the badge or word says Still. Keep that branch when you connect real data, and show the latest value in place instead of rolling digits.
The blocks show direction with an arrow and a sign in the text colour, not green and red, because a falling bounce rate or refund count is good news. If your product wants colour, add it on the change cell, and keep the arrow and sign so the meaning does not depend on colour.
This page lists 122 of the category's 122 stats blocks for React on Base UI. The category comes in React (Base UI, React Aria, Ark UI and Radix UI), Vue, Svelte and Solid; the framework and UI library pickers at the top of any block's page switch between them.
The stats blocks here are written on Base UI primitives; the layout, the copy and the theme tokens are the same on every base, and the install path follows it (/r/stats-activity-streak.json). The other bases are one picker away from /stats-block.
Each block is TypeScript and Tailwind CSS v4, styled with your theme's tokens, and imports our components (installed with it) on Base UI. Icons come from lucide-react.
Open a block, copy its command and run it: `npx shadcn@latest add` with the block's registry URL, such as /r/stats-activity-streak.json for Activity Streak Stats. The code is copied into your project and it's yours to edit.
The block's file and the components it imports: Activity Streak Stats brings Guides and Sliding Number, installed before it. Nothing else changes in your project.
Use the filters above the grid: 14 kinds of stats block, led by goals and progress (15), area and line (13), bar and column (12) and kpi bands and tiles (12), and sort by popular or name. A good first look: Activity Streak Stats, Endpoint Latency Range Stats and Dual Series Area Chart Stats. Each card opens the block's live page.
Every block draws the same page column and side rails with a top rule only (the Guides component), so a stats block lines up with the one above and below it. Stack one per section and the rails read as a single drawing; pick across the charts, figures and progress and tables kinds.
Open its page and use the full-screen viewer (/view/stats/activity-streak) or the device-width previews. Every preview is free for everyone; only the code needs Pro.
Each stats block uses semantic HTML: one heading level, real lists and labelled controls. Interactive parts sit on Base UI, a headless library that follows the WAI-ARIA patterns, and the layouts use logical properties so they hold in right-to-left languages.
Yes. They use semantic tokens only (bg-card, text-muted-foreground), never palette colors, so they follow your preset, radius and dark mode. The primary color marks one action per block and is never a background.
No animation library: the stats blocks' motion is CSS (transitions, entrance animations and SVG), and it stands still under prefers-reduced-motion.
The previews are free for everyone. The code of all 122 stats blocks is Pro, as is every block: Pro unlocks the code, the install command and the MCP.
Only with a Team or Organization license: client work, SaaS products and anything your users pay for. The Individual license is for personal, non-commercial projects. See the license page for the full terms.
You keep using what you installed in your existing projects, but get no new downloads or updates, and the MCP stops answering. A Lifetime license includes all future updates.
No. You can use them in your own End Products, but not redistribute the code or designs on their own, or in a UI library, kit, template or website builder.
With Pro, yes: the MCP server (22 tools, one personal URL from /dashboard/mcp) lets your agent search_blocks for a stats block, read it with get_block and install it on your React on Base UI stack.
Pass `category: "stats"` to search_blocks to search only the 122 stats blocks, or to list_blocks for the 14 groups with their blocks. get_block then returns one with its install command.
plan_page plans a page as a stack of blocks for a brief. Pass `sections` with category ids, such as ["hero", "stats", "footer"], to force the order; each section gets a pick and two alternatives, and get_block installs the stack.
4.9 out of 5 from 150+ developers
Every stats block. One prompt away.
122 stats blocks with Pro, the previews free to try. With Pro, your AI agent installs them from a prompt.
Get Pro