
N° 0972 · overlay
Spotlight Tour is a modal animation. It responds to click, keyboard, focus trap and scroll. Palettes: On air, Studio, Mint, Late show and Sky.
One fixed SVG covers the viewport: a rect filled with the scrim, masked by a white rect minus a black rounded rect (rx 12) for the hole. Targets are the block's [data-tour] elements sorted by value, each with data-tour-title and data-tour-text. Each step scrolls the target into view (block center) and tweens the hole's x, y, width and height over 380 ms with an ease-in-out cubic, reading the target's live rect on every frame; while the tour runs a frame loop keeps the hole on its target through scrolling, resizing and layout shifts; the first step opens from the full viewport. The card is role=dialog aria-modal with Tab cycling inside it; Escape or End tour fades the scrim out in 200 ms and returns focus to the Start button. Events tr:step { index } and tr:end bubble from the block.
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.

N° 0972 · overlay

N° 0971 · overlay

N° 0970 · overlay

N° 0817 · overlay

N° 0816 · overlay

N° 0814 · overlay

N° 0813 · overlay

N° 0409 · overlay

N° 0412 · overlay

N° 0416 · overlay

N° 0418 · overlay

N° 0422 · overlay

N° 0837 · text

N° 0835 · button

N° 0834 · button

N° 0817 · overlay