PRO

Scroll Wave Gallery

A vertical column of photographs that sway as they scroll. Each frame rides a sum of three sine waves, a slow base swing, a faster flow, and a fine detail jitter, drifting left and right while its clip-path pinches inward at the center of the viewport. The last quarter of the set shrinks for a sense of recession. Per-image GSAP ScrollTriggers with Lenis; owns its scroll container so it embeds anywhere.

Component

Loose Structure

Crafted by BLANK

Install
npx shadcn@latest add https://ui.aryank.space/r/scroll-wave-gallery.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[]12 Compronents-hosted JPGsFrames stacked top to bottom through the scroll.
introText / outroTextstring"Loose Structure" / "Crafted by BLANK"Headings shown in the intro and outro panels.
background / textColorstring"#e3e4d8" / "#000000"Page background and heading ink.
waveStrengthnumber1Scales the horizontal sway; 0 holds the column straight.
clipMaxnumber20Maximum edge pinch at the center crossing, in percent.
embeddedbooleantrueOwn an internal scroll container (true) or use the window scroll (false).
Customize
background / textColorcolor

Page surface and the intro / outro heading ink.

introText / outroTexttext

The two headings that bookend the gallery.

waveStrength / clipMaxtext

Sway amplitude and the maximum center pinch in percent.

imagesasset-url

Twelve frames hosted through https://ui.aryank.space/assets/scroll-wave-gallery/img-1.jpg and the numbered set.

Dependencies
gsaplenis