DEVELOPMENT PREVIEWIn development

drawer API

overlays/drawer.tsx

Drawer

Props

PropTypeDefaultDescription
children*
React.ReactNode
open*
boolean
side
DrawerSide | undefinedright
size
DrawerSize | undefinedmd
description
any
showCloseButton
boolean | undefinedtrue
hotkeys
{} | undefined[]Additional hotkeys active while the drawer is open.
Show native HTML props

Native HTML Props

PropTypeDefaultDescription
onOpenChange*
(open: boolean) => void
title
any
aria-label
string | undefinedAccessible name when no `title` is rendered.
className
string | undefined