Storybook
/
DefaultBasic Count UpBasic Count DownDelayed ReactionCount SlowCustom IncrementCustom Increment Decimal PlacesHandle Na NHandle StringsTo Locale String
  1. Recently opened
  2. Back to componentsESC
  3. Clear history
NameDescriptionDefaultControl
to
The value that it should scroll to.
number
0
step
Customize the increment amount between each scroll.
number
1
decimalPlaces
Calculates decimal.
number
-
delay
Time in milliseconds to delay the start of the number scroll.
number
0
fallback
Provide a default value to display if to is ever undefined.
number
0
from
Provide the starting number before number scroll animation.
number
0
toLocaleStringProps
Provide options for converting number to a localized string (such as currency).
[string, any]
-
renderFrequency
Instead of a timeout, specify the exact number of milliseconds between each scroll.
number
-
timeout
How long it should take for the number to reach its 'to' value.
number
1000