
Description
React Slot Counter is a React component that shows numbers and text as animated, slot-machine style digits. You import SlotCounter and pass it a value, and when the value changes only the characters that changed animate, unless you choose to animate all of them. The value can be a number, a string or JSX elements. Version 3.0.0 added a speed prop to tune the animation and a delay prop that staggers the start of each column. Other props control duration and how unchanged characters behave, and the README has a props table listing each option with its type and default. A live demo page shows the component in action, and the quick installation section gives the install command. It is aimed at developers who want a counter in their web app to feel lively without writing the animation themselves. The source is public on GitHub.…
Highlights
- Animated slot-style digits for numbers and text
- Animates only the characters that change
- speed and delay props added in version 3.0.0
- Accepts numbers, strings and JSX elements
- Live demo and full props table in the README
Ratings & Reviews
No ratings yet
Be the first to rate react-slot-counter.
People also visit

react-native-animated-numbers
Module that shows number changes through simple animation
react-slot-counter FAQ
What does React Slot Counter do?
It displays a value as animated digits, like a slot machine. When the value changes, only the characters that changed animate.
What can the value be?
The README says the value can be numbers, strings or JSX elements, so you can show text or custom elements as well as figures.
How do I control the animation?
Props such as duration, speed, delay and animateUnchanged control timing and whether unchanged characters animate. The README has a full props table.
Is it free to use?
The source is public on GitHub. Check the repository for its license terms before using it in a paid product.
What are the best react-slot-counter alternatives?
Popular alternatives to react-slot-counter include react-native-animated-numbers, @leenguyen/react-flip-clock-countdown and number-flow. See all react-slot-counter alternatives


















