Bar Chart Vertical
A production-scale, light + dark Bar Chart Vertical component. Copy-paste via the CLI; you own the code.
npx lerpa-cli add bar-chart-verticalLive preview available in the gallery.
Usage
import { BarChartVertical } from "@lerpa/ui";
<BarChartVertical />Props
| Prop | Type | Default | Description |
|---|---|---|---|
| data | number[] | — | |
| labels | string[] | — | |
| title | string | — | |
| subtitle | string | — | |
| color | string | — | |
| unit | string | — |
Accessibility
- Keyboard accessible interactive elements.
- Respects prefers-reduced-motion where animated.
- Color is never the only signal.