Counter
A numeric input control featuring increment and decrement buttons, smoothly animating number transitions using the SlidingNumber component.
Made by imskyleenInstallation
Usage
API Reference
Counter
Animate UI API Reference - Counter PrimitiveProp | Type | Default |
---|---|---|
value? | number | - |
defaultValue? | number | - |
onValueChange? | (value: number) => void | - |
transition? | Transition | { type: "spring", bounce: 0, stiffness: 300, damping: 30 } |
...props? | HTMLMotionProps<"div"> | - |