Split bar

Pro

A 100% stacked share bar where hovering widens a segment and legend toggles reflow the rest.

pnpm dlx shadcn@latest add https://wui.alann.works/r/split-bar.json
Total share100 GB (100%)

API Reference

PropTypeDefault
segments*SplitBarSegment[]required
unitstring—
classNamestring—
Categories
datamotion
Dependencies
motion