Drawer
The Drawer component is a modal component that can be positioned to the left, right, top or bottom of the viewport. It can be used to display additional information or actions without leaving the current screen. It renders contents similar to the Modal component and supports a header, body, fixed footer and icon.
Variations
The Drawer components allow for customization similar to Modal. The body supports the prop bordered
which will render a variant of the body that places a border at the top and bottom of the body.
Props
Drawer
DrawerHeader
The DrawerHeader supports a static set of props to render title, subtitle, and icon in a consistent manner. It also supports rendering children for more customization.
DrawerBody
DrawerFooter
The DrawerFooter component will automatically adjust the display of the buttons within such that they stack.