Stats Card 10 - KPI with segmented breakdown barPro
A wide KPI card with a total value and a single segmented bar split by source in chart colors, where hovering a segment or legend row highlights it and shows its share. Use it to explain what a headline number is made of, such as traffic by channel or revenue by plan.
About Stats Card 10
A wide KPI card with a total value and a single segmented bar split by source in chart colors, where hovering a segment or legend row highlights it and shows its share. Use it to explain what a headline number is made of, such as traffic by channel or revenue by plan.
Stats Card 10 is a pro stats card block for React, built on shadcn/ui and Tailwind CSS with motion animations that respect reduced-motion settings. It ships as 89 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
- breakdown
- segmented-bar
- legend
- composition
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-10Dependencies installed automatically: motion.
Uses: reveal, use-reduced-motion, utils.
Usage
import StatsCard10 from "@/components/blocks/stats-card-10"
export default function Page() {
return <StatsCard10 />
}