Skip to content
BENIBIX Learn

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.

Design🖼️ User Interface

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.

Example
Leo presses Delete. A modal asks: Delete 3 photos? with Cancel and Delete buttons. The page behind is greyed out.
Why it matters
It asks for one choice at the right time. So a risky step is not taken by mistake.
Full entry
Design🖼️ User Interface

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.

Example
On a shop's phone site, Mia taps Filters. A drawer slides in from the right with size and colour choices.
Why it matters
It gives extra room for options without leaving the page.
Full entry

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.