Mobile navigation
Navigation is the part of an app that changes the most between a wide screen and a phone. MyAppBuilder gives you three building blocks: the app's built-in navigation (top bar or sidebar) that collapses automatically, a Navigation Menu component with a mobile bottom bar variant, a
Navigation is the part of an app that changes the most between a wide screen and a phone. MyAppBuilder gives you three building blocks: the app's built-in navigation (top bar or sidebar) that collapses automatically, a Navigation Menu component with a mobile bottom bar variant, and drawer pages that slide in from the side.
When to use
- Your app has more than three or four pages and is used on phones.
- You want a native-app feel with a tab bar at the bottom of the screen.
- You want a secondary panel (filters, details, a quick form) that slides in without leaving the page.
The built-in navigation
Theme › Component styles › Navigation chooses Top, Sidebar or None for the whole app. The navigation lists every standard page marked "Show in menu" that the visitor is allowed to open.
- On screens narrower than 768 px, the top bar hides its links and shows a menu button. Tapping it opens the links in a panel under the bar.
- A sidebar becomes a block at the top of the page with the same menu button; the links expand under it.
Noneremoves the built-in navigation entirely. Use it when you place your own Navigation Menu component, otherwise phone users have no way to move between pages.
Desktop top bar Phone
[ Logo Home Jobs Customers (user) ] [ Logo (user) [=] ]
tap [=] ->
[ Home ]
[ Jobs ]
[ Customers ]Navigation Menu bottom bar
- In Build, add a Navigation Menu component (Basic category) to the page, usually inside the page root so it is full width.
- In the Content tab set Style to Bottom bar (mobile).
- Choose Pages: "Pages shown in the app menu" (follows each page's "Show in menu" setting) or "Choose pages" and pick them.
- Keep Show page icons on. Bottom bars show the page icon above a short label; give each page an icon in its page settings.
- Optionally hide the component on desktop and tablet from the Visibility tab, and set Theme › Navigation to
Noneor keep the top bar for larger screens.
In the published app the bottom bar is fixed to the bottom of the screen and respects the phone's safe area. In the editor it is drawn at the bottom of the canvas so you can still edit it. Pages the visitor may not open are left out automatically.
Other Navigation Menu styles are Horizontal, Vertical (sidebar), Tabs and Pills; they are useful for sub-navigation inside a page.
Drawer pages
A page whose type is Drawer opens as a panel from the right side when it is the target of an open_drawer navigation. Modal pages open as a centred dialog. Both keep the current page underneath, which works well on phones for details and quick edits:
- Create the page (for example "Job details") and set its page type to Drawer in its page settings, or ask the Storyboard to open it as a drawer.
- On the source page, add an action to a button or a table row: Open drawer → the page, passing the record id as a parameter.
- The drawer has a close button in its header and closes when the visitor taps outside it.
Common mistakes
- Two navigations on a phone. A top bar plus a bottom bar is confusing. Hide one of them on mobile.
- Bottom bar with eight pages. Labels overlap. Keep it to five pages and move the rest to a "More" page or the top menu.
- Pages missing from the bar. The menu only shows pages the current role may open, and only standard pages (not pages with
/:idin the route). Check page access in Users › Roles & permissions › Page access.
Advanced
The built-in navigation collapses at a container width of 767 px (.mab-menu-btn becomes visible, .mab-navlinks is hidden until is-open). The Navigation Menu component renders .mab-navmenu.is-bottom, which is position: fixed in live apps and position: sticky in the editor. Its source prop (nav or custom) and includePages decide the pages; the AI operation create_navigation_menu with style: "bottom" creates the same component.