Components
Stat

Stat

A responsive Stat component.

Total Subscribers2,300+10% from last month
Avg. Open Rate56%+3% from last month
Avg. Click Rate24%-2% from last month
Total Views500+3% from last month

Usage

import { Stat, StatList } from '~/components/stat';
import { Stat, StatList } from '~/components/stat';
<StatList>
  <Stat label="Total Subscribers" value="2,300" />
  <Stat label="Avg. Open Rate" value="56%" />
</StatList>
<StatList>
  <Stat label="Total Subscribers" value="2,300" />
  <Stat label="Avg. Open Rate" value="56%" />
</StatList>

API Reference

Stat

Display a Stat

PropTypeNotes
labelstringStat Label
valuestring | anyStat Value
infostringStat Info
childrenReact.ReactNodeCustom Stat
classNamestring