Toggle Sidebar B
AppearanceLight & dark mode D

Menubar

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

Checkbox items

MenubarCheckboxItem toggles a boolean with v-model inside a menu.

Replay preview

Radio group

MenubarRadioGroup binds one-of-many selection with v-model.

Replay preview

With icons

A leading icon before each MenubarItem, with a label and separators.

Replay preview

API Reference

Menubar

PropTypeDefaultDescription
modelValuestringOpen menu value. Supports v-model.
EventDescription
update:modelValueFires when the active top-level menu changes.

MenubarMenu / MenubarTrigger

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

MenubarContent

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

MenubarItem

PropTypeDefaultDescription
disabledbooleanfalseBlock selection.
insetbooleanfalseExtra left padding to align with icon items.
EventDescription
selectFires when the item is chosen.

MenubarCheckboxItem / MenubarRadioItem

PropTypeDefaultDescription
modelValueboolean | stringItem state. Supports v-model.
EventDescription
update:modelValueFires when the checkbox toggles or the radio value changes.

MenubarSub / MenubarSubTrigger / MenubarLabel

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

Accessibility

Keyboard shortcuts and ARIA behavior.

Shortcut Description
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.