Tally
Text
The first number in the text counts up.
Type
Colour
Ground
Motion
About this effect
Tally is the counter for a stats row or a milestone: the number climbs from zero to your figure, quickly at first and then easing in, and a bar under it fills in step, so you can feel the total being reached. It keeps your number's format, commas and decimals included, and the words round it stay put.
The count is a few lines of script over requestAnimationFrame, the digits are tabular so the line never shimmies, and the number holds the width of its final value from the start. Screen readers hear the final figure only. Without script you get the finished number and a full bar.
Write the figure as you want it shown ("12,480", "99.9%"). Count sets how long the climb takes.
- Formats
- React, HTML
- No dependencies
- Built with
- CSS and a little JS
- Default font Big Shoulders Display
- Plays
- Loop, In view, On load, Hover
- Reduced motion
- Respected
- Shows the finished frame
Accessibility. The heading is named by the final text, so screen readers hear the total once; the counting digits and the bar are hidden from them. Under reduced motion the total and a full bar simply show.
Also known as count up animation, number counter, animated stats, counter text, progress bar text, animated number.
Use it in anything you build, client work included, no credit needed. Don’t republish or resell the effect itself.