Summer pricing is live: save $50 on Starwind Pro lifetime access.

Effect 3 - Counting Number

Pro

An accessible counting number effect with reduced-motion support, lifecycle-safe controls, and smooth CSS counter transitions.

Upgrade to Pro

Counting Number Effect

Smooth animated counters that transition between values using CSS custom properties.

Revenue Growth
$1250000
Active Users
50000+
Success Rate
99%
Projects Completed
847
Loading code...

Starwind Dependencies

Sign in to view code and copy install commands.

Sign in

This component requires Starwind Pro.

Get lifetime access to all premium components, updates, and priority support.

Upgrade to Pro

Failed to load code. Please try again.

Code

Usage
<Effect3
  start-value={0}
  end-value={1250000}
  duration={1.5}
/>

Props

proptypedefaultdescription
startValue number 0 Starting value for the counter.
endValue number required Target value the counter animates toward.
duration number 1 Animation duration in seconds.
prefix string undefined Text displayed before the animated number.
suffix string undefined Text displayed after the animated number.
group string undefined Group name used to coordinate counter toggle events.