Line Chart Interactive
A production-scale, light + dark Line Chart Interactive component. Copy-paste via the CLI; you own the code.
npx lerpa-cli add line-chart-interactiveLive preview available in the gallery.
Usage
import { LineChartInteractive } from "@lerpa/ui";
<LineChartInteractive />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.