Choose an action to see its result.
Shortcuts
A shortcut is a label. The host binds the key and runs the same action.
A short list of actions attached to a trigger.
Measured parts, with contact expanded 18×. The native reference stays in place.
Su uses the Quiet instrument direction. Use the mode switcher above to see light and dark.
| Prop | Values | Default |
|---|---|---|
| trigger | string | required |
| items | MenuAction[] | required |
| disabled | boolean | false |
| size | small | default | large | default |
import { Menu } from '@zao/react';
<Menu trigger="Workspace actions" items={[{ label: 'Rename', onSelect: rename }]} />Menu uses Base UI menu semantics. Arrow keys move among enabled items, Enter or Space activates one, and Escape closes the popup and returns focus. Keep native keyboard focus outlines and readable disabled actions. Highlighting stays visible in forced colors and through closing; reduced motion shows the completed popup immediately.