Counting Number
A numeric display component that smoothly animates number changes with a counting animation.
0
Installation
Examples
With decimal
0,00
Starting from a specific number
0
Props
Prop | Type | Default |
---|---|---|
number | number | - |
fromNumber? | number | 0 |
padStart? | boolean | false |
startOnView? | boolean | false |
decimalSeparator? | string | . |
transition? | object | { stiffness: 90, damping: 50 } |
decimalPlaces? | number | 0 |