react-slot-counter
react-slot-counter copied to clipboard
🚀 Elevate Your UI with Dynamic, Eye-Catching Counters
Is it possible to create infinite counter animation?
I'm currently trying to implement a text gradient effect using `background-clip: text`. However, this effect needs to be applied within the container of the text itself. ![image](https://github.com/almond-bongbong/react-slot-counter/assets/103937206/c3e72ce7-3d47-4c94-81a3-e746deb695e1) ![image](https://github.com/almond-bongbong/react-slot-counter/assets/103937206/160368a6-7733-4f8d-b1a1-967285a19e1c) https://github.com/almond-bongbong/react-slot-counter/blob/0e21537c4f74968686d6fe5347e02572cc1aa313/src/components/Slot.tsx#L147C6-L158C14 I...
I need to increase the number of rotations. Is there any prop?
As an alternative to slowing down the spin speed via the duration mechanic, force the counter to rotate X number of times (going through all numbers and back to 0)...
Basically the behaviour could be that the animation is infinite until stopAnimation is called