Connor Adams · Design System

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

PropTypeDefaultDescription
label*ReactNode
value*ReactNode
hintReactNode
deltaReactNodeSigned string, e.g. "+12%" or "-$340".
metricKindMetricKind | undefinedgain