PRO

Inversa Scroll

A pinned hero that inverts through a masked window on scroll: the photo parallaxes up while an SVG slat-mask shrinks to punch a window through a dark overlay, the image desaturates inside it, a wireframe grid and pulsing markers fade in, copy blocks slide past, and a progress bar fills — then it re-opens to color. GSAP ScrollTrigger + Lenis.

Component

Anchor Field

Drift Field

Location Framework

Coordinate Mapping

Terrain data is interpreted through directional vectors. Movement responds to relative position rather than absolute distance.

Active Locations

Key points are indexed within the field. Each location functions as a reference for spatial alignment and transition logic.

Spatial Center

The system converges toward a balanced focal region. Motion decelerates as positional variance reaches equilibrium.

The system has reached its final spatial state.

Install
npx shadcn@latest add https://ui.aryank.space/r/inversa-scroll.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
heroImagestring"…/inversa-scroll/hero-img.jpg"Parallaxing hero photo, masked and desaturated on scroll.
maskImagestring"…/inversa-scroll/mask.svg"SVG mask scaled to open / close the inverted window.
gridImagestring"…/inversa-scroll/grid-overlay.svg"Wireframe grid SVG that fades in over the window.
titlestring"Location Framework"The big headline in the first copy block.
blocks[InversaBlock, InversaBlock, InversaBlock]Coordinate Mapping / …The three { heading, body } blocks that slide past.
markers[InversaMarker, InversaMarker]Anchor / Drift FieldTwo { label, color, top, left } pulsing markers.
outroTextstring"The system has reached…"Copy in the closing panel.
dark / lightstring"#141414" / "#ffffff"Backdrop/overlay color and text/foreground color.
embeddedbooleantrueOwn an internal scroll container (true) or use the window scroll (false).
Customize
markers[].colorcolor

The two pulsing location-marker colors.

darkcolor

Backdrop and overlay color.

title / blocks / outroTexttext

The headline, the three sliding copy blocks, and the outro.

heroImage / maskImage / gridImageasset-url

Hosted through https://ui.aryank.space/assets/inversa-scroll/hero-img.jpg and the mask / grid SVGs.

Dependencies
gsaplenis