Skip to main content

Drawer

UI Design

What is a Drawer

A drawer is a panel that slides in from the edge of the screen, usually from the left, to show navigation or extra content. Users open it with a button, often a hamburger icon, and close it when they are done.

Types of Drawers

  • Modal drawer: Covers the content with a dimmed scrim until closed
  • Standard drawer: Sits beside the content, which stays usable
  • Side sheet: A drawer for secondary content or filters, often on the right

When to use a Drawer

Use drawers for secondary navigation or many destinations that do not fit in a tab bar, and for filters and details that users open now and then. Keep the most important destinations visible, because hidden navigation is used less.

Drawer best practices

Give the open button a clear label and large touch target. Let users close the drawer with a tap outside, a swipe or the Escape key. Note that Material 3 Expressive replaces the navigation drawer with an expanded navigation rail.

Frequently asked questions

What is the difference between a drawer and a sidebar?

A drawer slides in from the edge of the screen when users open it and slides away again. A sidebar is usually visible all the time next to the content, on larger screens.

What is the difference between a modal and a standard drawer?

A modal drawer covers the content with a dimmed scrim and must be closed before users continue. A standard drawer sits beside the content, so users can use both at once.

Is the navigation drawer still recommended in Material Design?

Google is deprecating the navigation drawer in the Material 3 Expressive update and recommends an expanded navigation rail instead, which adapts better across screen sizes.