Drawer

The Drawer component is a versatile UI element that slides in from the edge of the screen to reveal additional content or options without navigating away from the current page. It provides a space-efficient way to present temporary or contextual information, such as menus, settings, or notifications. Drawers enhance user experience by maintaining focus on the main content while offering quick access to supplementary features.

Drawer

placement

"bottom" | "left" | "right" | "top" | undefined = right

size

string | undefined = lg

withBackdrop

Boolean | undefined = false

withCloseButton

Boolean | undefined = true

useDialogStore

AssetDrawer

maxWidth

number | `${number}px` | `${number}rem`

Max width of the drawer Number values are converted to pixels @example '300px', '50rem', 300