Navigation rail: Specs
Navigation rails let people switch between UI views on mid-sized devices
Variants

- Collapsed navigation rail
- 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

- The baseline navigation rail is no longer recommended
| Variant | M3 | M3 Expressive |
|---|---|---|
| Collapsed navigation rail | -- | Available |
| Expanded navigation rail | -- | Available |
| Navigation rail (baseline) | Available | Not recommended. Use collapsed navigation rail. |
Configurations

- Expanded layout: standard
- Expanded layout: modal
| Category | Configuration | M3 | M3 Expressive |
|---|---|---|---|
| Expanded layout | Standard (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 drawers | Available |
| Modal | 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 drawers | Available | |
| Expanded behavior | Hide when collapsed | -- | Available |
Tokens & specs
Browse the component elements, attributes, tokens, and their values. Learn about design tokens
Nav rail - Common
Nav rail - Collapsed
| Token | Value |
|---|---|
| Nav rail collapsed container width | 96dp |
| Nav rail collapsed narrow container width | 80dp |
| Nav rail collapsed container elevation | 0dp |
| Nav rail collapsed container shape | 0dp |
| Nav rail collapsed container color | #FEF7FF |
| Nav rail collapsed item vertical space | 4dp |
| Nav rail collapsed item top space | 44dp |
Nav rail - Expanded
| Token | Value |
|---|---|
| Nav rail expanded container width minimum | 220dp |
| Nav rail expanded container width maximum | 360dp |
| Nav rail expanded top space | 44dp |
| Nav rail expanded container elevation | 0dp |
| Nav rail expanded modal container elevation | 3dp |
| Nav rail expanded container color | #FEF7FF |
| Nav rail expanded modal container color | #F3EDF7 |
| Nav rail expanded container shape | 0dp |
| Nav rail expanded modal container shape | 16dp |
| Nav rail expanded between item space | 0dp |
| Nav rail expanded vertical trailing space | 20dp |
Nav rail item - Common
| Token | Value |
|---|---|
| Nav rail item icon size | 24dp |
| Nav rail item active indicator shape | Circular |
| Nav rail item active indicator leading space | 16dp |
| Nav rail item active indicator icon label space | 8dp |
| Nav rail item active indicator trailing space | 16dp |
| Nav rail item container height | 64dp |
| Nav rail item short container height | 56dp |
| Nav rail item container shape | 0dp |
| Nav rail item container vertical space | 6dp |
| Nav rail item header space minimum | 40dp |
Nav rail item - Vertical
| Token | Value |
|---|---|
| Nav rail item vertical active indicator height | 32dp |
| Nav rail item vertical active indicator width | 56dp |
| Nav rail item vertical label text font | Roboto |
| Nav rail item vertical label text weight | 500 |
| Nav rail item vertical label text size | 12pt |
| Nav rail item vertical label text line height | 16pt |
| Nav rail item vertical label text tracking | 0.5pt |
| Nav rail item vertical icon label space | 4dp |
| Nav rail item vertical icon leading-space | 16dp |
| Nav rail item vertical icon trailing space | 16dp |
Nav rail item - Horizontal
| Token | Value |
|---|---|
| Nav rail item horizontal label text font | Roboto |
| Nav rail item horizontal label text weight | 500 |
| Nav rail item horizontal label text size | 14pt |
| Nav rail item horizontal label text line height | 20pt |
| Nav rail item horizontal label text tracking | 0.1pt |
| Nav rail item horizontal active indicator height | 56dp |
| Nav rail item horizontal full width leading space | 16dp |
| Nav rail item horizontal full width trailing space | 16dp |
| Nav rail item horizontal icon-label-space | 8dp |
Anatomy

Collapsed and expanded navigation rail elements:
- Container
- Menu (optional)
- FAB or Extended FAB (optional)
- Icon
- Active indicator
- Label text
- Large badge (optional)
- Large badge label (optional)
- 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

Navigation rail color roles used for light and dark schemes:
- Surface container (optional)
- On secondary container
- Secondary container
- Secondary (vertical), On secondary container (horizontal)
- On surface variant
- On surface variant
- Error
- On error
- 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.


- Enabled
- Hovered
- Focused
- Pressed
Measurements

Navigation rail padding and size measurements
Common layouts


- Three navigation items
- Three navigation items with a menu
- Three navigation items with a FAB
- Three navigation items with a menu and FAB
Baseline navigation rail

- Container
- Menu icon (optional)
- Icon
- Active indicator
- Label text
- Large badge label (optional)
- Large badge (optional)
- 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

Navigation rail color roles used for light and dark themes:
- On secondary container
- Secondary container
- On surface
- On surface variant
- On surface variant
- Error
- On error
- Error
States
States are visual representations used to communicate the status of a component or interactive element.

Navigation rail states:
- Enabled (on active destination)
- Hovered (on active destination)
- Focused (on active destination)
- Pressed (on active destination)
- Enabled (on inactive destination)
- Hovered (on inactive destination)
- Focused (on inactive destination)
- Pressed (on inactive destination)
Measurements


Configurations
Common arrangements of elements within a navigation rail.

- With a menu
- With a FAB
- With menu and FAB, without labels
- All destinations with text labels
- With menu, FAB, and label text for all destinations