# Slat Shutter Hero

> A scroll-driven hero. The first photo is cut into vertical slats that part from the centre outwards to reveal a second full-bleed scene, while the two-line headline hands over line by line. Pass any two images, both headlines, the slat count and the scroll length. Built with Motion and Tailwind, and it falls back to a still hero when reduced motion is on.

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

## Install

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