overlaystexulinot agent-emittableapp
ContextMenu
context-menu
Pointer-anchored menu (right-click, long-press, Menu key).
Live examples
Context region
Context region
Loading demo…
Props
| Name | Kind | Required | Default | Description |
|---|---|---|---|---|
open | boolean | no | false | — |
class | string | no | — | — |
children | slot | no | — | — |
Keyboard
| Key | Action |
|---|---|
— | See accessibility notes for keyboard behavior. |
Accessibility
- Opens at the pointer; keyboard Menu/Shift+F10 supported on the region.
Evidence for context-menu
Latest committed gates for context-menu (as of 2026-10-23). Static snapshot — not live CI.
Behavior
checkedscenario context-menu
Rows in tests/behavior/scenarios/context-menu.spec.ts, held to the WAI-ARIA APG pattern, run on Chromium, WebKit and the Pixel 7.
Size (gzip)
@texuli/primitives/context-menu · budget 22.0 KiB
Budget from texuli.budgets.json; re-measure with `pnpm size --filter <entry>`.
Axe
documented
tests/e2e/site-component-pages.spec.tsdocs/quality (a11y-*)
Site component pages axe gate; package-level a11y docs under docs/quality when present.
Browsers
chromiumwebkitmobile
Playwright projects: Desktop Chrome, Desktop Safari, Pixel 7. Firefox is a known gap on this host.
When to use
Use when
- Actions on a canvas or list row via context click
Don’t use when
Prefer another component
- A visible button trigger (use dropdown-menu)