PRO

Image Reveal

A scroll-powered stack of images that dissolve into each other: a clip-path wipes each frame away to expose the next, and a band of randomized ASCII characters scatters across the seam as it travels. Pinned GSAP ScrollTrigger with Lenis; owns its scroll container so it embeds anywhere.

Component

Scroll down to decode the craft

The rest is under NDA

Install
npx shadcn@latest add https://ui.aryank.space/r/image-reveal.json

Installs from ui.aryank.space. To add it by hand, copy the files in Usage below, or register the @compronents namespace via the docs.

Files

API
PropTypeDefaultDescription
imagesstring[]img-1…5 (Compronents assets)Stacked images, revealed top to bottom as you scroll.
introTextstring"Scroll down to decode the craft"Copy shown in the intro panel.
outroTextstring"The rest is under NDA"Copy shown in the outro panel.
dissolveColorstring"#ff6426"Color of the dissolve characters.
dissolveCellSizenumber16Size of each dissolve cell, in px.
embeddedbooleantrueOwn an internal scroll container (true) or use the window scroll (false).
Customize
dissolveColorcolor

Color of the scattering dissolve characters.

dissolveCellSizetext

Cell size in px; smaller is fine static, larger teletext.

introText / outroTexttext

Copy in the intro and outro panels.

imagesasset-url

Stacked frames, hosted through https://ui.aryank.space/assets/image-reveal/img-1.jpg and the numbered set.

Dependencies
gsaplenis