Preview
Usage
Sparkline usage<Sparkline values={perDay} label="Deploys per day, rising" tone="accent" />API
Sparkline APISparklineProps
| prop | type | notes |
|---|---|---|
| values | number[] | The series, oldest first. One value draws just the "now" dot. |
| label | string | Accessible summary — say what the trend MEANS, not the numbers ("Deploys per day over two weeks, rising"). |
| tone? | SparklineTone | Line hue; the app judges tone (default 'neutral'). |
| fill? | boolean | Translucent area fill under the line (default false — lines, not fills). |
| width? | number | Rendered size in px (defaults 96×28 — a word, not a figure). |
| height? | number | |
| mix? | MixInput |