Animate UI

Counter

A numeric input control featuring increment and decrement buttons, smoothly animating number transitions using the SlidingNumber component.

Made by imskyleen
Edit on GitHub
00123456789

Installation

Usage

<Counter />

API Reference

Counter

Animate UI API Reference - Counter Primitive
PropTypeDefault
value?
number
-
defaultValue?
number
-
onValueChange?
(value: number) => void
-
transition?
Transition
{ type: "spring", bounce: 0, stiffness: 300, damping: 30 }
...props?
HTMLMotionProps<"div">
-

Built by Skyleen. The source code is available on GitHub.