Skip to content

Sparkline

Charts

Tiny 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.

PropTypeRequiredDescription
labelstringNoShort label shown with the value or control.
valuesnumber[]Yes-
valuestringNoThe value shown, or the bound value an input reads and writes.
deltastringNoChange versus a previous period, for example +4.2%.
tone"positive" | "negative" | "default"NoColor 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.