---
description: How to add and style navbars.
---

# Navbars

## What is a Navbar?

A navbar is a navigation bar on the top of the page. Navbars typically provide a structured and easy-to-access means of navigating between different pages, often containing links, icons, or buttons that direct users to various parts of the site or app.

{% hint style="success" %}
**Location in the Parts Library:** Base Parts > Navigation > Navbar
{% endhint %}

<figure><img src="https://2904013950-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MNFsr0mZTFrCZvHflb9%2Fuploads%2FWpzSx85PXObu4ftTueao%2FNavbarExamples.gif?alt=media&#x26;token=b5b40ea7-1cce-46e5-a437-b3cee663b807" alt=""><figcaption><p>Example Navbars</p></figcaption></figure>

## Why Are Navbars Useful? <a href="#why-are-dropdowns-useful" id="why-are-dropdowns-useful"></a>

Navbars are useful for several reasons. They:

1. **Are A Primary Navigation Tool**: Navbars serve as the primary tool for navigation, helping users quickly find and access the main sections or features of a website or app. This makes it easier for users to explore and utilize the content and services offered.
2. **Enhance User Experience**: A well-designed navbar enhances the overall user experience by providing a clear and intuitive way to navigate. Users can easily locate important links and functions, which reduces frustration and increases satisfaction.
3. **Provide Consistency and Familiarity**: Navbars provide a consistent navigation structure across different pages and sections of a website or app. This consistency helps users understand how to navigate the site more quickly, as they know where to look for navigation options.
4. **Space Efficiency**: Navbars make efficient use of screen space by consolidating navigation links into a compact area. This is especially important for responsive design, where space is limited on smaller screens like smartphones and tablets.
5. **Improve Accessibility**: Navbars contribute to the accessibility of a website or app by ensuring that navigation options are easily reachable and clearly labeled. This is important for users with disabilities who rely on assistive technologies to browse the web.
6. **Improve Visibility of Key Features**: By placing key features and sections in the navbar, websites and apps can highlight important content or actions, making them more visible and accessible to users. This can drive engagement and ensure users find what they need.
7. **Are Responsively Designed**: Navbars are adaptable to different screen sizes and devices. Responsive navbars, such as hamburger menus on mobile devices, ensure that navigation remains user-friendly regardless of the device being used.

## Isn't There Already a Navbar in My App? <a href="#why-are-dropdowns-useful" id="why-are-dropdowns-useful"></a>

Yes, all apps come with a navbar, even the skeleton app. The navbar can be removed if you don't want it there. The navbar can be edited as appropriate or switched out for one of the navbars in the parts library, then edited as needed.&#x20;

### The Components of a Navbar <a href="#some-components-of-a-card" id="some-components-of-a-card"></a>

Your navbar can contain several items, including icons, buttons, dropdowns, menus, links, avatars, and input fields for example.&#x20;

### Styling the Navbar <a href="#styling-the-menu" id="styling-the-menu"></a>

Like many other parts, [borders](https://appeggiohelp.gitbook.io/appeggio-help/customising-and-formatting/borders), [shadow](https://appeggiohelp.gitbook.io/appeggio-help/customising-and-formatting/shadow), [rounding](https://appeggiohelp.gitbook.io/appeggio-help/customising-and-formatting/rounding), [opacity](https://appeggiohelp.gitbook.io/appeggio-help/customising-and-formatting/opacity), [rounding](https://appeggiohelp.gitbook.io/appeggio-help/customising-and-formatting/rounding), [colors](https://appeggiohelp.gitbook.io/appeggio-help/customising-and-formatting/colors-and-themes), and [color gradients](https://appeggiohelp.gitbook.io/appeggio-help/customising-and-formatting/color-gradients) can be adjusted using the property editor on the right, once the navbar, or parts within the navbar, have been selected.

### Linking the Buttons In Your Navbar <a href="#linking-the-button" id="linking-the-button"></a>

To add a link to your button, first select the button. On the right editor menu, select 'link to', and you'll see the current list of pages within your app that you can link to. If the page you want to link to within your app hasn't been created yet, select 'new page'. You'll then be prompted to complete some details for your new page. You can also link to an external URL.

### Adding an Image to The Navbar <a href="#editing-and-formatting-the-card" id="editing-and-formatting-the-card"></a>

To add a [background image](../../customising-and-formatting/background-images) to a navbar, select the navbar. In the property editor on the right, click on Image > Default to select your image from the Media Gallery or upload an image from your device.

The image will take up the full background space of the navbar.

**Adjusting the Image Opacity**

Adjusting the [opacity](../../customising-and-formatting/opacity) of the menu image is the same as adjusting the opacity of a regular image. Go to the Decoration Editor in the right property menu, and go to the ‘Image Opacity’ tab. You'll need to get the opacity of the image right so that you can adequately see the contents of the navbar.



More information on navbars is coming soon.&#x20;



## Related Information <a href="#formatting-images" id="formatting-images"></a>

<table data-view="cards"><thead><tr><th></th><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><mark style="color:orange;">Icons</mark></td><td></td><td></td><td><a href="../../frequently-used-parts/icons">icons</a></td></tr><tr><td><mark style="color:orange;">Buttons</mark></td><td></td><td></td><td><a href="../../frequently-used-parts/buttons">buttons</a></td></tr><tr><td><mark style="color:orange;">Images</mark></td><td></td><td></td><td><a href="../../frequently-used-parts/images">images</a></td></tr><tr><td><mark style="color:orange;">Menus</mark></td><td></td><td></td><td><a href="../../frequently-used-parts/menus">menus</a></td></tr><tr><td><mark style="color:orange;">Dropdowns</mark></td><td></td><td></td><td><a href="../actions/dropdowns">dropdowns</a></td></tr><tr><td><mark style="color:orange;">Links</mark></td><td></td><td></td><td><a href="../../customising-and-formatting/adding-links">adding-links</a></td></tr><tr><td><mark style="color:orange;">Avatars</mark></td><td></td><td></td><td><a href="../display/avatars-and-avatar-groups">avatars-and-avatar-groups</a></td></tr><tr><td><mark style="color:orange;">Customizing and formatting</mark></td><td></td><td></td><td><a href="../../customising-and-formatting">customising-and-formatting</a></td></tr></tbody></table>
