pnpm dlx shadcn@latest add https://ui.saturation.io/r/animated-number.jsonTailwind v4 — Source Scanning
Saturation UI copies component source into your project via the shadcn registry (no npm package). If Tailwind v4 isn't scanning your components directory, add this to your CSS entry file:
@source "../components";This ensures all utility classes in CVA variants and data attribute selectors are included in your build.
import { AnimatedNumber } from "@/components/ui/animated-number"<AnimatedNumber value={1234} />Load Budget
980,100Loads from 99% of target with a gradual animation
| Prop | Type | Default | Description |
|---|---|---|---|
value* | number | — | The target number to animate toward. |
className | string | — | Additional CSS classes. |
springOptions | SpringOptions | — | Motion spring configuration for the animation. |
as | React.ElementType | span | The HTML element type to render. |
Total Amount
Total Views
1,234,000Score
0