Stay organized with collections
Save and categorize content based on your preferences.
The app bar & header component is a dedicated bar at the top of the app canvas that can be customized to display important app-related functions, such as branding, top-level navigation, and access to app controls.
Use consistent app bar & header layouts to place key controls, such as in-app search, in a standard location throughout the UI.
Anatomy
The app bar & header can include a variety of elements. It can be configured in either of these ways:
App header: When configured as an app header, the component contains space for optional text, with minimal use of icons and buttons. Typically, it includes a screen title and back arrow.
App bar: When configured as an app bar, it can include icons, tabs, and buttons. Typical elements include an app icon and navigational options.
Either of these versions may also include app controls, such as in-app search and settings.
Two versions of an app header (top and middle) and one version of an app bar (bottom), featuring the following elements:
1. Back arrow
2. Screen title
3. Button
4. App controls
5. App icon
6. Primary navigation (tabs)
Specs – App bar
App bar with primary navigation – center aligned
App bar with primary navigation – left aligned
App bar with primary navigation – collapsed (drawer instead of tabs)
Specs – App header
App header with centered title
App header with single app control
App header with multiple app controls
App header with single button
App header with multiple buttons
App header with text overflow
App header with standalone tab bar
Customization
OEMs can reflect their brand by modifying the visual appearance of the app bar & header. Modifications might include:
Custom icons
Custom fonts
Setting the appearance of active, inactive, and disabled buttons
Setting button dimensions and placements
Design system provides guidance for customizing components using layout, color, typography, and sizing.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-07-23 UTC."],[[["The app bar & header component, implemented as \"toolbar\" in the Car UI Library, sits at the top of the app and can be customized to display branding, navigation, and app controls."],["It can be configured as an app header, primarily displaying a screen title and back arrow, or as an app bar, which can include icons, tabs, and buttons for navigation and controls."],["OEMs can customize the app bar & header's visual appearance using runtime overlays to reflect their brand, modifying elements like icons, fonts, and button styles."],["Both app header and app bar can include app controls such as in-app search, settings, and other relevant functions for easy access."]]],[]]