Data | StatTile
StatTile#
Description#
Data card that displays a value alongside its label, with optional icon, hint text and a slot to customize the value presentation.
Props#
label(string) — Name of the data. Required.value(string | number) — Value to display. Required.hint(string) — Hint text below the value.icon(string) — Theme icon name, shown next to the label.iconType('icon' | 'symbol') — Icon type. Default:'symbol'.
Slots#
value— Customizes the value presentation.default— Additional content inside the card.
Usage#
| |
Notes#
- The value is truncated if too long; the
titleattribute reveals the full text on hover. - In narrow columns the icon hides automatically to prevent the number from overflowing.
icononly renders when the container is at least 8rem wide.