Loading component…
Components /Animated Number
Smooth numeric transitions
Run the following command
npx shadcn@latest add https://raw.githubusercontent.com/Ashutoshx7/VengeanceUI/main/public/r/animated-number.json| Prop Name | Type | Default | Description |
|---|---|---|---|
| value | number | 0 | The target number to animate to. |
| duration | number | 1 | Duration of the animation in seconds. |
| className | string | - | Additional CSS classes. |
| formatter | (value: number) => string | - | Custom formatting function for the displayed number. |