Stats 2 - Metric cards
Grid of metric cards with icons, counting values and up/down trend badges.
About Stats 2
Grid of metric cards with icons, counting values and up/down trend badges.
Stats 2 is a free stats block for React, built on shadcn/ui and Tailwind CSS. It ships as 137 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.
- cards
- number-ticker
- trend
- badges
Installation
- Add the Chocolate UI registry to your
components.json(see the installation guide). - Run the shadcn CLI:
npx shadcn@latest add @chocolate/stats-02Dependencies installed automatically: lucide-react.
Uses: card, number-ticker, reveal, utils.
Usage
import Stats02 from "@/components/blocks/stats-02"
export default function Page() {
return <Stats02 />
}