ComponentsDrawer

Drawer

The Drawer component provides a foundation to create a sliding pane. It only provides the pane with a close button, the rest of the content can be customized.

GitHub LogoSource Code

Anchor

Use the anchor prop to specify which side of the screen the Drawer should originate from.

Responsive

You can use the Drawer component to create a responsive layout. In the example below, the drawer is used to create a sidebar that can be toggled open and closed. You should manage the width of the content yourself based on the open state.

My App

My Title

Content

My app content