# Infinite Stacked Image Gallery

> Infinite stacked image gallery for a portfolio or studio's selected work: shots stand in a deck that recedes up the screen, each smaller and darker than the one in front, and loop forever as the front shot falls away and the next comes forward on a spring. Pinned to page scroll by default so it never traps the page, or wheel-driven full screen, or buttons only. Drag and swipe, arrow keys, click a back shot to bring it forward, a rotating View case badge, live caption with client, year and tags, optional autoplay, light and dark.

- Author: [Kedhareswer Naidu](https://21st.dev/@kedhareswer)
- License: mit
- Tags: Carousel, Gallery, Interactive, Portfolio, Scroll
- Live preview: https://21st.dev/@kedhareswer/components/infinite-shot-stack

## Install

```bash
npx shadcn@latest add "https://21st.dev/r/kedhareswer/infinite-shot-stack?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/carousel.md
