Sparkline
ChartsTiny trend with label and latest value; a compact KPI with history, fits in a Grid instead of Stat. values: numbers.
Props
Generated from the Zod definition. In A2UI 1.0 any value may also be a { "@path" } binding into the surface data model or a { "@call" } function call.
| Prop | Type | Required | Description |
|---|---|---|---|
| label | string | No | Short label shown with the value or control. |
| values | number[] | Yes | - |
| value | string | No | The value shown, or the bound value an input reads and writes. |
| delta | string | No | Change versus a previous period, for example +4.2%. |
| tone | "positive" | "negative" | "default" | No | Color tone that carries meaning (positive, negative, warning...). |
Used by templates
No fixed template uses Sparkline yet. The dynamic composer can still place it in any surface.