Skip to content
Material Design 3
Main Navigation
v3
v2
v1

English

简体中文
繁體中文
Español
Français
Русский
Português – Brasil
Deutsch
日本語
한국어
Italiano
Polski
Türkçe
čeština
magyar

English

简体中文
繁體中文
Español
Français
Русский
Português – Brasil
Deutsch
日本語
한국어
Italiano
Polski
Türkçe
čeština
magyar

Appearance

Sidebar Navigation

Foundations

Accessibility

Overview: Principles

Overview: Assistive technology

Designing: Overview

Designing: Color contrast

Designing: Structure

Designing: Flow

Designing: Elements

Writing and text: Best practices

Writing and text: Text truncation

Writing and text: Text resizing

Building for all: User needs

Building for all: Co-design

Content design

Overview

Alt text

Global writing: Overview

Global writing: Word choice

Notifications

Style guide: UX writing best practices

Style guide: Word choice

Style guide: Grammar and punctuation

Customizing Material

Devices

Watches: Overview

Watches: Foundations

Watches: Styles

Watches: Layout

XR

Design: Overview

Design: Interaction

Design: Layout

Design: Accessibility

Components: Overview

Components: App bars

Components: Dialogs

Components: Nav bar

Components: Nav rail

Components: Toolbars

Design tokens: Overview

Design tokens: How to use tokens

Interaction

Gestures

Inputs

Selection

States: Overview

States: State layers

States: Applying states

Layout

Overview: Overview

Overview: Parts of layout

Overview: Adaptive design

Scaffold: Overview

Scaffold: Bars

Scaffold: Rails

Scaffold: Panes

Grids & spacing: Overview

Grids & spacing: Grids

Grids & spacing: Spacing

Grids & spacing: Density

Breakpoints: Overview

Breakpoints: Compact

Breakpoints: Medium

Breakpoints: Expanded

Breakpoints: Large & extra-large

Bidirectionality & RTL

Canonical examples: Overview

Canonical examples: Feed

Canonical examples: List-detail

Canonical examples: Supporting pane

Usability: Overview

Usability: Applying M3 Expressive

Material A-Z

Styles

Color

Color system: Overview

Color system: How the system works

Color roles

Color schemes

Choosing a scheme

Static: Baseline

Static: Custom brand

Dynamic: Choosing a source

Dynamic: User-generated source

Dynamic: Content-based source

Advanced: Overview

Advanced: Apply colors

Advanced: Define new colors

Advanced: Adjust existing colors

Color resources

Elevation: Overview

Elevation: Applying elevation

Elevation: Tokens

Icons: Overview

Icons: Designing icons

Icons: Applying icons

Motion

Motion physics system: How it works

Motion physics system: Specs

Easing and duration: Applying easing and duration

Easing and duration: Tokens & specs

Transitions: Transition patterns

Transitions: Applying transitions

Shape: Overview & principles

Shape: Corner radius scale

Shape: Shape morph

Spacing: Overview

Spacing: Applying spacing

Spacing: Tokens

Typography: Overview

Typography: Fonts

Typography: Type scale & tokens

Typography: Applying type

Typography: Editorial treatments

Components

App bars: Overview

App bars: Specs

App bars: Guidelines

App bars: Accessibility

Badges: Overview

Badges: Specs

Badges: Guidelines

Badges: Accessibility

Buttons

All buttons

Button groups: Overview

Button groups: Specs

Button groups: Guidelines

Button groups: Accessibility

Buttons: Overview

Buttons: Specs

Buttons: Guidelines

Buttons: Accessibility

Extended FABs: Overview

Extended FABs: Specs

Extended FABs: Guidelines

Extended FABs: Accessibility

FAB menu: Overview

FAB menu: Specs

FAB menu: Guidelines

FAB menu: Accessibility

FABs: Overview

FABs: Specs

FABs: Guidelines

FABs: Accessibility

Icon buttons: Overview

Icon buttons: Specs

Icon buttons: Guidelines

Icon buttons: Accessibility

Segmented buttons: Overview

Segmented buttons: Specs

Segmented buttons: Guidelines

Segmented buttons: Accessibility

Split button: Overview

Split button: Specs

Split button: Guidelines

Split button: Accessibility

Cards: Overview

Cards: Specs

Cards: Guidelines

Cards: Accessibility

Carousel: Overview

Carousel: Specs

Carousel: Guidelines

Carousel: Accessibility

Checkbox: Overview

Checkbox: Specs

Checkbox: Guidelines

Checkbox: Accessibility

Chips: Overview

Chips: Specs

Chips: Guidelines

Chips: Accessibility

Date & time pickers

Date pickers: Overview

Date pickers: Specs

Date pickers: Guidelines

Date pickers: Accessibility

Time pickers: Overview

Time pickers: Specs

Time pickers: Guidelines

Time pickers: Accessibility

Dialogs: Overview

Dialogs: Specs

Dialogs: Guidelines

Dialogs: Accessibility

Divider: Overview

Divider: Specs

Divider: Guidelines

Divider: Accessibility

Lists: Overview

Lists: Specs

Lists: Guidelines

Lists: Accessibility

Loading & progress

Loading indicator: Overview

Loading indicator: Specs

Loading indicator: Guidelines

Loading indicator: Accessibility

Progress indicators: Overview

Progress indicators: Specs

Progress indicators: Guidelines

Progress indicators: Accessibility

Menus: Overview

Menus: Specs

Menus: Guidelines

Menus: Accessibility

Navigation

Navigation bar: Overview

Navigation bar: Specs

Navigation bar: Guidelines

Navigation bar: Accessibility

Navigation drawer: Overview

Navigation drawer: Specs

Navigation drawer: Guidelines

Navigation drawer: Accessibility

Navigation rail: Overview

Navigation rail: Specs

Navigation rail: Guidelines

Navigation rail: Accessibility

Radio button: Overview

Radio button: Specs

Radio button: Guidelines

Radio button: Accessibility

Search: Overview

Search: Specs

Search: Guidelines

Search: Accessibility

Sheets

Bottom sheets: Overview

Bottom sheets: Specs

Bottom sheets: Guidelines

Bottom sheets: Accessibility

Side sheets: Overview

Side sheets: Specs

Side sheets: Guidelines

Side sheets: Accessibility

Sliders: Overview

Sliders: Specs

Sliders: Guidelines

Sliders: Accessibility

Snackbar: Overview

Snackbar: Specs

Snackbar: Guidelines

Snackbar: Accessibility

Switch: Overview

Switch: Specs

Switch: Guidelines

Switch: Accessibility

Tabs: Overview

Tabs: Specs

Tabs: Guidelines

Tabs: Accessibility

Text fields: Overview

Text fields: Specs

Text fields: Guidelines

Text fields: Accessibility

Toolbars: Overview

Toolbars: Specs

Toolbars: Guidelines

Toolbars: Accessibility

Tooltips: Overview

Tooltips: Specs

Tooltips: Guidelines

Tooltips: Accessibility

On this page

Navigation rail: Specs ​

Navigation rails let people switch between UI views on mid-sized devices

Variants ​

2 variants of navigation rails.
  1. Collapsed navigation rail
  2. Expanded navigation rail

Baseline variants ​

The baseline navigation rail is no longer recommended, and should be replaced by the collapsed navigation rail. View baseline tokens

Baseline navigation rail.
  1. The baseline navigation rail is no longer recommended

VariantM3M3 Expressive
Collapsed navigation rail--Available
Expanded navigation rail--Available
Navigation rail (baseline)AvailableNot recommended. Use collapsed navigation rail.

Configurations ​

Standard and modal layouts of navigation rail.
  1. Expanded layout: standard
  2. Expanded layout: modal

CategoryConfigurationM3M3 Expressive
Expanded layoutStandard (default)Available as navigation drawerNavigation drawers let people switch between UI views on larger devices. In the expressive update, use an expanded navigation rail.More on navigation drawersAvailable
ModalAvailable as navigation drawerNavigation drawers let people switch between UI views on larger devices. In the expressive update, use an expanded navigation rail.More on navigation drawersAvailable
Expanded behaviorHide when collapsed--Available

Tokens & specs ​

Browse the component elements, attributes, tokens, and their values. Learn about design tokens

Nav rail - Common ​

Theme
Contrast

Nav rail - Collapsed ​

Theme
Contrast
TokenValue
Nav rail collapsed container width96dp
Nav rail collapsed narrow container width80dp
Nav rail collapsed container elevation0dp
Nav rail collapsed container shape0dp
Nav rail collapsed container color#FEF7FF
Nav rail collapsed item vertical space4dp
Nav rail collapsed item top space44dp

Nav rail - Expanded ​

Theme
Contrast
TokenValue
Nav rail expanded container width minimum220dp
Nav rail expanded container width maximum360dp
Nav rail expanded top space44dp
Nav rail expanded container elevation0dp
Nav rail expanded modal container elevation3dp
Nav rail expanded container color#FEF7FF
Nav rail expanded modal container color#F3EDF7
Nav rail expanded container shape0dp
Nav rail expanded modal container shape16dp
Nav rail expanded between item space0dp
Nav rail expanded vertical trailing space20dp

Nav rail item - Common ​

TokenValue
Nav rail item icon size24dp
Nav rail item active indicator shapeCircular
Nav rail item active indicator leading space16dp
Nav rail item active indicator icon label space8dp
Nav rail item active indicator trailing space16dp
Nav rail item container height64dp
Nav rail item short container height56dp
Nav rail item container shape0dp
Nav rail item container vertical space6dp
Nav rail item header space minimum40dp

Nav rail item - Vertical ​

TokenValue
Nav rail item vertical active indicator height32dp
Nav rail item vertical active indicator width56dp
Nav rail item vertical label text fontRoboto
Nav rail item vertical label text weight500
Nav rail item vertical label text size12pt
Nav rail item vertical label text line height16pt
Nav rail item vertical label text tracking0.5pt
Nav rail item vertical icon label space4dp
Nav rail item vertical icon leading-space16dp
Nav rail item vertical icon trailing space16dp

Nav rail item - Horizontal ​

TokenValue
Nav rail item horizontal label text fontRoboto
Nav rail item horizontal label text weight500
Nav rail item horizontal label text size14pt
Nav rail item horizontal label text line height20pt
Nav rail item horizontal label text tracking0.1pt
Nav rail item horizontal active indicator height56dp
Nav rail item horizontal full width leading space16dp
Nav rail item horizontal full width trailing space16dp
Nav rail item horizontal icon-label-space8dp

Anatomy ​

9 elements of collapsed and expanded navigation rails.

Collapsed and expanded navigation rail elements:

  1. Container
  2. Menu (optional)
  3. FAB or Extended FAB (optional)
  4. Icon
  5. Active indicator
  6. Label text
  7. Large badge (optional)
  8. Large badge label (optional)
  9. Small badge (optional)

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

Color roles of 9 elements of collapsed and expanded navigation rails in light and dark color schemes.

Navigation rail color roles used for light and dark schemes:

  1. Surface container (optional)
  2. On secondary container
  3. Secondary container
  4. Secondary (vertical), On secondary container (horizontal)
  5. On surface variant
  6. On surface variant
  7. Error
  8. On error
  9. Error

States ​

StatesStates show the interaction status of a component or UI element.More on states are visual representations used to communicate the status of a component or an interactive element.

The navigation item's target area always spans the full width of the nav rail, even if the item container hugs its contents.

4 states of collapsed navigation rails.
4 states of expanded navigation rails.
  1. Enabled
  2. Hovered
  3. Focused
  4. Pressed

Measurements ​

Padding and measurements for expanded and collapsed navigation rails.

Navigation rail padding and size measurements

Common layouts ​

4 common layouts of collapsed navigation rail.
4 common layouts of expanded navigation rail.
  1. Three navigation items
  2. Three navigation items with a menu
  3. Three navigation items with a FAB
  4. Three navigation items with a menu and FAB

Baseline navigation rail ​

8 elements of baseline navigation rail.
  1. Container
  2. Menu icon (optional)
  3. Icon
  4. Active indicator
  5. Label text
  6. Large badge label (optional)
  7. Large badge (optional)
  8. Badge (optional)

Tokens & specs ​

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

8 color roles of baseline navigation rail.

Navigation rail color roles used for light and dark themes:

  1. On secondary container
  2. Secondary container
  3. On surface
  4. On surface variant
  5. On surface variant
  6. Error
  7. On error
  8. Error

States ​

States are visual representations used to communicate the status of a component or interactive element.

8 states of baseline navigation rail.

Navigation rail states:

  1. Enabled (on active destination)
  2. Hovered (on active destination)
  3. Focused (on active destination)
  4. Pressed (on active destination)
  5. Enabled (on inactive destination)
  6. Hovered (on inactive destination)
  7. Focused (on inactive destination)
  8. Pressed (on inactive destination)

Measurements ​

Baseline nav rail size measurements.
Navigation rail size measurements
Baseline nav rail padding and margin measurements.
Navigation rail padding and margin measurements

Configurations ​

Common arrangements of elements within a navigation rail.

5 configurations of the baseline navigation rail.
  1. With a menu
  2. With a FAB
  3. With menu and FAB, without labels
  4. All destinations with text labels
  5. With menu, FAB, and label text for all destinations
Pager
Previous pageNavigation rail: Overview
Next pageNavigation rail: Guidelines

Released under the Apache 2.0 or CC BY 4.0

Copyright © 2018-Present Google

https://m3.material.io/components/navigation-rail/specs

Released under the Apache 2.0 or CC BY 4.0

Copyright © 2018-Present Google