# Fan Gallery

> Photo cards fanned on an arc that you can drag, flick, tap or step with arrows and keys. The fan sizes itself to the screen so every visible card fits with a gap, loops without a seam, autoplays and pauses on hover. The centre card's name and tags sit underneath.

- Author: [Sajad Entesari](https://21st.dev/@sajad)
- License: mit
- npm dependencies: clsx, motion, lucide-react, tailwind-merge
- Live preview: https://21st.dev/@sajad/components/fan-gallery

## Install

```bash
npx shadcn@latest add "https://21st.dev/r/sajad/fan-gallery?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
