drawer API
overlays/drawer.tsx
Drawer
Props
| Prop | Type | Default | Description |
|---|---|---|---|
children* | React.ReactNode | — | |
open* | boolean | — | |
side | DrawerSide | undefined | right | |
size | DrawerSize | undefined | md | |
description | any | — | |
showCloseButton | boolean | undefined | true | |
hotkeys | {} | undefined | [] | Additional hotkeys active while the drawer is open. |
Show native HTML props
Native HTML Props
| Prop | Type | Default | Description |
|---|---|---|---|
onOpenChange* | (open: boolean) => void | — | |
title | any | — | |
aria-label | string | undefined | — | Accessible name when no `title` is rendered. |
className | string | undefined | — |