Gender Split 1 – Donut with share and count legend
- from @shadcncraft
A category breakdown as a donut with the leading share in its center and a legend of percentages and counts, side by side when there is room and stacked when narrow. Includes loading, empty and error states. Adapt it for audience, inventory or other distributions.
Install
New to shadcn? Set up your project
If your project already has a shadcn components.json, skip initialization. Otherwise, run this once from your project root.
pnpm dlx shadcn@latest initpnpm dlx shadcn@latest add @shadcncraft/gender-split-1Registry dependencies5
- button
- card
- chart
- empty
- skeleton
