TailwindAdmin can be used in personal & commercial projects.

Learn more

NiceAdmin can be used in personal & commercial projects.

Learn more

Ready-to-Use Components Powered by Flowbite, ShadCN & Headless UI

Component Library

Browse and explore components

Drawer

A Drawer is a UI component that slides in from the edge of the screen to display navigation, menus, or additional content.

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