
N° 0967 · button
Copy Button is a button click animation. It responds to click, clipboard and announce. Palettes: Docs, Terminal, Paperback, Cobalt and Berry.
click awaits navigator.clipboard.writeText(code.textContent); on success .is-copied crossfades the copy icon out and the check in (scale 0.6 → 1 with a slight overshoot), turns the chip edge green, shows the tooltip and writes 'Copied: <command>' into the chip's role=status region, all cleared after 1500 ms. On failure it selects the code with a Range, tries document.execCommand('copy'), and if that also fails shows 'Selected: press ⌘C' (or Ctrl+C) for 3 s. The $ prompt is a ::before with user-select: none, so neither path copies it.
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° 0967 · button

N° 0966 · button

N° 0835 · button

N° 0833 · button

N° 0386 · button

N° 0388 · button

N° 0391 · button
N° 0394 · button

N° 0431 · nav

N° 0416 · overlay

N° 0418 · overlay

N° 0422 · overlay

N° 0967 · button

N° 0835 · button

N° 0814 · overlay

N° 0921 · mockups