The Menu widget organizes pages and is designed to help users get from one page in your app to another. You can change the direction of the menu, choose a style such as tabs or pills, and select a color for the background and active menu.
Example
Use this widget to support app design requirements such as the following:
- You need to create an app that has multiple pages and want to provide users with the ability to get from page to page in a simple, intuitive way.
Usage notes
Typically, you would position a menu at the top of a page in the header or body. The Menu widget is automatically populated with the pages, links, and folders as they appear in the Page panel. Names of pages, folders, and links appear in the menu in the order you arrange them unless you click Hide from menu in the Page panel. When you nest pages and links in a page or folder, they appear in the Menu widget as a drop-down menu. A folder provides a drop-down menu that allows the top level to be clicked without changing the page. Users interact with the menu by hovering over or clicking the link, which provides navigation back to the pages in your experience.
Settings
The Menu widget includes the following settings:
-
Type—Define the position and appearance of the menu: horizontal, vertical, or icon. The icon type vertically collapses the menu into a modal window on the left or right side of the app.
- Submenu expand mode—The submenu can appear to end users as expanded or foldable. This setting is only available for vertical and icon menu types and is only evident in your app when it contains nested pages or links.
-
Appearance—Define the appearance of menu items using the following options:
- Style