Components / component
Four-Panel Image Curtain
Four staggered panels sweep in from alternating edges, then part to reveal the next photograph.

Implementation
Four staggered panels sweep in from alternating edges, then part to reveal the next photograph.
- Framework
- React 19.3.1 with TypeScript
- Motion
- Native CSS and browser APIs. No GSAP required.
- Available modes
- build
- Version
- 1.0.0 · published
Source code
Quality evidence
Export tested in 2 consumer projects with chromium, firefox, webkit. Evidence recorded on .
Changelog
v1.0.0 · Four staggered panels sweep in from alternating edges, then part to reveal the next photograph.
Frequently asked questions
How do I change the curtain direction?
Choose Horizontal to make four bands sweep in from alternating left and right edges. Vertical is the default.
Can I use my own photographs?
Yes. Supply an array of images with src and alt values. Each image can also include a caption.
What happens when reduced motion is enabled?
The gallery still changes photographs with its navigation controls and skips the curtain sweep.