Skip to content
BlinkpageBlinkpageDocs

Modals

Create popup modals, design them like any section, and open them from buttons and links with an interaction.

On this page

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

  1. Open Modals

    In the left sidebar, click Modals. The list shows the modals of your project. A new project shows No modals added yet.

  2. Browse the library

    Click the plus button at the top of the list. The Modals library opens. Use Search modals… or pick a category.

  3. Pick a template

    Click the template you want. The modal is added to your project and opens on the canvas for editing.

Pick a modal template from the Modals library.

#Edit a modal

  1. 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.

  2. Change the content

    Edit text and media on the canvas or in the Content tab. Style it in the Design tab, like any section.

  3. Leave the modal

    Click Blocks or another sidebar item. The editor saves the modal when you leave.

A modal opens on the canvas, and its fields show in the Content tab.

#Open a modal from a button

You can connect a modal to a button with a link, or with an interaction.

  1. Open the button

    Select the section with the button. With the Content tab open, click the button on the canvas. The Button panel opens.

  2. Choose the Modal tab

    In the link field, click Modal.

  3. 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

  1. Open the Interactions tab

    Select the button in the Tree View or on the canvas, then click Interactions.

  2. Add an interaction

    Click Add. Under Trigger, choose Click. Under Command, choose Open Modal.

  3. 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

  1. Choose the modal

    In the Modals list, move the pointer over the modal and click the trash button.

  2. 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.

#Next steps

Edit this page(opens in a new tab)