Skip to content
Menu

Scroll

Curtain scroll reveal

Curtain scroll reveal: A row of images that each uncover from behind a sliding curtain mask as scroll progress carries them into view, and re-cover when they scroll back out.

Using Curtain scroll reveal

Curtain scroll reveal uses the wide preview frame with a dark theme setting.

Customize the preview

These controls are passed to the demo. Defaults and limits describe the preview; consult the implementation for its full prop API.

ControlTypeDefaultPreview limits
revealDirectionselectbottomOptions: bottom, top, left, right
imageCountnumber3From 2 to 5; step 1
settleScalenumber1.1From 1 to 1.3; step 0.05
Which frameworks are available for Curtain scroll reveal?

Curtain scroll reveal is available for React, Vue, Svelte, Astro, HTML. The live preview uses React; the source observations below apply to index.tsx. Check the selected port before relying on the same interactions.

What does Curtain scroll reveal depend on?

The React metadata lists these npm dependencies beyond React: motion.

What accessibility details are visible in Curtain scroll reveal?

The React source for Curtain scroll reveal includes: attributes and handlers (aria-hidden). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.

How does Curtain scroll reveal handle reduced motion?

Curtain scroll reveal reads the motion preference in its React source through useReducedMotion(). Preference-dependent expressions in index.tsx: coverStyle: reduce ? { display: "none" } : horizontal ? { x: shift } : { y: shift }; reduce ? undefined : { opacity: captionOpacity, y: captionY }; reduce ? undefined : { scale }. Check the full implementation, shared styles and selected port with reduced motion enabled; these observations do not establish that every animation stops.

Connect your agent

Related open components