# Navbar

**Navbar** provides a structured navigation mechanism for **web applications** built using ONEWEB Page Designer.\
It allows users to easily move between pages using a consistent menu layout, improving usability and overall user experience.

Page Designer provides a **predefined Navbar Page Template for Web**, which can be customized and reused across pages.

***

### Create a Navbar Using the Navbar Template

#### Step 1: Create a New Navbar Page

1. Open **Create New Page**
2. Choose the **Navbar template** under Web page templates

<figure><img src="https://2015371994-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMpDjHWFRUtZ5nJcSfVXd%2Fuploads%2FdGHJBAg69ZR600YvSqCe%2Fimage.png?alt=media&#x26;token=7df83ef2-ae54-49b1-bd48-80492f838baf" alt=""><figcaption></figcaption></figure>

The system generates a page layout specifically designed for navigation menus.

***

### Customize the Navbar Page

Once created, users can customize the Navbar page according to their website requirements, such as:

* Adding menu items
* Linking menu items to pages or URLs
* Styling navigation elements
* Adjusting layout and spacing

<figure><img src="https://2015371994-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMpDjHWFRUtZ5nJcSfVXd%2Fuploads%2FZTbZ21HhYqyTDJz55dNe%2Fimage.png?alt=media&#x26;token=8d502c0e-0c1b-4c3d-891e-9ad9a66ba9d0" alt=""><figcaption></figcaption></figure>

This Navbar page acts as a reusable navigation component.

***

### Use the Navbar in Your Pages

To apply the Navbar for navigation, it must be attached to the **Header page** of the application.

***

#### Step 2: Open Header Page

1. Open the **Header Page** in the application

<figure><img src="https://2015371994-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMpDjHWFRUtZ5nJcSfVXd%2Fuploads%2FvmhtwQPP4pvsouQJWCiJ%2Fimage.png?alt=media&#x26;token=970b4c8e-6cac-46e6-b827-bc11a1339b3a" alt=""><figcaption></figcaption></figure>

***

#### Step 3: Open Page Settings

1. Open the **Page Settings** menu for the Header page

<figure><img src="https://2015371994-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMpDjHWFRUtZ5nJcSfVXd%2Fuploads%2FlqcgpKlNu9b9bQOPPqs9%2Fimage.png?alt=media&#x26;token=ee1a8b54-968d-4b77-b790-e5f622371c47" alt=""><figcaption></figcaption></figure>

***

#### Step 4: Select Navbar for Header

1. In Page Settings, locate the **Menu List** option
2. Choose the created **Navbar page** from the drop‑down list
3. Select navbar position:
   * **Top**
   * **Bottom**

<figure><img src="https://2015371994-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMpDjHWFRUtZ5nJcSfVXd%2Fuploads%2F92yXMwnvpZxcOL1kY1Jh%2Fimage.png?alt=media&#x26;token=fe1eadc8-fa69-4df0-bff2-85acc84b47fc" alt=""><figcaption></figcaption></figure>

***

### Navbar Positioning

If the user selects **Bottom**, the Navbar appears below the header content, as shown below:

<figure><img src="https://2015371994-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMpDjHWFRUtZ5nJcSfVXd%2Fuploads%2FGkxpv5ukzs3NXzE5ZpPs%2Fimage.png?alt=media&#x26;token=40b27265-e58d-4a0b-b715-98f6f160fedc" alt=""><figcaption></figcaption></figure>

Selecting **Top** places the Navbar above the header content.

***

### Design Perspective

As part of **Web UX best practices**:

* Use Navbar for **primary navigation**
* Keep menu items concise and well‑organized
* Ensure consistent navigation across pages
* Avoid overcrowding the Navbar
* Test responsiveness across screen sizes

Using the Navbar template ensures **consistent, maintainable, and user‑friendly navigation** throughout the web application.


---

# 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.onewebstack.com/building-apps/ui-page-designer/ux-ui-components/pages/page-features/navbar.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.
