Loading
Loading
Loading
mobile footer

Build the Interaction Layer Your Website is Missing.

Browse All EffectsBrowse All EffectsBrowse All EffectsUpgrade to ProUpgrade to ProUpgrade to Pro

70+ effects free, forever. No credit card.

© 2026 Hyperiux. All Rights Reserved.

AI Component CatalogueHey AI, Learn About Us
Platform

Vault

  • Documentation
  • Pricing
  • Blog
  • Community
  • NPM
  • MCP

Categories

  • All Effects
  • WebGL
  • Text
  • Backgrounds
  • Buttons
  • Carousels
  • Scroll
  • Components
  • Navigation
  • Cursor
  • Transitions
  • Loaders

Documents

  • Introduction
  • Installation
  • CLI
  • Dependencies
  • License

Legal

  • License Agreement
  • Terms of Service
  • Privacy Policy
  • Refund Policy
Socials
  • Twitter / X
  • LinkedIn
  • GitHub
  • Instagram
Contact Us
  • hello@hyperiux.com
New effects, in your inbox

Every new drop, plus the occasional behind-the-scenes build. No spam. Unsubscribe anytime.

All Effects
Featured ComponentsText AnimationsAnimated BackgroundsAnimated ButtonsCarousel EffectsScroll EffectsCreative ComponentsNavigationsCursor EffectsTransitionsLoadersWebGL & 3D Effects
Templates
IntroductionInstallationCLIDependenciesLicense
PricingBlogGithubNPMMCP Doc
Loading
Home/effects/Number Counter

Number Counter

Give important numbers a visible moment of arrival, so metrics feel noticed without becoming noisy or hard to trust.

GSAP
DemoDemoDemo

Tune the Real Props

Text Color

Counter text color for all three counters.

Overview

Number Counter gives numbers a moment of arrival. Each digit sits in a fixed-width slot and rolls up a 0 to 9 reel to its final value, staggered from left to right, once the counter scrolls into view. The default export shows three cards with the hard-coded values 936, 594 and 246, each with a Replay button; its only props are duration, stagger and textColor, so showing your own figures means editing those values in the source.

Use Number Counter when a number deserves attention: revenue lift, active users, conversion improvement, uptime, launch progress, speed gain, or product adoption. The page job is proof: the animation should make the figure feel noticed, not make it harder to read.

The production risk is credibility. A counter that spins too long, loops forever, or animates every number on the page starts to feel like theatre around evidence. The final value must settle quickly, remain readable as real text, and avoid pretending that decorative motion is data.


Usage Code

page
1import NumberCounter from '@/components/effects/number-counter'2 3const page = () => {4  return (5    <>6      <NumberCounter />7    </>8  )9}10 11export default page

Example Production Use Case

A SaaS landing page can use Number Counter in a proof band below the hero: onboarding lift, deployment time saved, and uptime. The outcome is credibility: the numbers get a controlled beat of attention before the visitor reaches the CTA.


Best Used For

  • Metric bands where a small set of proof points needs emphasis.
  • Launch pages where numbers support the claim without becoming the whole story.
  • SaaS, AI, and developer-tool pages where quantitative proof deserves a visible arrival.

Not For

Not for financial dashboards, compliance tables, legal figures, or analytics screens where exact reading speed matters more than animation.

Not for pages where every number spins. That is not proof; that is a slot machine with a marketing degree.


Performance Budget

Limit animated counters to the numbers that matter, avoid continuous loops, reserve layout width for the final value, and stop animation once the metric has resolved.


Accessibility and Mobile

In the animated version each digit is a column of all ten numerals 0 to 9 with only one visible, and there is no aria-hidden or visually hidden final value, so screen readers and crawlers may read every numeral in the reel. If the figure matters, add a visually hidden span with the final value and mark the reels aria-hidden. With reduced motion enabled, the digits render as plain static numbers with a 420ms fade-in and the Replay buttons are disabled. Mobile gets the same rolling animation as desktop.


Common Mistakes

  • Animating every statistic on the page.
  • Letting the number shift layout as digits change.
  • Making the animation more memorable than the metric.

Changelog

Added reduced-motion support and configurable animation timing.
Initial release

API Reference

PropTypeDefaultDescription
durationnumber1.5Digit roll duration in seconds for all three counters.
staggernumber0.1Delay between digit columns in seconds for all three counters.
textColorstring#021A54Counter text color for all three counters.

Questions, Answered.

When should I use Number Counter?

Use Number Counter when a small number of metrics needs a clear arrival moment: proof bands, launch stats, adoption numbers, or product outcomes.

Should Number Counter loop?

No. Metrics should resolve, settle, and stay readable. Looping proof figures makes them feel decorative instead of trustworthy.

How should Number Counter handle large values?

The default export only shows its three built-in three-digit values, so larger figures, separators or units mean editing the source. Each digit already sits in a fixed-width slot, so the layout does not jump while it rolls, and only the + sign renders as static text; on the second counter every other character becomes a 0-9 reel, so separators such as commas would break it.

Does Number Counter affect SEO?

Be careful. In the animated version each digit is a reel containing every numeral from 0 to 9, so the text a crawler reads is not the clean final value. If the figure matters for search, render the final number and its label as plain text alongside the animation.

What should reduced motion do for Number Counter?

With prefers-reduced-motion set, the component skips the reels and shows each final digit as static text, fades the cards in over 420ms, and disables the Replay buttons.

Can Hyperiux adapt Number Counter for a real brand system?

Yes. A custom version should define number formatting, motion timing, proof hierarchy, accessibility behavior, reduced-motion fallback, source handoff, and implementation notes.

Request a Custom Animation

Need a custom effect? Tell us what to create.

Related Effects

Explore All EffectsExplore All EffectsExplore All Effects
Text Fill Animation
Pro
GSAP

Text Fill Animation

Text

Text Convergence
GSAP

Text Convergence

Scroll

Character Trail
Pro
Vanilla JS

Character Trail

Cursor

Blur Text
Pro
Motion

Blur Text

Text