How to add a top bar, menu and bottom tabs
Video length 1:29English narration, English and Hinglish subtitles
Overview
Navigation builds the native bars around your website: a top bar, a side menu and bottom tabs. You edit them right on a phone mock-up: click any dashed area to open its settings, and the phone updates as you type.
An instance is one set of bars. The Default instance covers all pages, and you can add more for pages that need something different, such as a checkout without tabs. Navigation changes reach installed apps with your next build. The iOS toolbar comes with iOS apps, which are coming soon.
In this video you'll learn
- Add instances for pages that need different bars
- Turn the top bar, sidebar and tabs on or off
- Edit your tabs right on the phone
- Set the global theme for every instance
- Apply the Shopify store layout in one click
Chapters
Navigation builds your app's native bars: the top bar, the sidebar menu and the bottom tabs, with different bars for different pages when you need them.
Step by step
Start from your instances
An instance is a set of bars. Default covers all pages. Press New instance to give some pages their own bars, for example a checkout without tabs.
Choose where an instance shows
In Edit instance, give it a Name and a Visibility: All pages, Single page or Multiple pages (one pattern per line, * as a wildcard). Test a URL shows which instance a page will use.
Turn components on
Under Components, switch the Top bar, Sidebar and Bottom tabs on or off. The iOS toolbar comes with iOS apps, which are coming soon.
Edit on the phone
Dashed areas on the phone are editable: click one, or pick it from the list next to the phone, to open its settings. Switch the phone between iOS and Android, and Light and Dark, to check every look.
Set up your tabs
For each tab, choose the Action (Open URL or Run JavaScript), the URL, the Label, the Inactive and Active icons, and a Badge: None, Cart count, Dot or Custom JavaScript.
Global theme
Global theme holds the styles every instance shares: the bar colour, top bar colours and display, the sidebar header image and font, the tab colours and Show tab labels.
Shopify shortcut
On a Shopify store, Use Shopify store layout turns on the top bar and adds Home, Collections, Search, Cart and Account tabs to your first instance.