For AI Agents
Hand your agent this brief or the ReUI MCP, not a screenshot. Installs with a ReUI Pro or Ultimate license.
When to use
- Rows of metric tiles, each pairing its value with a sparkline, a meter or a delta
- Health strips for cron jobs, SLOs or data syncs that open with KPI tiles and mini trends
- Metric lists where every row ends in a small trend and a change badge
When not to use
- Plain KPI numbers that need only a delta badge, an actions menu or a progress bar: use the Stats blocks
- One metric that deserves a full width plot with axes and a tooltip: use the Area Chart blocks
- A whole overview page that sets a header, summary tiles and a work list around its plots: use the Dashboard blocks
Agent notes
Charttakes no props and fetches nothing: every tile value and series comes from constants in the block's own folder
Third-party API docs
- Recharts v3: API reference, docs, used by 9 of 11 blocks
- Motion v12: API reference, docs, used by 1 of 11 blocks (the docs follow the latest Motion, with no React API break since v12)
- Sonner v2: API reference, docs, used by 1 of 11 blocks
https://web.dev.reui.io/blocks/chart/sparkline.mdsearch({ query: "sparkline", type: "block", category: "sparkline" })Shadcn Sparkline Cards for KPI Rows and Metric Lists
A sparkline is a chart too small for axes: it shows the direction of a number at a glance, next to the number itself. These blocks put them beside the numbers, in rows of KPI tiles, in grids of balance cards and in lists where each row ends in its own trend.
Most draw their line, area, bar and lollipop minis on Recharts, usually through the shadcn Chart wrapper, a few in plain SVG, and deltas show as ReUI Badge chips, toned figures or toned arrows. Every value and series comes from constants in the block folder, so wiring your own metrics is a data change.
All Sparkline Blocks
Open any block on its own page for a live preview, the components it is built from, and the install command.
- Inventory Health Inventory KPI summary card with period tabs and per-metric sparkline trends
- KPI Strip Four-column KPI stat row with corner line sparklines and trend badges
- Wallet Balances Portfolio Balance Cards with Bottom-Anchored Line Charts on a Dotted Bed
- Wealth Overview Finance KPI metric grid with delta badges, brand logo stacks and mini area sparklines
- Distance Tracker Distance Metric Card with Week, Month, Year Tabs and Dotted Sparkline Fill
- KPI Trend Cards Three KPI stat cards with gradient sparkline area charts and hover tooltips
- Order Metrics Order Metrics List Card with Per-Row Line Sparklines and Trend Badges
- Cron Job Health Cron job health KPI strip with SLO sparkline, failure split and next run track
- SLO Fleet Health SLO health KPI strip with lollipop minis for budget left, hourly burn peaks and budget events
- SLO Budgets SLO error budget list with diverging lollipop pins, an attention filter and a New SLO dialog
- Connection Health Data connection KPI strip with health segment bars, a rows synced area trend and failure day bars
What These Sparkline Blocks Cover
- KPI rows and grids Inventory, finance and balance KPIs, each value paired with a line or gradient area sparkline and a tone-coded delta.
- Metric lists A vertical KPI list with a sparkline per row, and an SLO list pairing a diverging lollipop pin with a 28-day bead sparkline.
- Fleet health strips 4-tile strips for cron jobs, SLOs and data connections with an SLO line, lollipop and bead minis, segment bars and failure bars.
Related Shadcn Chart Categories
- Area Chart Area chart cards with gradient fills, comparisons to a prior period or baseline, hover readouts and CSV export for trends over time.
- Bar Chart Bar and column charts, stacked hourly outcomes, 3D prisms, diverging lanes and lollipop stems for comparing values.
- Composed Chart Composed charts that mix bars, lines and areas on one axis: liquidity flows, sales against a goal, cashflow, margin and a canary rollback.
- Line Chart Line chart cards with single and multi-series lines, dual axes, reference lines and metric switchers.
- Pie Chart Donut cards for share of a whole, with source rows, version drill-down and period switches, plus a budget rose for spend against budget.
- Radial Chart Radial cards for a value against a limit or target: concentric error budget rings, API health ring gauges and a day clock of inflows.
- Status Tracker Per-row status trackers for run history, deploy stages and pipelines, with hover details and filters.
- Stats Number-first KPI strips for when the metric leads and a trend line would only be decoration.
- Dashboard Full overview screens that combine a metric row, a chart layer and a data grid into one page.
All Shadcn Block Groups
Browse the full ReUI Shadcn blocks library by product surface. Each group bundles category-level blocks you can mix and match across your project.
- Shadcn Application Blocks (303) Browse 303 Shadcn Application blocks across 23 categories.
- Shadcn Data Grid Blocks (47) Browse 47 Shadcn Data Grid blocks across 9 categories.
- Shadcn Charts Blocks (52) Browse 52 Shadcn Charts blocks across 10 categories.
- Shadcn Solutions Blocks (76) Browse 76 Shadcn Solutions blocks across 11 categories.
- Shadcn AI & Agents Blocks (22) Browse 22 Shadcn AI & Agents blocks across 3 categories.
- Shadcn eCommerce Blocks (87) Browse 87 Shadcn eCommerce blocks across 13 categories.
- Shadcn Marketing Blocks (67) Browse 67 Shadcn Marketing blocks across 8 categories.
Frequently Asked Questions
What is the difference between a sparkline block and a stats block?
Can the tiles show live data?
Start building with ReUI Pro today.
Every Pro block, every style, and every future addition, with one license for unlimited projects.
From $249, once. Lifetime updates.