overlaystexulinot agent-emittableapp
Menubar.Trigger
menubar-trigger
Top-level menubar item that opens a menu.
Live examples
File
File
Loading demo…
Props
| Name | Kind | Required | Default | Description |
|---|---|---|---|---|
size | enum (sm, md, lg) | no | "md" | — |
variant | enum (default, soft) | no | "default" | — |
class | string | no | — | — |
children | slot | no | — | — |
disabled | boolean | no | false | — |
Keyboard
| Key | Action |
|---|---|
— | See accessibility notes for keyboard behavior. |
Accessibility
- role=menuitem with aria-haspopup=menu.
Evidence for menubar-trigger
Latest committed gates for menubar-trigger (as of 2026-10-23). Static snapshot — not live CI.
Behavior
checkedscenario menubar
Rows in tests/behavior/scenarios/menubar.spec.ts, held to the WAI-ARIA APG pattern, run on Chromium, WebKit and the Pixel 7.
Size (gzip)
texuli/menubar-trigger · budget 12.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
- Label a menubar menu
Don’t use when
Prefer another component
- Dropdown button triggers