Shadcn.io is not affiliated with official shadcn/ui
Stats Sparkline Stacked Metrics
A per-metric sparkline stats card for React and Next.js with a hero value, two stacked sub-metrics, trend-keyed gradient fills, and a ChartContainer-wrapped AreaChart built with shadcn/ui and Tailwind CSS
Compare product health at a glance with this sparkline stacked metrics card for React and Next.js. Features ChartContainer-wrapped Recharts AreaChart sparklines at 64px height, per-card var(--chart-N) tokens with trend-keyed gradient fills, a hero value stacked above two secondary sub-metrics (sessions, conversion), a status pill in the header, and tabular-nums everywhere. Built with TypeScript, ChartContainer from shadcn/ui, Recharts AreaChart, motion/react parent entrance, Lucide React TrendingUp/TrendingDown icons, and Tailwind CSS. Perfect for SaaS product dashboards, e-commerce store overviews, A/B test scorecards, and marketing campaign monitors.
Related Components
React Stats Block Sparkline
Per-metric inline area chart
React Stats Block Sparkline Tile Grid
Sparkline KPI tiles
React Stats Block Sparkline Dual Series
Two-line sparkline card
React Stats Block Sparkline Monochrome
Mono sparkline trend
React Stats Block Sparkline Pill Trend
Sparkline with pill badge
React Stats Block KPI Sparkline Grid
KPI grid with trends
FAQ
Was this page helpful?
Sign in to leave feedback.
Sparkline Monochrome Card
A monochrome sparkline stats card for React and Next.js with per-metric ChartContainer-wrapped AreaChart, neutral var(--foreground) stroke, and tabular-nums value displays built with shadcn/ui and Tailwind CSS
Sparkline Tile Grid
A sparkline tile grid stats component for React and Next.js with independent ChartContainer mini area charts per tile, trend-keyed gradient fills via var(--chart-N), and NumberFlow animated KPI values built with shadcn/ui and Tailwind CSS