
N° 0967 · button
Hold-to-confirm Button is a button click animation. It responds to click, hold, keyboard and confirm. Palettes: Depot, Tarmac, Night ops, Workshop and Rust.
The ring is two SVG circles with pathLength=100; the fill has stroke-dasharray 100 and stroke-dashoffset 100. .is-holding sets the offset to 0 with transition: stroke-dashoffset var(--hold) linear, while a setTimeout of the same --hold (read from the computed style) commits: .is-done swaps the arrow for a check with a small overshoot, slides the label from the action to 'Done', sets aria-disabled and dispatches a bubbling confirm CustomEvent. pointerup, pointercancel, lost capture, keyup or blur before then clears the timer and removes .is-holding, so the ring rewinds over 300 ms. data-reset (ms) re-arms the button.
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° 0834 · button

N° 0386 · button

N° 0388 · button

N° 0391 · button
N° 0394 · button

N° 0835 · button

N° 0834 · button

N° 0816 · overlay

N° 0801 · toggle
N° 0413 · toggle

N° 0837 · text

N° 0832 · card

N° 0829 · loader