DEVELOPMENT PREVIEWIn development

drawer API

overlays/drawer.tsx

Drawer

Props

PropTypeDefaultDescription
children*
React.ReactNode
open*
boolean
side
"left" | "right" | "top" | "bottom" | undefinedright
size
"sm" | "md" | "lg" | "xl" | "full" | undefinedmd
description
string | undefined
showCloseButton
boolean | undefinedtrue
hotkeys
{} | undefined[]Additional hotkeys for drawer actions
Show native HTML props

Native HTML Props

PropTypeDefaultDescription
onOpenChange*
(open: boolean) => void
title
string | undefined