KPIs with trends

Free

Four figures with their change and a sparkline, in one group of cells that wraps from one to four columns.

stats-01 · v1.0.0 · Stats block 1 of 4

npx shadcn@latest add @lib/stats-01

About this stats block

KPIs with trends is a free stats block for shadcn/ui. Four figures with their change and a sparkline, in one group of cells that wraps from one to four columns. It's one React file, uses only your theme tokens, and works in Next.js, Vite, React Router, TanStack Start and Astro.

What's inside

  • Light and dark mode from your theme
  • Responsive, from phone to desktop

What it installs

  • @lib/kpi-01
  • npm: lucide-react

Versions

  • v1.0.0 Blocks for the pieces of a page, six parts fewer
Full changelog

More stats blocks

KPIs with trends, chart cards and usage meters: the figures at the top of a dashboard or a settings page, as cells for your grid.