Odometer
Text
Digits roll; other characters stay still.
Type
Colour
Ground
Motion
About this effect
Odometer rolls each digit through a full turn of 0 to 9 and lands it on its value with a small mechanical overshoot, the columns starting one after another. Prices, stats, counters and launch numbers read as live with it.
Type any figure: digits roll, while currency signs, commas, points and percent signs stay put. Each digit is a masked column of numbers moved with a transform, so it never shifts the layout. Give the first and last digits different colours and the colour runs along the figure from one to the other.
Play it once in view for a stats row, so the numbers land as the reader arrives.
- Formats
- React, HTML
- No dependencies
- Built with
- CSS and a little JS
- Default font Space Grotesk
- Plays
- Loop, In view, On load, Hover
- Reduced motion
- Respected
- Shows the finished frame
Accessibility. The heading is named by the figure itself; the rolling columns are hidden from screen readers. Under reduced motion the digits sit at their values.
Also known as number counter, rolling numbers, animated stats, count up animation, number ticker, slot machine numbers.
Use it in anything you build, client work included, no credit needed. Don’t republish or resell the effect itself.