# Animated Number Random

> AnimatedNumberRandom – Live Animated Value Display This component visually displays a numeric value and its percentage change using Framer Motion animations. It includes:  Smooth number transitions using spring physics.  Currency and percentage formatting.  Up/down indicator arrow with rotation animation.  A demo mode with a "Generate Random Values" button to test dynamic updates.

- Author: [Sonu](https://21st.dev/@uniquesonu)
- License: unknown
- npm dependencies: lucide-react, framer-motion
- Live preview: https://21st.dev/@uniquesonu/components/animated-number-random

## Install

```bash
npx shadcn@latest add "https://21st.dev/r/uniquesonu/animated-number-random?api_key=$API_KEY_21ST"
```

Requires a 21st API key (generate one at https://21st.dev/mcp) passed as `API_KEY_21ST`. Free accounts get a limited number of installs per day; unlimited on a paid plan — see https://21st.dev/pricing.

Full component directory: https://21st.dev/llms.txt
