App bars: Specs
App bars are placed at the top of the screen to help people navigate through a product.
Variants

- Search app bar
- Small
- Medium flexible
- Large flexible
Baseline variants
The baseline M3 medium and large app bars are no longer recommended in M3 Expressive, and should be replaced with medium flexible and large flexible app bars, which are similar visually, but have multi-line support, a shorter height, and can contain a wide variety of elements, like images. Jump to baseline app bar specs

Baseline variants
- Medium
- Large
| Variant | M3 | M3 Expressive |
|---|---|---|
| Search app bar | -- | Available |
| Small | Available | Available |
| Center-aligned | Available | Merged into small. Use centered-text configuration. |
| Medium (baseline) | Available | Not recommended. Use medium flexible |
| Medium flexible | -- | Available |
| Large (baseline) | Available | Not recommended. Use large flexible |
| Large flexible | -- | Available |
Configurations
Text alignment

| Category | Configuration | M3 | M3 Expressive |
|---|---|---|---|
| Text alignment | Leading edge (default) | Available | Available |
| Centered | -- | Available |
Tokens & specs
Select a token set to view in the table's menu. App bar token sets are organized into a common token set, and size-specific tokens. Learn about design tokens
App bar - Common
App bar - Size - Small
| Token | Value |
|---|---|
| App bar small container height | 64dp |
| App bar small title font | Roboto |
| App bar small title font weight | 400 |
| App bar small title font size | 22pt |
| App bar small title font tracking | 0 |
| App bar small title line height | 28pt |
| App bar small subtitle font | Roboto |
| App bar small subtitle font weight | 500 |
| App bar small subtitle font size | 12pt |
| App bar small subtitle font tracking | 0.5pt |
| App bar small subtitle line height | 16pt |
| App bar small icon button size | 24dp |
| Search container height | 56dp |
| Search container shape | Circular |
| Search title font | Roboto |
| Search title font weight | 400 |
| Search title font size | 16pt |
| Search title font tracking | 0.5pt |
| Search title line height | 24pt |
App bar - Size - Medium flexible
| Token | Value |
|---|---|
| App bar medium flexible container height | 112dp |
| App bar medium flexible container height with subtitle | 136dp |
| App bar medium Title font | Roboto |
| App bar medium Title font weight | 400 |
| App bar medium Title font size | 28pt |
| App bar medium Title font tracking | 0 |
| App bar medium Title line height | 36pt |
| App bar medium Subtitle font | Roboto |
| App bar medium Subtitle font weight | 500 |
| App bar medium Subtitle font size | 14pt |
| App bar medium Subtitle font tracking | 0.1pt |
| App bar medium Subtitle line height | 20pt |
App bar - Size - Large flexible
| Token | Value |
|---|---|
| App bar large flexible container height | 120dp |
| App bar large flexible container height with subtitle | 152dp |
| App bar large Title font | Roboto |
| App bar large Title font weight | 400 |
| App bar large Title font size | 36pt |
| App bar large Title font tracking | 0 |
| App bar large Title line height | 44pt |
| App bar large Subtitle font | Roboto |
| App bar large Subtitle font weight | 500 |
| App bar large Subtitle font size | 16pt |
| App bar large Subtitle font tracking | 0.15pt |
| App bar large Subtitle line height | 24pt |
Search component tokens & specs
The default searchSearch lets people enter a keyword or phrase to get relevant information.More on search component tokens are used in the search app bar.
Search - View
| Token | Value |
|---|---|
| Search view container surface tint layer color | #6750A4 |
Search - Bar
Anatomy

- Container
- Leading button
- Trailing elements
- Headline
- Subtitle
App bars can be customized to include:
- An image or logo
- A subtitle
- A filled icon button
Avoid customizing the size of the heading and subtitle, or adding too many actions.

Search
The search app bar can include trailing actions inside and outside the search bar. When the search bar is selected, it should open the search viewThe search view is a full-screen modal often used to display a list of search results. It can also be opened by selecting a search icon.More on search view component.

- Container
- Leading icon button
- Hinted search text
- Trailing icon or avatar
- Search container

- A leading element and a trailing element outside search
- A leading element, a trailing element inside search, and a trailing element outside search
- A leading element and two trailing elements outside search
Image
An image can be placed in the app bar. In small app bars, this can replace the label text.

Filled trailing icon button
The app bar's trailing icon buttons can be replaced with a single, primary, or tonal filled icon button in default or wide sizes.

Subtitle

The medium flexible and large flexible app bars hug the text contents, so they are taller when a subtitle is visible
- Small
- Small with subtitle
- Medium flexible
- Medium flexible with subtitle
- Large flexible
- Large flexible with subtitle
Color
Color values are implemented through design tokens. For design, this means working with color values that correspond with tokens. For implementation, a color value will be a token that references a value. Learn more about design tokens
All app bars share the same color roles. On scroll, the container changes color to surface container.

App bar color roles used for light and dark themes:
- Surface
- On surface
- On surface variant
- On surface
- On surface variant
- Surface container (on scroll)

Search app bar color roles used for light and dark themes:
- Surface
- On surface variant
- On surface variant
- On surface variant
- Surface container
- Surface container
- Surface container highest
Scroll states

The app bar changes color when flat or on scroll. The search bar can also change color on scroll.
- Flat
- On scroll
Measurements
Search app bar

Small app bar

Medium flexible app bar

Large flexible app bar

Baseline app bars
The medium and large app bars are no longer recommended in M3 Expressive. Use the medium flexible and large flexible app bars in their place.

Medium and large app bars have the same elements:
- Container
- Leading button
- Trailing icons
- Headline
Tokens & specs
Select a token set to view in the table's menu. Baseline app bar token sets are organized into medium, large, and older baseline token sets. Learn about design tokens
App bar - Size - Medium (baseline)
| Token | Value |
|---|---|
| App bar medium container height | 112dp |
| App bar medium title font | Roboto |
| App bar medium title font weight | 400 |
| App bar medium title font size | 24pt |
| App bar medium title font tracking | 0 |
| App bar medium title line height | 32pt |
| App bar medium icon button size | 24dp |
| App bar medium subtitle font | Roboto |
| App bar medium subtitle font weight | 500 |
| App bar medium subtitle font size | 14pt |
| App bar medium subtitle font tracking | 0.1pt |
| App bar medium subtitle line height | 20pt |
App bar - Size - Large (baseline)
| Token | Value |
|---|---|
| App bar large container height | 152dp |
| App bar large title font | Roboto |
| App bar large title font weight | 400 |
| App bar large title font size | 28pt |
| App bar large title font tracking | 0 |
| App bar large title line height | 36pt |
| App bar large icon button size | 24dp |
| App bar large subtitle font | Roboto |
| App bar large subtitle font weight | 500 |
| App bar large subtitle font size | 16pt |
| App bar large subtitle font tracking | 0.15pt |
| App bar large subtitle line height | 24pt |
[Deprecated] Top app bar - Small
[Deprecated] Top app bar - Medium
[Deprecated] Top app bar - Large
[Deprecated] Top app bar - Small, Center-aligned
Color
Color values are implemented through design tokens. For designers, this means working with color values that correspond with tokens. In implementation, a color value will be a token that references a value. Learn more about design tokens

Medium top app bar color roles used for light and dark schemes:
- Surface
- On surface
- On surface
- On surface variant
Measurements
Medium app bar

Large app bar
