Vivid API

Side Drawer

A side panel that slides in from the edge of the screen to display additional content or navigation options.

Open

Use the open attribute to indicate whether the side drawer is open.

Use the modal attribute to set the side drawer’s type to modal.

Alternate

Use alternate to apply an alternate color-scheme, alternate applies on all assigned Vivid components.

Read more about the alternative attribute

Trailing

Use the trailing attribute to set the side of the drawer.