Headers
The header provides the core information that users need when first viewing the page.
Usage of Headers
Headers are used to communicate what page (tab) a user is on. The header component can be combined with actions like searching, filtering a list, or changing a setting. Depending on the app, the header will be different colors: Consumer App: White Pro App: Blue-Medium
Types of Headers
1. Primary Headers (header-primary)
2. Secondary Header (header-secondary)
3. Section Header (header-section)
4. Time Subheader (subheader-time)
5. Dropdown Subheader (header-dropdown)
Anatomy of Primary Headers (header-primary)
Primary Headers are components used on main app pages. Main headers will scroll with the content of the page.
1. Header Label (a-text-h2)
2. Action Icons Font Awesome (a-icon-line) is used for the action icons. Action icons lead users to other flows and pages or allow users to make decisions on half sheets. They are optional.
Anatomy of Secondary Headers
Sub-headers are used on subpages or flows that are navigated to from a main tab page. Unlike main headers, sub-headers will stick to the top so users have a way to navigate away from the page.
1. Navigation (a-nav) Helps user navigate away from the page they are currently on. It would either be a back arrow or exit.
2. Header Label (a-text-subheader)
2. Action Icons Font Awesome (a-icon-line) is used for the action icons. Action icons lead users to other flows and pages or allow users to make decisions on half sheets. They are optional.
4. Divider Line (a-divider-dark) For easy viewing and consumption, subheaders will have divider lines.
Anatomy of Section Headers
Section Headers are used to differentiate and organize large amounts of content. These headers can stick to the top and get pushed up by the subsequent section header or scroll with content.
1. Header Label (a-text-subheader)
2. Container
Anatomy of Time Subheader
Time Subheaders are used to allow users access the native time picker and to reflect the time chosen. They can be found in pro search experiences.
1. Date & Time (a-text-paragraph) Reflects the time chosen on the native time picker.
2. Divider Line (a-divider-dark) For easy viewing and consumption, subheaders will have divider lines.
Anatomy of Dropdown Header
Dropdown headers, like Section Headers, organize large amounts of content and can stick or scroll with the page. The only difference is that dropdown headers allow users to expand or hide the content.
1. Label (a-text-h4) Reflects the time chosen on the native time picker.
2. Supporting Text Any supporting copy like count can live here.
3. Caret To indicate state (closed vs open) the caret will change.
4. Container
5. Divider Line (a-divider-dark) For easy viewing and consumption, dropdown headers will have divider lines.
Last updated