Components / component

Stats Counters

v1.0.0 · premium

Large figures that count up to their value once they scroll into view.

Stats Counters demo

Implementation

Large figures that count up to their value once they scroll into view.

Framework
React 19.3.1 with TypeScript
Motion
Native CSS and browser APIs. No GSAP required.
Available modes
build
Version
1.0.0 · published

Source code

Download source ZIP
export function StatsCounters({ stats, label, duration = 1800, ink, className }: {
  stats: readonly Stat[];
  /** Accessible name of the group. */

Quality evidence

Export tested in 2 consumer projects with chromium, firefox, webkit. Evidence recorded on .

Changelog

v1.0.0 · Large figures that count up to their value once they scroll into view.

Frequently asked questions

Will screen readers read every number while it counts?

No. The counting text is hidden from assistive technology, and the final figure is read from separate text that is always in the page.

When does the count start?

Once, when the list is 40 percent in view. It slows toward the end so the last digits settle.