A layered scene that shifts with the pointer as if you were looking through a window: the sky moves least, the far ridge a little, the near trees most, and a title floats between them. The layers are three stacked images with transparent cut-outs, so any photo split into planes works.
Placeholder photos by Xavier von Erlach on Unsplash. Replace them with your own before launch.
Pointer offset `(dx, dy)` ∈ [−1, 1] from the scene centre lerps at 0.08; each layer gets `translate(dx × depth × 24px, dy × depth × 14px) scale(1 + depth × 0.04)` so near layers are also slightly larger. Depths: sky 0.2, ridge 0.5, title 0.8, trees 1.0. The masks are vertical gradients so the demo works from one image; swap in real cut-out PNGs for production.
From prompt to a block in your page.
The preview is the shipped element inside a neutral demo page. Hover, click, focus: the one interaction it is about is live.
Token sets re-tint it live. The prompt carries the one you chose.
A paste-in snippet, or a component for Next.js, React, Vue, Astro, WordPress, Shopify or Webflow.
It quotes the markup, styles and script verbatim with the tokens and the rules that keep it self-contained.
It inherits your page's font and width; the tokens live on :root; several instances share one script.