How to Launch a Modal in Builder.io
The Launch Modal (popup) template displays an overlay over your page content. It's great for things like showing a signup form or full page width video. Watch the video below to learn how to use the Launch Modal template!
How to use the Launch Modal Template
On your Builder page, select the "block templates" button. This will pull a list of templates. Select the one called "Launch Modal" If you do not see it this template, you can use the search bar to find it.
After you select the launch modal, drag and drop it where you want it on your page. In this example we added it to the header. To edit and customize the contents of the launch modal, you can click on the content. Since most of the content for the launch modal opens/closes other content, an easy way to edit/select the content is by going to the “Layers” tab and selecting the element you want to edit.
👉Tip: to keep the modal active while editing, you can select the Launch modal layer, navigate to the options tab, and toggle launch modal active on.
Modal use cases & customization
The launch modal is fully customizable. You can edit and customize the look and functionality to fit the aesthetic of your page. For example, if you would like to change the button background color, just select the button in the "Layers" tab and choose a new color in the “Styles” tab. You can add your own content in the pop-up container (e.g sign up or email capture form).
You can also choose to change the animation of the launch modal. For example, you can go to the “Data” tab and change the opacity of the pop-up container, and change the transition in the advanced CSS section in the “Styles” tab.