Pass the end value.
signups-stat.tsx
CountUp
<span>| Prop | Type | Default | Description |
|---|---|---|---|
| from | number | bigint | 0 | The number it shows before the count. Default: 0. |
| to | number | bigint | — | The number it counts to. A smaller to counts down. A new to counts on from the shown value. |
| locale | string | — | The BCP 47 locale of the digits and marks ("de-DE"). Default: the DisplayLocaleProvider locale, else "en-US" (useDisplayLocale). Never the browser language, so a server render and the first browser render write the same number. |
| format | NumberFormatOptions | — | The options of Intl.NumberFormat (style, currency, notation, the fraction digits, signDisplay, and the others). The count shows every number in the format of to: its symbols and fraction digits, so 0 → "$2.4M" counts "$0.0M", "$0.1M", … "$2.4M". |
| duration | number | COUNT_UP_DURATION | The length of the count in ms. Default: 1600. |
| ease | Easing[] | Easing | EASE_PANEL | The curve of the count: a Motion easing name ("linear", "easeOut", "circOut", "backOut") or a cubic-bezier array. Default: ease-panel (0.2, 0.4, 0.2, 1), which starts at once and slows evenly into the last digit. |
| delay | number | 0 | The wait in ms between the trigger and the count. Default: 0. |
| trigger | "in-view""manual""mount" | "in-view" | What starts the count. in-view (the default): half of the number is in the viewport. mount: at once. manual: when start is true. |
| start | boolean | false | With trigger="manual": true starts the count, false shows from again. |
| once | boolean | true | With trigger="in-view": true (the default) counts the first time only. False shows from again when the number leaves the view, and counts again when it comes back. |
| on | — | Runs when the count reaches to. | |
| ...props | <span> attributes | — | Every other attribute goes to the <span>, with a ref. |



