StatisticCard
Compact statistic with a value, supporting label and optional caller-colored icon. The value color accepts a Tailwind text color class or a CSS variable. Missing values display N/A, and loading replaces the whole card with a skeleton. All examples use synthetic data.
Playground
Live preview
- 1,284
Color and duotone icons
Default / missions
- 128
Guild / rewards
- 42
Warning CSS variable / wallet
- 12
Hunter / people
- 256
States
Real zero
- 0
N/A
- N/A
Loading skeleton
No icon
- 128
Code
<StatisticCard label="Pending rewards" value="12" titleColor="var(--color-status-warning-foreground)" icon={<GamificationMetricWallet className="size-8" />} />Used in
Includes use through shared UI components.
AppBack Office
