What is a drawer?
A navigation drawer is a panel of destinations that slides in from the side of the screen (the left in left-to-right languages, the right in Arabic or Hebrew). It’s usually opened by the menu button, the three-line icon people call the hamburger (☰). On the web the same thing is called a hamburger menu, side menu or off-canvas menu.
It holds destinations that don’t fit in, or don’t deserve, a permanent spot on screen: all the categories of a shop, mail folders and labels, Settings, Help, Legal.
Anatomy
Labels
Material 3 modal navigation drawer: closed and open
- 1
Menu button (hamburger)
Opens the drawer. Needs a name (“Menu”) and, on the web, aria-expanded that changes.
- 2
Scrim
Dims the page behind a modal drawer. Tapping it closes the drawer.
- 3
Drawer sheet
Slides in from the start edge. Gets focus when it opens and keeps it inside.
- 4
Headline
Optional title or account switcher at the top.
- 5
Destination
Icon plus label. Selecting one navigates and closes a modal drawer.
- 6
Active indicator
Marks the current page. Must match where you really are.
- 7
Badge
Unread count, e.g. 24 in Inbox. Must stay current.
- 8
Divider & section label
Groups secondary destinations like labels, Settings and Help.
Modal or standard?
| Type | Where | How it behaves |
|---|---|---|
| Modal drawer | Phones, small windows | Slides over the page with a scrim. Must be closed before you can use the page again. Like a modal. |
| Standard (permanent) drawer | Tablets, desktops | Sits next to the content, no scrim. Often collapsible to a narrow rail of icons. |
Many apps switch between the two at a breakpointBreakpointA screen width where a responsive layout changes, for example from one column to two.Open in glossary →: a modal drawer on a phone, a standard drawer on a tablet in landscape. Test both sides of the breakpoint, and what happens when you rotate or resize while the drawer is open.
How it differs from similar components
| Component | Best for | Visible? |
|---|---|---|
| Drawer | Many or secondary destinations | Hidden until opened (modal) |
| Bottom bar | 3–5 main areas, used often | Always on screen |
| Tabs | Sections of one screen | Always on screen |
| Bottom sheet | Actions or options for the current task | Opened on demand |
Designs & variants
Open and close each drawer in every way you can think of: tap, swipe, Esc, keyboard only.
Inbox
- Anna · Flight to Lisbon
- Shop · Your parcel is on its way
- Mila · Lunch Friday?
- Bank · Statement ready
- Gym · New class times
- Leo · Photos from Sunday
Modal navigation drawer
AndroidTap ☰. The drawer slides over the page with a scrim. Close it by choosing a destination, tapping the scrim, swiping it left or pressing Esc. Focus returns to ☰.
Home
Hamburger menu
WebThe button’s name and aria-expanded change with the state. Picking a page closes the menu. Try it with Tab, Enter and Esc.
Dashboard
Standard (permanent) drawer
Tablet · DesktopOn wide screens the drawer stays next to the content, with no scrim. Collapse it to a rail of icons to give the content more room.
Check this part
What's the difference between a modal and a standard drawer?
What do iPhone apps usually use instead of a hamburger menu?