live · mainnetoc · docs
specs · api · guides
docs / documentation

@orangecheck/ui


@orangecheck/ui / StatItem

Interface: StatItem

Defined in: stat-grid.tsx:3

Properties

PropertyTypeDescriptionDefined in
<a id="property-accent"></a> accent?booleanWhen true, value is rendered in primary tone (use for headline metric).stat-grid.tsx:11
<a id="property-label"></a> labelstringShort uppercased label rendered in mono.stat-grid.tsx:5
<a id="property-sub"></a> sub?stringOptional 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> valuestringPrimary value · already formatted as a string.stat-grid.tsx:7