# Airplane Window Gallery

> Airplane window image gallery for React and Tailwind CSS (shadcn/ui), with rising shades, changing destinations, and a full-bleed scenery zoom. It is built to let visitors fly out through the window and back to their seat. Two cabin windows show seat numbers, place names, and countries. Click a window to travel through its glass into a stage-filling landscape with a title, location, and caption; click anywhere, press Escape, or choose Sit back to return to the same seat. The seven-second guided demo reveals the scenery, changes a destination, flies out, and returns to the cabin. Includes Replay and Pause controls in the demo, two to five windows, configurable timing and scenery drift, controlled or click-driven viewing, semantic theme colors, and reduced-motion support. Use it for travel, airline, booking, and destination gallery pages. Automatic destination changes are opt-in in the reusable component.

- Author: [DHxWhy](https://21st.dev/@dhxwhy)
- License: mit
- Tags: Gallery, Image, Carousel, Animation, Travel
- Live preview: https://21st.dev/@dhxwhy/components/airplane-window-gallery

## Install

```bash
npx shadcn@latest add "https://21st.dev/r/dhxwhy/airplane-window-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 · More like this: https://21st.dev/community/components/s/gallery.md
