PRO

Aperture Zoom Hero

A pinned hero that pushes a window frame toward the camera on scroll: the frame and header scale up and translate in Z while a tall sky image pans behind them, then a closing headline rises into place as the zoom settles.

Component

What unfolds here is not a scene, but a duration. A sustained moment where scale dissolves, edges soften, and perception lingers longer than expected. The frame holds steady while the world behind it shifts.

An aperture into stillness

A constructed moment, suspended between form and vastness. Light, surface, and scale are carefully arranged to suggest movement without urgency, presence without intrusion.

Observation Mode

Where distance becomes a presence

End of view.

Install
npx shadcn@latest add https://ui.aryank.space/r/aperture-zoom-hero.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
skyImagestringBLANK-hosted JPGTall backdrop that pans as the frame zooms.
windowImagestringBLANK-hosted PNGWindow frame overlay that scales toward the camera.
embeddedbooleantrueOwn the scroll container; set false to ride the window scroll.
Customize
skyImage / windowImageasset-url

The panning backdrop and the zooming frame overlay.

leftHeading / rightHeading / copyTexttextarea

The layered hero copy.

Dependencies
gsaplenis