Wrapping chart legend with small color swatches and labels. Pass colors per series or fall back to accent, success, warning and danger theme tokens.
npx shadcn@latest add @minidev/chart-legend
chart-legend