Stats 5 - Four metric cardsPro
Four metric cards, each with a counting value, a trend arrow and a mini CSS bar chart that grows into view.
About Stats 5
Four metric cards, each with a counting value, a trend arrow and a mini CSS bar chart that grows into view.
Stats 5 is a pro stats block for React, built on shadcn/ui and Tailwind CSS with motion animations that respect reduced-motion settings. It ships as 87 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.
Installation
- Add the Chocolate UI registry to your
components.json(see the installation guide). - Run the shadcn CLI:
npx shadcn@latest add @chocolate/stats-05Dependencies installed automatically: lucide-react, motion.
Uses: motion-presets, number-ticker, reveal, use-reduced-motion, utils.
Usage
import Stats05 from "@/components/blocks/stats-05"
export default function Page() {
return <Stats05 />
}