---
url: "https://vueda.dev/v3/reference/api/vue/MenubarContent.md"
title: "MenubarContent"
---

# MenubarContent

## Overview

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

Theme entry: [MenubarContent](/v3/reference/theming/keys/MenubarContent.md)

## Props

| Name | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| <span id="prop-themeOverride">themeOverride</span> | `Object` |  | `null` | A partial ThemeObject keyed by component name, merged over this component's theme and provided to descendants. |
| <span id="prop-class">class</span> | `import('vue').HTMLAttributes['class']` |  | `undefined` | Additional CSS classes to apply to the root element. |
| <span id="prop-as">as</span> | `string\|object` |  | `undefined` | The element or component to render as. |
| <span id="prop-asChild">asChild</span> | `boolean` |  | `false` | When true, merges props onto the child element instead of rendering a wrapper. |
| <span id="prop-forceMount">forceMount</span> | `boolean` |  | `undefined` | Used to force mounting when more control is needed. |
| <span id="prop-loop">loop</span> | `boolean` |  | `undefined` | When true, keyboard navigation will loop from last item to first, and vice versa. |
| <span id="prop-side">side</span> | `string` |  | `undefined` | The preferred side of the trigger to render against. |
| <span id="prop-sideOffset">sideOffset</span> | `number` |  | `8` | The distance in pixels from the trigger. |
| <span id="prop-align">align</span> | `string` |  | `"start"` | The preferred alignment against the trigger. |
| <span id="prop-alignOffset">alignOffset</span> | `number` |  | `-4` | An offset in pixels from the start or end alignment options. |
| <span id="prop-avoidCollisions">avoidCollisions</span> | `boolean` |  | `undefined` | When true, overrides side and align preferences to prevent collisions. |
| <span id="prop-collisionPadding">collisionPadding</span> | `number\|object` |  | `undefined` | Collision padding in pixels. |
| <span id="prop-collisionBoundary">collisionBoundary</span> | `object\|array` |  | `undefined` | An element to use as the collision boundary. |
| <span id="prop-sticky">sticky</span> | `string` |  | `undefined` | The sticky behavior on the align axis. |
| <span id="prop-hideWhenDetached">hideWhenDetached</span> | `boolean` |  | `undefined` | Whether to hide the content when the trigger becomes fully occluded. |
| <span id="prop-prioritizePosition">prioritizePosition</span> | `boolean` |  | `undefined` | Whether to prioritize position to prevent collisions. |

## Slots

### `default` {#slot-default}

Slot.

## Source

`client/lib/navigation/menubar/MenubarContent.vue`
