Skip to main content

Modal / Popup

A trigger (button, text, icon or image) that opens custom content in a modal — centered card, side drawer or fullscreen. Tabs: Content, Design, Styling, Animations, Advanced.

Modal / Popup on the Page Builder canvas
💡 Web dev tip: a modal must manage focus

When a dialog opens, keyboard focus should move into it, stay trapped while it's open, close on Esc, and return to the trigger afterwards — otherwise keyboard and screen-reader users get lost behind the overlay. Mark it up as role="dialog" with aria-modal="true". UnysonPlus' modal does this. W3C: dialog pattern

Live demo​

▶ See the Modal / Popup live on the demos site — an interactive example you can click through.

Content​

Modal / Popup options panel — Content tab
OptionChoices
TriggerButton · Text link · Icon · Image
Trigger LabelDefault Open
Trigger Icon / ImageUsed for the Icon / Image triggers
Modal TitleOptional
Modal ContentHTML allowed

Design​

Modal / Popup options panel — Design tab
OptionChoices
Modal StyleCenter · Left drawer · Right drawer · Fullscreen · …
SizeSmall · Medium · Large (centered card)
Open AnimationFade · Zoom · Slide up
Open AutomaticallyOn/Off (with Open Delay in ms)
Close on Overlay ClickOn/Off

Styling​

Modal / Popup options panel — Styling tab

Trigger / Accent Color, Overlay Color, Modal Background, Modal Text, a Font Size Preset, and Trigger Margin & Padding.