Count Up

Numbers that count up when they scroll into view, server-rendered for SEO.

gsapMIT · free
12,480+

developers

98.6%

uptime

$2.4M

raised

Installation

npx shadcn@latest add https://ombakui.com/r/count-up.json

Usage

import { CountUp } from "@/components/count-up";

<CountUp value={12480} suffix="+" />
<CountUp value={98.6} decimals={1} suffix="%" />

Props

PropTypeDefaultDescription
value*number–Final number.
fromnumber0Starting number.
decimalsnumber0Decimal places.
prefixstring–
suffixstring–
localestring"en-US"Locale for separators.
durationnumber2Seconds.
asElementType"span"HTML tag.
classNamestring–