Introduction
The NavBar is the bar at the top of the app. It is the first thing users read on a screen, so it does three jobs at once. It says where they are, with the name of the app or of the section. It carries the brand, with a title or a logo. And it keeps the way back and a few actions within reach, at the same place on every screen.
It comes in three heights. The smallest leaves as much room as possible to the content. The two others give the title more presence. In the back office the NavBar is called the Header.
Anatomy
The NavBar has three areas. On the left, the navigation icons, the one that opens the menu or the back button. In the middle, the title or the logo. On the right, the actions. The menu and back icons can be changed, along with their color.

Properties
Height
The height is chosen among Small, Medium and Large. Small has a fixed height. Medium and Large follow the height of the screen. Medium takes 19% of it and Large 38%, so the bar keeps the same presence on a phone, a tablet or a computer.

Title and logo
The NavBar shows a title, set in the font and the color chosen for it, or a logo that replaces it. The logo is never enlarged beyond the size of its image, so it keeps its quality. The title can stay the same on every screen, or take the name of the section that is open. In Large, a short description comes under the title or the logo.

Alignment
The title or the logo is aligned on the left or centered.

Background
The background of the NavBar is a color. A bottom edge, in its own color, can separate the bar from the content. In Small, the background can also be an image.

Actions
Actions can be added on the right of the NavBar, each with its icon. On tablet and desktop, an action can also show its title. Two actions sit side by side. With more than two, the first one stays visible and the others move to a menu.

Layout
Spacing
The title starts 1G from the edge of the screen, the gutter described in Spacing, so it lines up with the content below. On the side of the icons, it stops short of them with a safety margin, so it never runs under an icon.

By device
In Small, the NavBar is 56px high on mobile and 64px high on tablet and desktop. In Medium and Large, its height comes from the height of the screen on every device.

Behavior
On scroll
The NavBar can stay in place, or react to scrolling. With the hiding effect, it disappears when the user scrolls down. With the resize effect, available in Medium and Large, it gets smaller as the content scrolls, down to the height of Small. The title gets smaller with it, without going under a minimum size, and the description disappears.

From one screen to the next
A screen opened on top of a section shows a back button on the left of the NavBar. A section can also have its own NavBar, with a height of its own.

Design