data
StatCard
Example
Total Spending
$3,240.00
+$340
Total Income
$8,500.00
vs. last month
+$650
Import
import { StatCard } from '@connor-adams/designsystem'Props
| Prop | Type | Default | Description |
|---|---|---|---|
| label* | ReactNode | — | |
| value* | ReactNode | — | |
| hint | ReactNode | — | |
| delta | ReactNode | — | Signed string, e.g. "+12%" or "-$340". |
| metricKind | MetricKind | undefined | gain |