Modals
Create popup modals, design them like any section, and open them from buttons and links with an interaction.
On this page
- Add a modal
- Open Modals
- Browse the library
- Pick a template
- Edit a modal
- Open the modal
- Change the content
- Leave the modal
- Open a modal from a button
- Link a button to a modal
- Open the button
- Choose the Modal tab
- Pick the modal
- Open a modal with an interaction
- Open the Interactions tab
- Add an interaction
- Choose the modal
- Delete a modal
- Choose the modal
- Confirm
- Next steps
A modal is a popup that opens on top of a page, for example a sign-up form or a confirmation. You create modals in their own section of the editor and connect them to buttons and links.
#Add a modal
Open Modals
In the left sidebar, click Modals. The list shows the modals of your project. A new project shows No modals added yet.
Browse the library
Click the plus button at the top of the list. The Modals library opens. Use Search modals… or pick a category.
Pick a template
Click the template you want. The modal is added to your project and opens on the canvas for editing.
#Edit a modal
Open the modal
In the Modals list, click a modal. It opens on the canvas. When you enter Modals, the first modal opens by itself.
Change the content
Edit text and media on the canvas or in the Content tab. Style it in the Design tab, like any section.
Leave the modal
Click Blocks or another sidebar item. The editor saves the modal when you leave.
#Open a modal from a button
You can connect a modal to a button with a link, or with an interaction.
#Link a button to a modal
Open the button
Select the section with the button. With the Content tab open, click the button on the canvas. The Button panel opens.
Choose the Modal tab
In the link field, click Modal.
Pick the modal
Click the modal in the list. The list shows No modals available if you have not created one yet.
#Open a modal with an interaction
Open the Interactions tab
Select the button in the Tree View or on the canvas, then click Interactions.
Add an interaction
Click Add. Under Trigger, choose Click. Under Command, choose Open Modal.
Choose the modal
Under Modal Settings, pick the modal in Modal. Choose an Animation if you want one. Use Close on click outside and Close on ESC to control how visitors close it.
Click Preview in the top bar and click the button to test it. See Interactions.
#Delete a modal
Choose the modal
In the Modals list, move the pointer over the modal and click the trash button.
Confirm
The Delete the Modal? dialog explains that the modal will be detached from the components that use it. Tick Don't show this again to skip the dialog next time, then confirm.