Stats
Counts up on first scroll into view, with JS.
defaultProps of default
<Stat value={12480} label="Downloads" />12,480
Downloads
prefixProps of prefix
<Stat value={1.2} prefix="$" suffix="M" label="Spent on kebab this year" tone="secondary" />$1.2M
Spent on kebab this year
percentProps of percent
<Stat value={99.95} suffix="%" label="Uptime over the last 90 days" tone="success" />99.95%
Uptime over the last 90 days
decimalsProps of decimals
<Stat value={4} decimals={1} suffix="/5" label="Average rating, from a long list of reviewers that wraps" tone="warning" />4.0/5
Average rating, from a long list of reviewers that wraps
inlineProps of inline
<Stat value={4.1} suffix="k" inline />4.1k