Modal Dialog vs Drawer
A modal sits in the middle and blocks the page until you answer it. A drawer slides in from the edge to hold extra menus or filters, and the page stays close by.
Modal Dialog
A box on top of the page that blocks the rest until you answer.
A modal dialog is a box that opens on top of the page and blocks it. Nothing behind it can be used until it is dealt with. The page behind is dimmed. It suits a short, focused task or an important question, like Delete this file? It must close with Escape and a clear Close or Cancel button. Overusing modals breaks people's flow.
Drawer
A panel that slides in from the edge of the screen, then slides away.
A drawer is a panel that slides in from the edge of the screen, usually the left or right, on top of the page. It holds navigation, filters or details that are not needed all the time. It closes with a button, a swipe or a tap outside. On phones, the main menu often lives in a drawer opened by a menu button.
In one line
- Modal Dialog
- A box on top of the page that blocks the rest until you answer.
- Drawer
- A panel that slides in from the edge of the screen, then slides away.