# Story Viewer

> A full-screen, story-style viewer: tap the edges to move between segments, press and hold to pause, swipe sideways to jump between stories, and swipe down to dismiss with the whole card shrinking and fading under your finger. Every frame gets a slow continuous zoom (a "Ken Burns" effect) that keeps running even while paused, so nothing on screen ever looks like a frozen screenshot.

- Author: [Holo](https://21st.dev/@vovalopuh13)
- License: mit
- Tags: Carousel, Media, Mobile
- npm dependencies: gsap, @gsap/react, lucide-react, framer-motion
- Live preview: https://21st.dev/@vovalopuh13/components/story-viewer

## Install

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