Skip to content

Menubar

Overview

A horizontal menu bar containing a set of menus.

Theme entry: Menubar

Props

NameTypeRequiredDefaultDescription
themeOverrideString|Object|ArraynullA partial theme object merged with the component's default theme; accepts a class string, class array, or theme object.
classimport('vue').HTMLAttributes['class']undefinedAdditional CSS classes to apply to the root element.
modelValuestringundefinedThe controlled value of the open menu.
defaultValuestringundefinedThe value of the menu that should be open when initially rendered.
dirstringundefinedThe reading direction of the menubar.
loopbooleanundefinedWhen true, keyboard navigation will loop from last item to first, and vice versa.

Slots

default

Scoped slot.

Events

NameDescription
update:modelValueEmitted when the value changes.

Full event reference

Source

client/lib/navigation/menubar/Menubar.vue

Documents matching: server v3.0.0a1.post1client v3.0.0-alpha.2