
N° 0967 · button
Split Button is a button click animation. It responds to click, menu, keyboard and default. Palettes: Edit bay, Grade, Clay court, Moss and Violet.
The main half's label is a one-line grid cell with overflow hidden; swapping adds the new label at translateY(110%) and moves both up over 260 ms (old to −110%), then removes the old one. The menu is a role=menu list under a chevron with aria-haspopup and aria-expanded; opening focuses the current default (or the first item from ArrowDown, the last from ArrowUp). Options are menuitems with data-value and data-label; the 'make default' row is a menuitemcheckbox. choose() closes the menu, returns focus to the chevron, dispatches split-action { value, label } and, if the box is ticked, moves data-default and slides the label.
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° 0834 · button

N° 0833 · button

N° 0386 · button

N° 0388 · button

N° 0391 · button
N° 0394 · button

N° 0812 · input

N° 0966 · button

N° 0834 · button

N° 0816 · overlay

N° 0837 · text

N° 0833 · button

N° 0815 · overlay

N° 0819 · nav