Drawer
shadcn/uiA drawer component built on top of Vaul.
Drawer
Installation
Props
<DrawerPortal />
Name | Type | |
|---|---|---|
render | React.ReactElement | |
keepMounted | boolean | |
container | HTMLElement | RefObject<HTMLElement> |
<DrawerOverlay />
Name | Type | |
|---|---|---|
render | React.ReactElement | |
forceRender | boolean |
<DrawerTrigger />
Name | Type | |
|---|---|---|
nativeButton | boolean | |
render | React.ReactElement |
<DrawerClose />
Name | Type | |
|---|---|---|
nativeButton | boolean | |
render | React.ReactElement |
<DrawerContent />
Name | Type | |
|---|---|---|
render | React.ReactElement | |
finalFocus | boolean | HTMLElement | |
initialFocus | boolean | HTMLElement |
<DrawerTitle />
Name | Type | |
|---|---|---|
render | React.ReactElement |
<DrawerDescription />
Name | Type | |
|---|---|---|
render | React.ReactElement |