Drawer

Preview

Install

Add it with the shadcn CLI, or copy the source manually.

$ bunx --bun shadcn add @beui/drawer

API Reference

open
boolean
Default—
onOpenChange
(open: boolean) => void
Default—
side?
"left" | "right"
Defaultright
className?
string

Class for the panel surface.

Default—
backdropClassName?
string

Class for the backdrop.

Default—
ariaLabel?
string
Default—
dismissable?
boolean

Close when the backdrop is clicked or Escape is pressed. Default true.

Defaulttrue

Updated