@orangecheck/ui / StatItem
Interface: StatItem
Defined in: stat-grid.tsx:3
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
<a id="property-accent"></a> accent? | boolean | When true, value is rendered in primary tone (use for headline metric). | stat-grid.tsx:11 |
<a id="property-label"></a> label | string | Short uppercased label rendered in mono. | stat-grid.tsx:5 |
<a id="property-sub"></a> sub? | string | Optional secondary line · USD conversion, "last 30 days", etc. | stat-grid.tsx:9 |
<a id="property-tone"></a> tone? | "primary" | "muted" | "warning" | "success" | "destructive" | "default" | Optional tone for the value (overrides accent). | stat-grid.tsx:13 |
<a id="property-value"></a> value | string | Primary value · already formatted as a string. | stat-grid.tsx:7 |