Header bars are a standard element that span the top of windows. They allow windows to be dragged, are the site for window management features, and contain application controls.
Header bars often include:
Buttons for the main user actions, such as new, add, open and back. These are placed at the start of the header bar (on the left in left-to-right locales).
A window heading, which is placed in the center (sometimes this is replaced with a view switcher.)
Menus, which are typically placed at the end.
Arrange controls within the header bar according to the three alignment points — left, center and right.
Header bars should only contain a small number of key controls. This helps people to understand the primary functionality provided by the window, and ensures that the window can be resized to narrow widths. Additional controls can be included elsewhere.
The content of header bars can — and should — update along with view or mode changes, so that different controls are shown depending on the content of the window. This ensures that header bar controls are always relevant to the current context.
Always ensure that there is some blank space in the header bar to allow it to be dragged.
Primary window header bar controls should all have tooltips.