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

The stimeo--count-up controller animates a number from `from` up to the value already written in the DOM, restoring the authored text (separators and suffixes included) verbatim when it settles — so SEO, no-JS, and screen readers always have the real value. Start it any way you like via the start action; the classic trigger is the intersection primitive ("animate when visible"), composed in markup with data-action="stimeo--intersection:enter->stimeo--count-up#start". Under prefers-reduced-motion the animation is skipped entirely, and while running the authored value is kept in aria-label so assistive tech never hears the intermediate numbers. With once (default) a finished run is recorded as data-count-up-done and honored across Turbo cache restores.

running

Scroll the stats into view — each composes intersection (the trigger) with count-up (the animation). The final numbers stay authored in the markup.

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