Skip to content

MenubarContent

Overview

The content panel of a menubar menu, rendered inside a portal.

Theme entry: MenubarContent

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.
asstring|objectundefinedThe element or component to render as.
asChildbooleanfalseWhen true, merges props onto the child element instead of rendering a wrapper.
forceMountbooleanundefinedUsed to force mounting when more control is needed.
loopbooleanundefinedWhen true, keyboard navigation will loop from last item to first, and vice versa.
sidestringundefinedThe preferred side of the trigger to render against.
sideOffsetnumber8The distance in pixels from the trigger.
alignstring"start"The preferred alignment against the trigger.
alignOffsetnumber-4An offset in pixels from the start or end alignment options.
avoidCollisionsbooleanundefinedWhen true, overrides side and align preferences to prevent collisions.
collisionPaddingnumber|objectundefinedCollision padding in pixels.
collisionBoundaryobject|arrayundefinedAn element to use as the collision boundary.
stickystringundefinedThe sticky behavior on the align axis.
hideWhenDetachedbooleanundefinedWhether to hide the content when the trigger becomes fully occluded.
prioritizePositionbooleanundefinedWhether to prioritize position to prevent collisions.

Slots

default

Slot.

Source

client/lib/navigation/menubar/MenubarContent.vue

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