Drawer

  1. Home

Default

Contact Form

Form Drawer

Disable BackDrop

Swipeable

Left Drawer

Right Drawer

Top Drawer

Bottom Drawer

API ( Drawer )
PropDescriptionTypeDefault

open

Controls the visibility of the drawer.

boolean

false

onClose

Callback function triggered when the drawer is closed.

'() => setIsOpen(false)'

-

placement

Specifies the side from which the drawer will appear.

'top' | 'right' | 'bottom' | 'left'

'right'

backdrop

Determines if a backdrop is displayed behind the drawer.

boolean

true

bodyScrolling

Allows body scrolling when the drawer is open.

boolean

false

edge

Enables swipeable edge functionality.

boolean

false