Skip to content

Stat

Data display

One numeric KPI: label, short value (number or <10 chars like '$84k'), optional delta (e.g. '+4.2%'), caption. Not for sentences.

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
labelstringYesShort label shown with the value or control.
valuestring | numberYesThe value shown, or the bound value an input reads and writes.
deltastringNoChange versus a previous period, for example +4.2%.
trend"up" | "down" | "flat"NoDirection of the change: up, down or flat.
captionstringNoSmall muted line under the main content.
tone"default" | "positive" | "negative" | "warning" | "info" | "accent"NoColor tone that carries meaning (positive, negative, warning...).
iconstringNoLucide icon name (kebab-case).

Used by templates

Fixed-schema templates that include Stat. Try them in the playground.