Toggle Sidebar B
header.lightDarkMode D

Menubar

Persistent application menu bar (File, Edit, View ...). Each top-level item opens a DropdownMenu-style panel. Use for desktop-app-style UIs.

Default

File-Edit-View bar with shortcuts.

With checkbox items

Toggle view options with checkbox items bound to v-model.

With submenu

Nest related actions in a submenu that opens on hover.

API Reference

Props, events, and slots for each sub-component.

Menubar

Props

PropTypeDefaultDescription
modelValuestringOpen menu value. Supports v-model.

Events

EventDescription
update:modelValueFires when the active top-level menu changes.

MenubarMenu / MenubarTrigger

Props

PropTypeDefaultDescription
valuestring(MenubarMenu) Identifier for this menu. Trigger opens its panel.

MenubarContent

Props

PropTypeDefaultDescription
classstringExtra classes. Forwards positioning props to reka-ui MenubarContent.

MenubarItem

Props

PropTypeDefaultDescription
disabledbooleanfalseBlock selection.
insetbooleanfalseExtra left padding to align with icon items.

Events

EventDescription
selectFires when the item is chosen.

MenubarCheckboxItem / MenubarRadioItem

Props

PropTypeDefaultDescription
modelValueboolean | stringItem state. Supports v-model.

Events

EventDescription
update:modelValueFires when the checkbox toggles or the radio value changes.

MenubarSub / MenubarSubTrigger / MenubarLabel

Props

PropTypeDefaultDescription
insetbooleanfalseAlign SubTrigger or Label with icon items. Submenu opens on hover or right-arrow.

Accessibility

Keyboard shortcuts and ARIA behavior.

Keyboard

ShortcutDescription
Moves focus to the previous top-level menu trigger.
Moves focus to the next top-level menu trigger.
Moves to the previous item within an open menu.
Opens the focused menu, or moves to the next item within an open menu.
EnterOpens a menu or activates the focused item.
SpaceOpens a menu or activates the focused item.
EscCloses the open menu and returns focus to its trigger.
  • Uses role=menubar with a roving tabindex across the top-level triggers.
  • Right/left arrows step into and out of submenus while a menu is open.