Learn 36 Overlays concepts for Frontend development, with definitions, aliases, and ready-to-use AI prompts.
Dialogs & modal tasks
Modal dialog
A focused task window that makes the page behind it temporarily inactive.
Also known as
Modal, Dialog box, Modal window
AI prompt
Create an accessible modal dialog with a labelled title, an initial focus target, focus containment, Escape-key dismissal, an inert backdrop, and focus restoration to the opening control.
Alert dialog
An urgent modal message that requires acknowledgement or a decision.
Also known as
Alert box, System alert, Critical dialog
AI prompt
Create an accessible alert dialog for an urgent session-expiry warning using role alertdialog, a concise consequence, one primary action, an optional safe alternative, and keyboard focus on the least destructive choice.
Confirmation dialog
A final check before a consequential or destructive action is committed.
Create a confirmation dialog for deleting a project. State the project name and irreversible consequence, visually distinguish Cancel from Delete, default focus to Cancel, support Escape, and return focus to the delete trigger.
Form dialog
A compact form presented in a dialog without leaving the current context.
Also known as
Modal form, Edit dialog, Quick-create dialog
AI prompt
Create an accessible form dialog for inviting a teammate with labelled fields, inline validation, Cancel and Send invite actions, focus on the first field, and submission that preserves errors without closing.
Wizard dialog
A multi-step modal flow for completing one bounded task.
Also known as
Stepper modal, Multi-step dialog, Setup wizard
AI prompt
Create a three-step setup wizard dialog with a visible progress indicator, meaningful step titles, Back and Continue actions, validation before advancing, preserved input, and a review step before completion.
Full-screen dialog
A modal task surface that occupies the viewport for complex work on small screens.
Also known as
Full-screen modal, Immersive dialog, Mobile modal page
AI prompt
Create a responsive full-screen dialog for editing a report, with a persistent title bar, close and save actions, internal scrolling, safe-area spacing, unsaved-change confirmation, and correct focus restoration.
Non-modal dialog
A floating window that stays open while the rest of the interface remains usable.
Also known as
Modeless dialog, Floating window, Utility window
AI prompt
Create a non-modal find-and-replace dialog that can stay open while the document remains interactive. Provide a clear title, close control, sensible tab order, draggable visual affordance, and no inert backdrop.
Choice dialog
A dialog that asks the user to select one option from a short set.
Also known as
Selection dialog, Option dialog, Picker dialog
AI prompt
Create an accessible choice dialog for selecting an export format. Use a short radio group with helpful descriptions, preserve the current choice, and provide Cancel and Export actions with a clearly named dialog.
Reauthentication dialog
A security dialog that verifies identity before a sensitive action.
Create a reauthentication dialog before revealing an API secret. Explain why verification is required, request the account password, support a passkey alternative, avoid exposing sensitive values, and return to the original action after success.
Anchored overlays & menus
Tooltip
A brief, non-interactive label or hint anchored to a control.
Also known as
Hover hint, Label tip, Help tip
AI prompt
Create an accessible tooltip for an icon-only button. Show it on hover and keyboard focus after a short delay, connect it with aria-describedby, keep the text concise and non-interactive, and dismiss it on Escape or pointer exit.
Definition tooltip
A short explanation of an unfamiliar term shown next to the term.
Also known as
Glossary tooltip, Term definition, Abbreviation tooltip
AI prompt
Create a definition tooltip for the term API. Make the trigger keyboard focusable, announce the definition through aria-describedby, show it on focus or hover, keep it concise, and do not place links or buttons inside it.
Toggletip
A click-triggered help bubble that may contain richer text or actions.
Also known as
Click tip, Info bubble, Help popover
AI prompt
Create a toggletip opened by an information button. Use aria-expanded and aria-controls, allow a short explanation and Learn more link, close on Escape or outside click, and return focus to the trigger.
Popover
A small anchored surface with contextual content and optional actions.
Also known as
Pop-over, Callout, Flyout
AI prompt
Create a profile popover anchored to an avatar with the person’s role and two related actions. Position it within the viewport, connect it to the trigger, close on Escape or outside click, and avoid nested popovers.
Hover card
A preview card that reveals more information about a linked item.
Also known as
Preview card, Context card, Link preview
AI prompt
Create an accessible hover card for a team member link. Open it on hover and focus without stealing focus, include a compact profile preview, keep it open while the pointer moves into it, and dismiss it predictably.
Menu button
A button that opens a menu of actions or choices.
Also known as
Dropdown menu, Action menu, Menu trigger
AI prompt
Create an accessible menu button labelled Actions with aria-haspopup and aria-expanded. Support Enter, Space and arrow keys, move focus among menu items, close on Escape, and restore focus to the trigger.
Overflow menu
A compact menu for secondary actions that do not fit in the main interface.
Also known as
Kebab menu, More menu, Ellipsis menu
AI prompt
Create an accessible overflow menu opened by an icon button named More actions. Include Rename, Duplicate and Delete, preserve a logical order, expose the button name to assistive technology, and close after a selection.
Context menu
A menu of actions relevant to the item or area that invoked it.
Also known as
Right-click menu, Shortcut menu, Contextual menu
AI prompt
Create a context menu for a file row that opens by right-click and a keyboard-accessible actions button. Position it near the invocation point, use menu semantics, support arrow-key navigation, and provide Rename, Move and Delete.
Submenu
A nested menu that reveals a related second level of commands.
Also known as
Cascading menu, Nested menu, Flyout submenu
AI prompt
Create an accessible submenu under Move to with a visible direction indicator, delayed pointer opening, arrow-key navigation between parent and child menus, Escape behavior one level at a time, and viewport-aware positioning.
Drawers, sheets & panels
Navigation drawer
A side panel that reveals primary destinations, commonly on compact screens.
Also known as
Nav drawer, Off-canvas navigation, Mobile menu
AI prompt
Create a responsive navigation drawer opened by a menu button. On mobile, add a dismissible scrim, trap focus while modal, close on Escape or destination selection, and restore focus to the menu button.
Modal drawer
A side panel that blocks interaction with the underlying page until dismissed.
Also known as
Overlay drawer, Slide-over, Modal side panel
AI prompt
Create a modal drawer for editing project settings. Slide it from the right, add a scrim, keep focus inside, provide a labelled close button, allow Escape dismissal, and restore focus to the original trigger.
Non-modal drawer
A side panel that stays visible while the main content remains interactive.
Also known as
Persistent drawer, Modeless drawer, Side pane
AI prompt
Create a non-modal activity drawer beside a dashboard. Keep the main content usable, provide a persistent close control, resize or reflow content rather than covering essential controls, and preserve the user’s open state.
Side sheet
A supplementary surface anchored to the left or right edge for related work.
Also known as
Side panel, Details panel, Inspector sheet
AI prompt
Create a responsive side sheet showing customer details beside a results table. Use a clear heading, close control, internal scrolling, adaptive modal behavior on narrow screens, and no loss of table context on desktop.
Bottom sheet
A touch-friendly panel that rises from the bottom edge of the screen.
Also known as
Bottom drawer, Slide-up panel, Mobile sheet
AI prompt
Create a mobile bottom sheet for choosing a delivery time. Include a drag handle, clear heading, large touch targets, safe-area padding, a scrim for modal use, swipe or close-button dismissal, and sensible focus behavior.
Action sheet
A mobile sheet presenting a short set of context-specific actions.
Also known as
Action panel, Mobile action menu, Option sheet
AI prompt
Create a mobile action sheet for a photo with Share, Duplicate and Delete actions plus a separate Cancel action. Use large touch targets, make destructive styling explicit, and dismiss after selection or Escape.
Share sheet
A system-style surface for choosing people, apps, or sharing actions.
Also known as
Activity view, Sharing panel, Share menu
AI prompt
Create a share sheet for a project link with recent people, app destinations, Copy link and Download actions. Use a responsive grid, clear accessible labels, keyboard navigation, and native share APIs when available.
Filter panel
A temporary panel containing controls that refine a data view.
Also known as
Filter drawer, Faceted panel, Refinement panel
AI prompt
Create a responsive filter panel for a product list with applied-filter count, grouped controls, Clear all and Show results actions, preserved selections, and modal drawer behavior on small screens.
Inspector panel
A contextual properties panel for examining or editing the selected object.
Also known as
Properties panel, Inspector, Details inspector
AI prompt
Create an inspector panel for the selected design layer with collapsible sections for Position, Appearance and Accessibility. Keep canvas selection synchronized, provide labelled controls, and support a persistent desktop panel plus mobile sheet.
Immersive & guided overlays
Lightbox
A focused image viewer displayed over a darkened page.
Also known as
Image lightbox, Media viewer, Photo overlay
AI prompt
Create an accessible image lightbox with a large image, caption, close button, dark backdrop, Escape dismissal, contained focus, zoom controls, and focus restoration to the thumbnail that opened it.
Gallery overlay
An immersive media viewer with previous and next navigation.
Create a gallery overlay with previous and next controls, image count, captions, thumbnail context, arrow-key navigation, swipe gestures on touch devices, image preloading, and an accessible close action.
Video overlay
A modal player for watching video without navigating away.
Also known as
Video lightbox, Modal player, Media modal
AI prompt
Create an accessible video overlay with native media controls, captions, a descriptive title, focus containment, Escape and close-button dismissal, no unexpected autoplay with sound, and playback pause when closed.
Command palette
A searchable overlay for quickly finding commands and destinations.
Also known as
Command menu, Quick actions, Action launcher
AI prompt
Create a command palette opened with Ctrl or Command plus K. Include a labelled search input, grouped commands, fuzzy filtering, keyboard selection, recent items, Escape dismissal, and focus restoration to the prior control.
Search overlay
A prominent search surface layered above the current page.
Also known as
Global search, Search modal, Search takeover
AI prompt
Create a global search overlay with immediate input focus, recent searches, live grouped results, an announced result count, arrow-key navigation, Escape dismissal, and a full-screen mobile adaptation.
Onboarding spotlight
A highlighted interface area paired with a short explanatory callout.
Also known as
Coach mark, Feature spotlight, Product hint
AI prompt
Create an onboarding spotlight that highlights the Publish button and anchors a concise coach mark beside it. Keep the target visible, provide Skip and Got it actions, avoid trapping users, and remember dismissal.
Guided tour
A sequence of anchored callouts that introduces key parts of an interface.
Also known as
Product tour, Walkthrough, Feature tour
AI prompt
Create a four-step guided product tour with anchored callouts, step count, Back, Next and Skip controls, resilient positioning, keyboard navigation, reduced-motion support, and completion saved per user.
Full-screen takeover
A temporary experience that completely replaces the underlying interface.
Also known as
Takeover, Interstitial, Immersive overlay
AI prompt
Create a full-screen takeover for a required workspace migration. Explain the reason and expected time, preserve progress, provide one clear primary action and a help route, handle refresh safely, and meet dialog accessibility requirements.
Backdrop / scrim
A dimmed layer that separates a modal surface from the page beneath it.
Also known as
Backdrop, Scrim, Overlay mask
AI prompt
Create a backdrop scrim for a modal surface using a subtle translucent color that preserves context without competing with the foreground. Prevent background interaction and scrolling, and make scrim-click dismissal configurable.