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
| Prop | Type | Notes |
|---|---|---|
| label | string | Stat Label |
| value | string | any | Stat Value |
| info | string | Stat Info |
| children | React.ReactNode | Custom Stat |
| className | string |