Slowly
The builderBlocks

Modal

A pop-up panel that appears over the page, opened by a trigger.

The Modal block shows content in a panel that appears over the page, dimming what is behind it until it is closed. It suits sign-up prompts, quick details, and anything you want to surface without sending the visitor to another page.

Adding one

  1. Select the section or container to hold it.
  2. Open the inserter and search "modal".
  3. Pick the Modal block, then fill the panel with any blocks you like.

Settings

In the modal's own panel. Appearance and layout of the panel itself live in the shared design panel.

SettingWhat it doesReach for it when
TriggerWhat opens the modal: a click, a scroll direction, a URL condition, or a custom conditionAnything other than a plain button click
Show againHow often the modal reappears for the same visitor: every visit, once per session, or never againCookie-gated offers or one-time onboarding prompts
Hide for logged-in usersSuppresses the modal for authenticated visitorsPromotions aimed only at guests
AnimationThe enter and exit motion: fade, slide, zoom, or noneMatching the page's motion tone; none is kinder to reduce-motion
DurationHow long the animation takesSpeeding up a fade or slowing a slide
Overlay colourThe dimmed backdrop colour and opacityKeeping the overlay on-brand or darkening it for focus
Panel alignmentHorizontal and vertical position of the panel within the viewportCentred dialogs, corner notifications, or bottom sheets
Close on overlay clickClicking outside the panel closes it (on by default)Turning it off for required acknowledgements
Close on EscapePressing Escape closes it (on by default)Turning it off for required acknowledgements
Prevent page scrollLocks the page scroll while the modal is open (on by default)Turning it off when the panel itself scrolls
Reset scroll on closeReturns the panel to the top when it closesLong panels the visitor may have scrolled through
Close other modalsCloses any other open modal when this one opensEnsuring only one panel shows at a time

Styling

The panel is a container block, so the full design panel applies: spacing, size, colour, type, borders, and effects, each per breakpoint. The states panel covers the overlay and any interactive elements inside.

Accessibility

  • Add a visible close button inside the panel. A keyboard user needs a focusable target to dismiss it, not just Escape.
  • Keep focus inside the modal while it is open so Tab does not wander the dimmed page behind it.
  • Write a descriptive label for the trigger, so a screen reader announces what will open, not just "button".
  • If the modal contains motion on entry, check that it respects the visitor's reduce-motion preference.

On this page