Dev Design Library

Pie Chart

Pie and donut charts with padded sectors, labels, and optional sector glow.

Pie Chart preview
Library
Spectrum UI
Framework
React
Type
component
License
Apache-2.0
Dependencies
framer-motion, recharts
Install
npx shadcn@latest add @spectrumui/pie-chart
Files
  • app/registry/charts/chart-kit.tsx
  • app/registry/charts/pie-chart.tsx
  • lib/utils.ts
Source
https://github.com/arihantcodes/spectrum-ui

Categories

More from Spectrum UI