Components
Sliding Number
Number with sliding effect.
Loading
Installation
pnpm dlx shadcn@latest add https://reui.io/r/sliding-number.json
Examples
Slider
Loading
API Reference
This component is built using Motion primitives and includes the following custom props:
SlidingNumber
Prop | Type | Default |
---|---|---|
from | ||
to | ||
duration | ||
delay | ||
startOnView | ||
once | ||
className | ||
onComplete | ||
digitHeight |
Credits
- Inspired by Motion Primitives
- Built with Motion.