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