A dashboard sidebar that collapses from a labelled list to a slim icon rail: the width eases, labels fade and slide away a beat before the edge arrives, and the active item's accent pill shrinks to a dot. Collapsed items show their label as a tooltip on hover.
`#nav { width: var(--w) }` transitions 0.3 s `cubic-bezier(.2,.8,.2,1)` between 240 px and 68 px. Labels have `opacity` and `translateX(−8px)` transitions that run 0.15 s with no delay when collapsing and a 0.15 s delay when expanding, so text is never clipped against the moving edge. The active pill's background is on the item, and its width follows the panel.
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.