Back to Components
Display
Number Counter
Animates from a starting number to a target value using requestAnimationFrame. Supports prefix, suffix, decimals, and multiple easing functions.
0
Users
0.0%
Uptime
$0
Revenue
Dependencies
- clsx
- tailwind-merge
Files
- components/ui/number-counter.tsx
Installation
Using shadcn CLI
npx shadcn add number-counter --url https://ui.hampton.ioManual installation
Copy the component file to your project and install dependencies:
npm install clsx tailwind-merge