Runs14.8k
Default
Dashboard stat lockup.
/render stateKPI number lockup for dense dashboards.
Stats are scan targets. Keep labels short, pair deltas sparingly, and use display scale only for editorial emphasis.
Controls update query params directly, so every primitive state can be linked, rendered, and screenshotted deterministically.
Every state maps to the same render route through the `state` query param.
Dashboard stat lockup.
/render stateStandalone numeric treatment.
/render stateEditorial display treatment.
/render state| Name | Type | Default | Description |
|---|---|---|---|
label | ReactNode | - | Optional metric label for lockups. |
value * | ReactNode | - | Large numeric value. |
unit | ReactNode | - | Baseline unit suffix. |
variant | 'lockup' | 'numeric' | 'display' | lockup | Dashboard or editorial numeric treatment. |
size | 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge' | medium | Numeric scale. |
tone | 'default' | 'muted' | 'sky' | default | Numeric color treatment. |
delta | ReactNode | - | Optional Delta slot. |
meta | ReactNode | - | Optional muted suffix. |