Chart Card 10 - Stacked bar with legendPro
Monthly bars stacked by device segment, a 2px gap between segments, totals above each column and a legend.
About Chart Card 10
Monthly bars stacked by device segment, a 2px gap between segments, totals above each column and a legend.
Chart Card 10 is a chart card block for React and Tailwind CSS, included in Chocolate UI Pro with motion animations that respect reduced-motion settings. It ships as 120 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.
- bar
- stacked
- segments
- legend
- card
Installation
- Set up your project with
npx chocolateui initandnpx chocolateui login(see the installation guide). - Run the Chocolate UI CLI:
npx chocolateui add chart-card-10Dependencies installed automatically: lucide-react, motion.
Uses: card, reveal, use-reduced-motion, utils.
Usage
import ChartCard10 from "@/components/blocks/chart-card-10"
export default function Page() {
return <ChartCard10 />
}