For the complete documentation index, see llms.txt. This page is also available as Markdown.

Custom sidebar menu

Customize the sidebar elements to create user-aware navigations.

Ubidots offers two ways for users to navigate an application:

  • A fixed top navigation bar

  • A customizable left navigation bar, also known as a "sidebar"

These options are available in the "App builder" section of your apps, as shown below:

Top Navbar

This is how an application looks with a top navbar:

Left Navbar

This is how an application looks with a left navbar:

In the latter case, you can collapse the bar to free up space on the rest of the page:

Overview

When you select "Left navbar" as the navigation menu style, you can choose from two options:

  • Default

  • Custom, which enables the "Navigation menu" option

The "Default" option renders a fixed left sidebar with Ubidots' standard menu layout in the app. End users see options based on their roles and permissions.

Custom

When you select the "Custom" option, you can customize the sidebar freely. In the example below, the menus, labels, icons, and dropdowns have been changed:

The sidebar also supports opening a secondary panel, called "asidepanel", from either a direct link or a menu item in the sidebar. This asidepanel can be static or load dynamic, user-aware content from an HTTP request.

You can do this through the "Edit menu" button, which opens an XML editor with a preview so you can see how the XML renders:

This is the XML that creates the custom sidebar seen above:

Migration from v1 to v2

Last updated

Was this helpful?