KPIs with trends
FreeFour 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-01About 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