Public beta opens in
0200123456789201234567890123456789Days
:
1410123456789401234567890123456789Hours
:
3730123456789701234567890123456789Minutes
:
0900123456789901234567890123456789Seconds
Duration
0.7s
Bounce
0.2
Stagger
0.04s
Fade
0.3em
Value
1284
Font Size
120px
Font Weight
600
Gap
0px
Decimals
0
Min Digits

More components in Pro

Galleries, cards and interactive pieces for pages that need more than the basics.

View all 255
23 properties
valueThe number to show. Digits roll to every new value.
locale'en-US'Locale used for separators, symbols and numerals.
formatIntl.NumberFormatOptionsFormatting options such as currency, percent, units or compact notation.
decimalsFixed number of decimal places. Leave it out to use the format defaults.
minDigitsPads the whole part with leading zeros.
prefixReactNodeContent shown before the number.
suffixReactNodeContent shown after the number.
direction'auto' | 'up' | 'down' | 'shortest''auto'Which way digits roll. Auto rolls up as the number grows and down as it shrinks.
duration0.7Roughly how long a roll takes, in seconds.
bounce0.2How much digits overshoot before settling, from 0 to 0.9.
stagger0.04Delay in seconds between neighbouring digits, so changes ripple from the right.
motionBlurBlurs digits along their path while they spin fast.
Spins every digit once and lands it when the counter first scrolls into view.
fade0.3How far in em digits roll beyond the text before fading out. 0 clips them at the edge.
fontSizenumber | string100Font size in px, or any CSS size such as inherit.
fontWeightnumber | string'inherit'Font weight of the number.
textColor'inherit'Color of the number.
gapSpace between digits and symbols in px.
paddingExtra height in px added to each digit, which also spaces out rolling digits.
tabularKeeps every digit the same width. When off, widths ease between digits as they roll.
digitStyleStyles for each digit box, for example a tile background with padding and radius.
Extra class names for the root.
Inline styles for the root.
valuenumber

The number to show. Digits roll to every new value.

localestring

Locale used for separators, symbols and numerals.

Default'en-US'
formatIntl.NumberFormatOptions

Formatting options such as currency, percent, units or compact notation.

decimalsnumber

Fixed number of decimal places. Leave it out to use the format defaults.

minDigitsnumber

Pads the whole part with leading zeros.

prefixReactNode

Content shown before the number.

suffixReactNode

Content shown after the number.

direction'auto' | 'up' | 'down' | 'shortest'

Which way digits roll. Auto rolls up as the number grows and down as it shrinks.

Default'auto'
durationnumber

Roughly how long a roll takes, in seconds.

Default0.7
bouncenumber

How much digits overshoot before settling, from 0 to 0.9.

Default0.2
staggernumber

Delay in seconds between neighbouring digits, so changes ripple from the right.

Default0.04
motionBlurboolean

Blurs digits along their path while they spin fast.

introboolean

Spins every digit once and lands it when the counter first scrolls into view.

fadenumber

How far in em digits roll beyond the text before fading out. 0 clips them at the edge.

Default0.3
fontSizenumber | string

Font size in px, or any CSS size such as inherit.

Default100
fontWeightnumber | string

Font weight of the number.

Default'inherit'
textColorstring

Color of the number.

Default'inherit'
gapnumber

Space between digits and symbols in px.

paddingnumber

Extra height in px added to each digit, which also spaces out rolling digits.

tabularboolean

Keeps every digit the same width. When off, widths ease between digits as they roll.

digitStyleCSSProperties

Styles for each digit box, for example a tile background with padding and radius.

Extra class names for the root.

Inline styles for the root.