# Animated Number Flip

> The Animated Number Flip component brings a sleek, odometer-like animation to number changes, making dashboards, reports, or pagination feel more dynamic and engaging. Instead of numbers simply updating, each value flips with a smooth slot-machine style motion that immediately draws attention to the change. Built with Framer Motion and styled using shadcn/ui, it integrates naturally into both dark and light themes while maintaining a professional look. Its responsive and reusable design makes it ideal for showing page numbers, key performance metrics, or live data updates in any modern web application.

- Author: [Ruixen UI](https://21st.dev/@ruixen.ui)
- Library: [Ruixen UI](https://21st.dev/@ruixen.ui/library/ruixen-ui)
- License: unknown
- npm dependencies: framer-motion
- Live preview: https://21st.dev/@ruixen.ui/components/animated-number-flip

## Install

```bash
npx shadcn@latest add "https://21st.dev/r/ruixen.ui/animated-number-flip?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
