StatCard.
A ready-to-use metric card.
Monthly active users
+18.2%From last month
The preview uses the actual shared component, including your current theme, rounding, border and motion preferences.
Props & API reference
Parameters available in the shared component, including value types, requirements and accepted options.
| Parameter | Type | Required | Default | Possible values | Description |
|---|---|---|---|---|---|
label | string | Yes | — | — | Name of the metric. |
value | string | number | Yes | — | — | Value shown prominently. |
delta | string | No | — | — | Optional change indicator text. |
description | string | No | — | — | Supporting metric detail. |
icon | IconName | No | — | Browse /icons | Optional shared Lucide icon. |
className | string | No | — | — | Additional CSS class on the outer component element. |