0requests served this month
components/count-up

CountUp

Counts a number up to its target with an ease-out, prefixed and suffixed.

Usageimport { CountUp } from "./CountUp";
1import { CountUp } from "./CountUp";
2 
3<CountUp />

Copy the source with the toolbar’s copy button — or open the Code pane to select it by hand — then paste the file into your project. It is self-contained, with no registry metadata and no dependencies (Tailwind classes required).

Props

PropTypeDefault
valuestring12800
prefixstring
suffixstring
decimals0 | 1 | 20
duration600 | 1200 | 24001200
labelstringrequests served this month