Stat
Metric value and caption for KPI compositions.
Loading interactive example
Use Stat to foreground one metric and its caption inside a dashboard or summary. Use valueContent to compose AnimatedNumber or other formatted values; value remains the fallback.
API
| Member | Type | Kind | Required | Default |
|---|---|---|---|---|
label | string | prop | No | undefined |
leading | Snippet | snippet | No | undefined |
size | StatSize | prop | No | 'md' |
value | string | number | prop | Yes | |
valueContent | Snippet | snippet | No | undefined |
Examples
Source
Loading source