Stat
v0.4.0This component has no README yet.
Compositions
Open all 4 →Properties
Stat props
| Prop | Type | Default | Description |
|---|---|---|---|
label* | string | — | Descriptive label shown above the value |
value* | string | number | — | The primary metric to display |
className | string | — | Additional class names to merge with the component root element |
prefix | ReactNode | — | Optional prefix rendered before the value (e.g. "$") |
suffix | ReactNode | — | Optional suffix rendered after the value (e.g. "%", "ms") |
Also accepts the native attributes of its root element (className, aria-*, event handlers, …).