Animated Counter

An animated number counting component.

npx arupui add animated-counter
Preview
0

Users

0

Uptime %

Usage

animated-counter.tsx
import { AnimatedCounter } from "@/components/blocks/animated-counter"

<AnimatedCounter to={1000} duration={2} />

Props

from
Type: numberDefault: 0
to
Type: numberDefault: -
duration
Type: numberDefault: 2
Theme Editor

Theme

Radius0.5rem
Letter Spacing0em

Colors

light