Drawer

A panel that slides out from the edge of the screen.

When To Use

  • Use a Form to create or edit a set of information.
  • Processing subtasks. When subtasks are too heavy for Popover and we still want to keep the subtasks in the context of the main task, Drawer comes very handy.
  • When a same Form is needed in multiple places.

Basic

Basic drawer.

Basic Drawer

Some contents...

Some contents...

Some contents...

Custom Placement

Use the `placement` prop to control which side the drawer slides from.

Basic Drawer

Some contents...

Some contents...

Some contents...

Basic Drawer

Some contents...

Some contents...

Some contents...

Basic Drawer

Some contents...

Some contents...

Some contents...

Basic Drawer

Some contents...

Some contents...

Some contents...

API Reference

Property
Description
Type
Default

id

A unique identifier for the drawer, required for opening/closing. string -

title

Optional title text for the drawer header. string -

description

Optional description text displayed below the title. string -

placement

The edge of the screen the drawer slides from. 'left' | 'right' | 'top' | 'bottom' 'right'

closable

If true, shows a close button and allows closing via backdrop click. boolean true

resizable

If true, allows the user to drag the edge to resize the drawer. boolean false