Stats Card 1 - KPI with delta badge
Three shadcn-style KPI cards with a muted label, a large animated value, a trend badge showing the percentage change and a footer line explaining the movement. Use it as the summary row at the top of an analytics or admin dashboard.
About Stats Card 1
Three shadcn-style KPI cards with a muted label, a large animated value, a trend badge showing the percentage change and a footer line explaining the movement. Use it as the summary row at the top of an analytics or admin dashboard.
Stats Card 1 is a free stats card block for React, built on shadcn/ui and Tailwind CSS. It ships as 91 lines of TypeScript you own: every piece of copy is a prop with a sensible default, so you can drop it in and replace the content without touching the layout.
- stats
- kpi
- dashboard
- delta
- trend
- badge
Installation
- Add the Chocolate UI registry to your
components.json(see the installation guide). - Run the shadcn CLI:
npx shadcn@latest add @chocolate/stats-card-01Dependencies installed automatically: lucide-react.
Uses: badge, number-ticker, reveal, utils.
Usage
import StatsCard01 from "@/components/blocks/stats-card-01"
export default function Page() {
return <StatsCard01 />
}