Chart Card 17 - Interactive pie with selectPro
Pie chart card with a month select in the header; the chosen slice pops outward, the rest dim, and its value prints in the center.
About Chart Card 17
Pie chart card with a month select in the header; the chosen slice pops outward, the rest dim, and its value prints in the center.
Chart Card 17 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 135 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.
- chart
- pie
- interactive
- select
- highlight
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-17Dependencies installed automatically: motion.
Uses: card, motion-presets, reveal, select, utils.
Usage
import ChartCard17 from "@/components/blocks/chart-card-17"
export default function Page() {
return <ChartCard17 />
}