ShowcaseMotion
Depth Slider
Full-bleed hero whose cut-out subject stands in front of the title; slides change with a wave of surf.
About the Showcase Depth Slider
A campaign hero in the manner of a travel poster: a full-bleed photograph with its title set huge behind the person in it (the photograph's subject, cut out, stands in front of the letters), a frame of hairlines, a top bar, the slide number in outline, Prev and Next on a progress line and a round watch link. The next slide comes in like the tide: a wave edge with a line of foam crosses the stage and leaves the new photograph behind it while the photographs drift with it, the old letters sink and the new ones rise behind the subject. On a mouse the title floats against the photograph, so the subject seems to stand clear of it. Swipe, drag, the arrow keys and Prev and Next move it; autoplay holds on hover, on focus, off screen and with the motion pause, and under reduced motion slides cross-fade. Set in Poppins, white on the photograph. Client component.
It is part of Showcase: a standalone showpiece with its own type, palette and pictures. The style’s 5 pieces share one set of tokens, type and motion, in a light and a dark theme, so whatever you take from it fits together.
To put it in your project, copy the prompt into Claude Code, OpenAI Codex or Cursor, or add it by hand. The documentation walks through both.