overlay
Any piece of interface that appears on top of the page, such as a modal dialog, popover, tooltip, menu or toast.
In more detail
Overlays share hard problems: escaping clipping by ancestors, stacking order, focus management, scroll locking and dismissal with Escape. Design systems solve these once in overlay primitives.
Related terms
- modal dialog — A window laid over the page that users must deal with before returning to the page beneath, with role="dialog" and aria-modal="true".
- popover — A floating panel opened by an explicit click that can contain interactive content such as forms, links or a date picker.
- tooltip — A small text label that appears when a control is hovered or focused, describing it briefly.
- portal — A React feature, createPortal, that renders a component's children into a different place in the DOM, usually document.body.
- stacking context — A group of elements that the browser layers together, so their z-index values only compete with each other and not with the rest of the page.
Taught in
- Seven Steps Called GitOps: The Declarative Principle — Certified GitOps Associate (CGOA) Exam Prep
- Principles Sprint: Six Setups, One Question — Certified GitOps Associate (CGOA) Exam Prep
- Thursday, With A Way Back: Promotion, Deploy And Release — Certified GitOps Associate (CGOA) Exam Prep
- Three Teams, Three Formats: Manifests And Packaging — Certified GitOps Associate (CGOA) Exam Prep
- A Bake-Off With One Rule: Argo CD And Flux — Certified GitOps Associate (CGOA) Exam Prep
- Tooling Sprint: The CTO's Shopping List — Certified GitOps Associate (CGOA) Exam Prep
- Overlay Architecture: Portals, Stacking Contexts & Backdrops — Design Systems & Component Engineering
- Focus Management: Trapping, Restoration & Focus Rings — Design Systems & Component Engineering
- Modal Dialogs & Alert Dialogs: Accessible Overlay Patterns — Design Systems & Component Engineering
- Floating Primitives: Popovers, Tooltips & Positioning — Design Systems & Component Engineering