Skip to main content
NavigationLevel 2

Navigation Rail

侧边导航栏

WebMobileDesktopDifficulty: Medium

A column of navigation items placed vertically on the left, for layouts with more vertical room than horizontal.

01

Live Demo

Actually clickable
Icon-only (80px)

Main content

Hit "Toggle" to see the difference between a nav rail and a sidebar: icon-only vs expanded — really the same thing at two widths.

What you just saw:Open a web admin console or a tablet productivity app and the vertical stack of icons plus labels on the left is the navigation rail. Hit the hamburger button and it expands into a full sidebar.

02

What it actually is

A navigation rail is the vertical twin of bottom navigation. On tablets, desktops, and wide web layouts it replaces bottom navigation, fits more destinations, and can expand to show text labels.

side railvertical navside navigationicon railvertical sidebar
03

Anatomy · What it's made of

  1. Rail导航轨容器

    Vertical arrangement, collapsible

  2. Destination导航项

    Icon + label

  3. FAB浮动按钮位

    The top of the rail often holds the primary action

  4. Collapse Toggle折叠开关

    Switches between icon-only and expanded

04

When to Use

When it fits, and when it doesn't
Navigation Rail usage recommendations
SituationUse it?
Tablet, desktop, or widescreen layoutsYes
There are more than 5 destinationsYes
Global navigation must stay visible at all timesYes
Small phone screens in portraitNo

On a phone it eats precious width — bottom navigation or a hamburger menu is better.

With only two destinations, a row of text links is enough.

05

Similar Patterns

Don't mix these up
06

How to tell AI

Three levels of prompt

Add the component name and specifics

Add a navigation rail to the left of the tablet layout, icon above label, with Overview / Media / Albums / Settings, collapsible down to icons only.

07

Don't just say this to AI

Bad → Better

Don't say this to AI

Add a sidebar menu on the left.

Say this instead

Add a navigation rail on the left — icon above label — that automatically collapses into a hamburger-controlled Drawer below 840px width.

08

Share this card

Social-ready

Turn this pattern into a 3:4 or 1:1 knowledge card and export it as PNG right in the browser. No backend needed.