Count Up
Eases a number to its target the first time it's seen.
motionscroll
Customize
To1234
Duration1.6s
Decimals0
Prefix
Suffix
Thousands separator
Props
| Prop | Type | Default | Description |
|---|---|---|---|
to* | number | — | Target value. |
from | number | 0 | Starting value. |
duration | number | 1.6 | Tween duration in seconds. |
decimals | number | 0 | Decimal places. |
prefix | string | — | Leading string, e.g. "$". |
suffix | string | — | Trailing string, e.g. "+". |
separator | boolean | true | Group thousands with commas. |