Actions

Menubar

Organize persistent application commands into menus such as File and Edit.

Basic usage

Name the bar and use a unique value for each menu and item. Tab into the bar, use the horizontal arrows to switch menus, and press Escape to dismiss.

API

Key props and defaults.

PropValues and behaviorDefault
Root.aria-labelstring—
Menu.valuestring—
Root.open / onOpenChangeboolean / ({ open }) => void—
Root.triggerValue / onTriggerValueChangestring | null / ({ value }) => void—
Item.onSelect() => void—