01 Getting Started

This tutorial covers Drawers.

02 Adding Drawers to the Canvas

Open the element menu.

1. You can search for the Drawer element in the search field.

Screenshot showing the search method

or

2. Click on the Containers tab and select the drawer option.

Screenshot of the containers tab

03 Layer List

Use the layer list to navigate between drawers easily.

Screenshot of the layer list showing two drawers

04 Drawer Settings

1. Click on the drawer gear icon. The Custom Drawer Settings menu opens.

Screenshot of custom drawer settings

Use the content tab to edit the drawer's title, change its position and choose a layout.


Screenshot of Custom Drawer Settings showing the content tab

Use the interactivity tab to determine how users can interact with the element.
  • Hide Onload ensures the element does not display while the page is loading.
  • With the lightbox feature, when the drawer is displayed, the main screen will be greyed out and any click on the grey area will close the drawer. 
  • Enable the Persistent feature to keep the drawer open by default. 
    • Cut Strip Content to limit the strip content that displays.
  • Enable the Allow Pin feature to let users pin the drawer to display continuously until it is unpinned.
    • You can update the Pin and Unpin icons.
  • Enable the Close function to allow users to close the drawer manually. You can also choose to update the icon.
Screenshot of the custom drawer settings showing the  interactivity tab

05 Styling Menu

You can control all aspects of the Drawer styling. For example, adding spacing between drawer elements.

Screenshot of the custom drawer styling window

06 How to Toggle the Drawer

The drawer will only display through an action flow. We have used a button as an example.

1. Click on the button link icon. The On Click Action Window opens.

Screenshot of the button menu

2. Click the Start + icon. The Add Node screen opens.

3. Select Drawer/Modal and click Next.

Screenshot of the Add Node window showing the drawer/modal node highlighted

4. Ensure the Enable toggle switch is on, use the drop-down to select the drawer you want to apply the action to, and select the Toggle radio button. Click Next.

Screenshot of the Add Node Drawer Modal window showing the drawer config

5. Add a Tag and click Insert.

The node is added.

6. Click Apply.

Screenshot of On Click Action window

Save and Preview. When the button is clicked the drawer opens. To close the drawer, simply click the arrow. You can also pin the drawer in place. Due to the enabled lightbox feature, the home page is greyed out.

Screenshot showing how the drawer opens

07 Hide and Reset the Drawer

You can configure the drawer to reset any input each time it is displayed.

1. Click the link icon for the button inside the drawer. The On Click Action screen opens.

Screenshot of the button menu

2. Click the Start + icon. The Add Node screen opens.

3. Select Drawer/Modal and click Next.

Screenshot of the Add Node window with the drawer/modal node highlighted

4. Ensure the Enable toggle switch is on, use the drop-down to select the drawer you want to apply the action to, and select the Hide radio button. Click Next.

Screenshot of the Add Node Drawer Modal window showing the hide drawer config

5. Add a Tag and click Insert.

The node is added.

6. Click the hide Drawer/Modal + icon.

7. Select Drawer/Modal and click Next.

Screenshot of Add Node window with the drawer/modal node highlighted

8. Ensure the Enable toggle switch is on, use the drop-down to select the drawer you want to apply the action to, and select the Reset State radio button. Click Next.

Screenshot of the Add Node Drawer Modal window showing how to configure reset state

9. Add a Tag and click Insert.

The node is added.

10. Click Apply.

Screenshot of the on click action window

Save and preview. Click the page button to display the drawer, enter the input text and click on the drawer button. The drawer closes.

Screenshot showing text input in the drawer

Click on the page button again, the text you inserted has been removed.

Screenshot showing the reset drawer

08 Got Feedback?

Additional Resources