Components
← All components

Count Up

stimeo--count-up

Animates a number up to the value authored in the markup — typically when it scrolls into view.

  • Core

Adds the effect of a number running up to its final value, in markup alone. The final value stays written in the HTML, so search engines, visitors whose JavaScript never runs, and screen readers always read the real number. When the animation ends the original text comes back exactly as written, thousands separators and units included. What starts the run is yours to choose; the usual choice is "start when it scrolls into view". Visitors who ask for less motion never see the animation and get the final value straight away. Screen readers hear the final value too, never the numbers ticking past. A finished run is remembered, so coming back to the page does not count up again.

running

Scroll down until the stats come into view and the numbers run up. Spotting the moment and animating the number are separate controllers, combined by putting their attributes side by side. The final numbers stay written in the HTML, so the real values show even where JavaScript never runs.

Users
12,480
GitHub stars
3,200
Uptime (%)
99

Keyboard

This component has no keyboard interactions of its own.