No Preview

Sorry, but you either have no stories or none are selected somehow.

If the problem persists, check the browser console, or the terminal you've run Storybook from.

Number Scroller

Number Scroller Component.

0
NameDescriptionDefaultControl
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
-
step
Customize the increment amount between each scroll.
number
1
timeout
How long it should take for the number to reach its 'to' value.
number
1000
to
The value that it should scroll to.
number
0

Stories

Basic Count Up

62

Basic Count Down

38

Delayed Reaction

0

Count Slow

6

Custom Increment

5.28

Custom Increment Decimal Places

1.6

Handle Na N

0

Handle Strings

0

To Locale String

$62.00