Stat

Display stats and figures to your users with the <Stat> component; it also supports displaying icons and change values.

Preview

Code

Props

Prop
Description
Required
Value

change

positive/negative number indicating change

optional

integer

icon

optional

string

label

stat label

required

string

loading

toggle the loading spinner

optional

boolean

value

stat value

required

integer or string

Last updated