easeUI

Drawer

Sheet that slides up from the bottom edge on the native dialog element. Drag the handle down, or flick it, to dismiss.

Filters

Narrow results down to what matters.

Drag the handle down, or flick it, to dismiss without picking anything.

Installation

$ bunx --bun shadcn add @easeui/drawer

API reference

PropTypeDefaultDescription
openboolean-Whether the drawer is open.
onOpenChange(open: boolean) => void-Called when the drawer asks to close, from Escape, the backdrop, or a drag past the threshold.
titleReactNode-Heading that also names the dialog for screen readers.
description?any-Optional line under the title.
footer?any-Buttons along the bottom edge.
className?string--

Updated