Drawer
Use the drawer component to provide easy access to information that does not need to be visible at all times.
Add the component to your page
When you are editing your page using page-builder:
-
Optional step. Add a content block to your page by clicking the
button. -
Add a component to your page (or the newly-added content block on your page if the optional step above is taken) by clicking the
Add component button. -
Locate the drawer Squiz core component within the component browser and then click the Select button.
-
This will add the drawer component to your page.
Configure the drawer component
-
Enter the drawer’s title.
-
Enter the drawer’s content.
-
Enter a unique ID for the drawer. The ID will be used to trigger the drawer in another component.
-
Specify the position of the drawer when it is open.
-
Specify the size of the drawer as a percentage of the screen.
The drawer will always take up 100% of the screen on mobile.