Skip to content

Glass MeridianMotion

Animated Number Counter

Counts a number up or rolls it like an odometer as it comes into view; its final width is reserved.

Live, interactive React component · light themeResponsive

About the Glass Meridian Animated Number Counter

A number that counts up, or rolls digit by digit like an odometer (variant="roll"), when it comes into view. roll is the kit's way to show a figure: each digit slides into place while signs, separators and units stand still; Stats, ProductMock and the hero figures use it with duration={1200}. The server HTML holds the final value, the width of the final value is reserved, and screen readers only get the final value. Client component.

It is part of Glass Meridian: daylight sky, frosted glass, one blue line. The style’s 92 pieces share one set of tokens, type and motion, in a light and a dark theme, so whatever you take from it fits together.

To put it in your project, copy the prompt into Claude Code, OpenAI Codex or Cursor, or add it by hand. The documentation walks through both.

The same piece, drawn for a different look. Open one to compare it live.

Aeris Animated Number Counter

Counts a number up or rolls it like an odometer as it comes into view; its final width is reserved.

Bavaria Animated Number Counter

Counts a number up or rolls it like an odometer as it comes into view; its final width is reserved.

Grove Animated Number Counter

Counts a number up or rolls it like an odometer as it comes into view; its final width is reserved.

Neo-Brutal Animated Number Counter

Counts a number up or rolls it like an odometer as it comes into view; its final width is reserved.

Noir Aurora Animated Number Counter

Counts a number up or rolls it like an odometer as it comes into view; its final width is reserved.

Soft Bento Animated Number Counter

Counts a number up or rolls it like an odometer as it comes into view; its final width is reserved.