overlaystexulinot agent-emittableapp
DropdownMenu.Item
dropdown-menu-item
Menu item with optional icon and shortcut chrome.
Live examples
Item with shortcut
Item with shortcut
Loading demo…
Props
| Name | Kind | Required | Default | Description |
|---|---|---|---|---|
disabled | boolean | no | false | — |
textValue | string | no | — | Typeahead text override |
onSelect | event | no | — | — |
closeOnSelect | boolean | no | true | — |
icon | slot | no | — | — |
shortcut | string | no | — | Displayed keyboard hint |
inset | boolean | no | false | — |
class | string | no | — | — |
children | slot | no | — | — |
Keyboard
| Key | Action |
|---|---|
— | See accessibility notes for keyboard behavior. |
Accessibility
- role=menuitem; shortcuts are visual only.
Evidence for dropdown-menu-item
Latest committed gates for dropdown-menu-item (as of 2026-10-23). Static snapshot — not live CI.
Behavior
checkedscenario dropdown-menu
Rows in tests/behavior/scenarios/dropdown-menu.spec.ts, held to the WAI-ARIA APG pattern, run on Chromium, WebKit and the Pixel 7.
Size (gzip)
texuli/dropdown-menu-item · 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
- A single actionable row inside a menu
Don’t use when
Prefer another component
- Standalone buttons outside a menu