Guidelines for navigation bars (Windows Store apps)
Follow these guidelines when working with navigation bars (nav bars) for Windows Store apps. A navigation bar is an app bar that appears at the top of the app and contains navigation controls. The nav bar is great for switching between multiple contexts, including tabs, documents, and messaging or game sessions.
When to use a navigation bar
You can place navigation controls on the main canvas of the app or in the nav bar, and choosing the right surface can mean the difference between an app that's a breeze to use and one that's a burden. The navigation bar is best when you want to provide global access to all areas of your app on demand. The canvas is best when navigation is core to completing a task. For example, in a photo browsing app—which is all about finding and viewing photo files—all navigation should be done on the canvas by tapping, panning, or selecting content and the search box should be placed on the canvas to let users easily find files.
Anatomy of the nav bar
The nav bar appears when users swipe from the top or bottom edge. The animation used is the same as the App Bar animation since the Navigation Bar is housed inside of the top App Bar. While you can style items in the nav bar, the default appearance is a simple button. However, another typical visual treatment is the use of button and thumbnail.
You can also choose to include other functionality within the top app bar, such as adding a '+' button to create a new tab or session or integrating a search box. Place this extra functionality on the right side of the nav bar.
You can also divide the nav bar into multiple areas, as the Store app does. Here you can see the top section is for global navigation and the bottom section is for app categories.
Dos and Don'ts
Do |
|
Don't |
|
Related topics
For designers
For developers (Windows Store app using JavaScript)
Quickstart: Adding a nav bar (NavBar)
For developers (Windows Store app using C++, C#, or Visual Basic)
Quickstart: Navigating between pages
For developers (Windows Store app using DirectX with C++)
Creating an app bar or Setting
Build date: 12/16/2013