# Menubar

The **`Menubar`** element serves the purpose of constructing a primary menu for your application by incorporating one or more [Menu Item](/app-editor/page-editor/built-in-elements/menu-item.md), [Menubar Popup Menu](/app-editor/page-editor/built-in-elements/menubar-popup-menu.md), or [Menubar Login Info](/app-editor/page-editor/built-in-elements/menubar-login-info.md) elements.&#x20;

It's important to note that the **`Menubar`** element cannot be directly accessed in the [Page Element Library](/app-editor/page-editor/page-editor-tour.md#page-element-library) for drag-and-drop functionality. Instead, you can utilize the pre-built responsive solutions offered by the [Menubar Style1](/app-editor/page-editor/built-in-elements/menubar-style1.md) and [Menubar Style2](/app-editor/page-editor/built-in-elements/menubar-style2.md) elements, which already include the Menubar functionality. By utilizing these elements, you can easily incorporate the Menubar and its associated elements into your web page.

***

## Options

The [Options tab](/app-editor/page-editor/page-element-settings.md#options-tab) settings for this element are described below:

### `Horizontal Align`

Controls how the elements inside the contents of the Menubar are spaced horizontally.

This setting has [responsive design](/app-editor/page-editor/responsive-design.md) support for various screen sizes: Main (overall), Desktop, Tablet and Mobile. The desktop, tablet and mobile versions of this setting override the Main setting.

The possible values are:

* Default: Same as Left or Right depending on the [locale](https://developer.mozilla.org/en-US/docs/Glossary/Locale) of the user.
* Left: Aligns the contents towards the left.
* Center: Aligns the contents towards the center.
* Right: Aligns the contents towards the right.
* Space Around: Equally distribute the available space before and after each element inside the Menubar.
* Space Between: Distribute the available space between the elements inside the Menubar.

### `Scrollable Content`

Enable this if the content inside your Menubar exceeds the dimensions of the page and you require the ability to scroll.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.zingy.ai/app-editor/page-editor/built-in-elements/menubar.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
