Skip to content
motionprompts motionprompts

Frame Collapse Reveal

GSAP animation component · Published 2026-08-17 · by vanguardia.dev

Open live demo ↗ Download source

What it does

A rounded frame contracts from the edges of a sticky section down to the size of a centre window; the full-bleed photograph behind it then fades out, and because that window carries the same shot at the same screen coordinates, the picture appears to shrink into the rectangle without a single pixel moving. Only once the fade finishes do six slabs slide out from behind the window, innermost first, and lock in place. Welded to scroll (`scrub: true`), no lag.

How it's built

Categoryscroll
Techgsap, lenis
GSAP pluginsScrollTrigger
Complexitypage
Performance costlight
Mobile-safeyes
Scrollhijacks scrolling

scroll scrub sticky frame crossfade image-reveal cards glassmorphism cinematic black-and-white lenis

Rebuild it with AI

This component's prompt is part of the paid library. Below you can read how it starts; the full prompt, the exact structure, timing and easing an AI agent needs to rebuild the effect, unlocks with any paid plan, yearly or lifetime.

Prompt coming soon.

New components in your inbox

One email a week, only when new components ship, each with its live demo and prompt.