Chart legend
- from @goodui
Shared interactive legend: aria-pressed toggle buttons with popping square, dot, line or dashed swatches, hidden-state strike-through, optional values and a hover channel that highlights a series in its chart.
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 @goodui/chart-legendComponent source
No live preview has been built for this component yet.
Registry dependencies2
Packages0
No npm packages are installed with it.