Overlay
A layer placed above content, often dimming what is behind.
See it on the 3D treeGoing deeper
The word describes the layer itself, whatever sits on it. A dimming layer behind a dialog is often called a scrim or backdrop. Overlays also appear as text-protecting tints on photographs, loading veils and full-screen menus. Not every overlay blocks interaction, so it is not a synonym for modal.
Why it matters
It sets up a clear front and back, directing attention or improving contrast without moving to another screen.
In practice
White headline text is unreadable over a bright photo, so you add a semi-transparent dark gradient between the image and the words.
Common mistake
Dimming the page visually while keyboard and screen reader users can still move through the content behind the overlay.
Connected terms
- DrawerA modal drawer dims the rest of the screen with an overlay.
- ModalModals typically rest on an overlay, which blocks and dims everything behind them.
- ElevationAn overlay sits at a higher level in the interface's stacking order than the page.
- OpacityThe overlay's opacity decides how much of the underlying content stays visible.