Dev Design Library

Donut Chart

Draws itself in, then lifts whichever slice you point at.

Donut Chart preview
Library
UI Lab
Framework
React
Type
component
License
MIT
Install
npx shadcn@latest add https://lab.xevrion.dev/r/donut-chart.json
Files
  • src/lab/components/donut-chart.tsx
  • src/lib/use-reduced-motion.ts
  • src/lib/cn.ts
Source
https://github.com/xevrion/ui-lab

Categories

More from UI Lab