Modals, Drawers and Popovers
Level 4 · Layers, messages and waiting
Five layers that open on top of a page: tooltip, popover, drawer, bottom sheet and modal dialog. How much of the page each one takes away.
Course contentsLesson 10 of 14
Level 1 · Parts and their states
Level 2 · Getting answers in
Level 3 · Finding your way
Level 4 · Layers, messages and waiting
Level 5 · Showing many things
After this lesson you can
- Order the five layers by how much they block
- Choose a modal only when it is needed
- Use a bottom sheet on a phone
11 mincovers 5 glossary entries
Worth reading first: Menus, Toolbars and Palettes
How much of the page each layer takes away
Five layers can open on top of a page, and what separates them is how much of the page they take away. A tooltip covers almost nothing. A popover covers a little. A drawer and a bottom sheet cover a side or the bottom. A modal dialog blocks the whole page until you answer it.
A tooltip is a small label that pops up when you point at a thing. It holds a few words, like Delete under a trash icon. It should never hold anything you need to click, because it vanishes when the pointer moves away. On a phone, with no pointer, it barely works at all.
A popover is a small panel that opens next to what you clicked. Unlike a tooltip, it can hold buttons, a short form or a list of options. It stays open until you click somewhere else. The rest of the page still works while it is open.
A drawer is a panel that slides in from the edge of the screen, then slides away. It suits filters, settings or a long menu. A bottom sheet is the phone version, rising from the bottom of the screen, near the thumb. Both leave part of the page in view, so people keep their place.
A modal dialog is a box on top of the page that blocks everything else until you answer. The page behind it is dimmed. Use it only when the user must decide before going on, such as delete these 3 files. It should close with the Escape key, and the keyboard should stay inside it while it is open.
Each step up the list costs the user more. A modal stops their work cold. That is right for a choice that cannot be undone, and wrong for a newsletter offer. A pop-up that blocks the page to sell something is the fastest way to make people leave.
The common mistake is to reach for a modal for every small task. Editing one field, picking a date or showing a tip rarely needs the whole page blocked. Pick the lightest layer that does the job.
Open each layer
- report.pdf
- notes.txt
- photo.jpg
Interrupts nothing. It leaves the moment you look away.
Open each one and try to press a file behind it. That is the only difference that matters.
Open each of the five, then try to press a file behind it. Only some of them let you.
Five layers at a glance
| Layer | How much it covers | Use it for |
|---|---|---|
| Tooltip | A few words | Naming an icon |
| Popover | A small panel | A few options or a short form |
| Drawer | One side of the screen | Filters or settings |
| Bottom sheet | The bottom of a phone screen | Actions near the thumb |
| Modal dialog | The whole page, until you answer | A choice that cannot be undone |
Worked example
A shop moves its filters into a drawer
A clothing shop showed its filters in a modal dialog. Each time a shopper ticked a size, the modal had to close before they could see the results.
The team moved the filters into a drawer that left the products in view. Shoppers now saw the list change with each tick, and used filters more often.
The words for this lesson5
Check yourself
When is a modal dialog the right choice?
Finished this lesson?
Marking it complete also marks its 5 glossary entries learned, which updates your roadmap and your saved page. 0 are already marked.