
N° 0972 · overlay
Right-click Context Menu is a modal animation. It responds to click, keyboard, long press and menu. Palettes: Driftbox, Ember, Moss, Daylight and Plum.
contextmenu on a [data-context] element inside the block (or Shift+F10 / the menu key, which places it at the element's corner) prevents the native menu and opens ul[role=menu] at (clientX, clientY); if x + width > innerWidth − 8 it opens to the left of the pointer, if y + height > innerHeight − 8 it opens upward, then both are clamped into [8, size − 8]. The submenu opens 120 ms after hover or on ArrowRight, to the right of its row or flipped left, clamped vertically. Items use roving focus (tabindex −1, focus follows arrows, disabled items are focusable but aria-disabled). Long press: a touch held 500 ms without moving 10 px opens the menu at the touch point. Selection dispatches cm:select { action, target } 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° 0815 · overlay

N° 0814 · overlay

N° 0813 · overlay

N° 0409 · overlay

N° 0835 · button

N° 0812 · input

N° 0833 · button

N° 0818 · nav

N° 0815 · overlay

N° 0801 · toggle

N° 0412 · overlay
N° 0413 · toggle