--- category: overlays --- # Drawer Source: `components/ui/drawer.tsx`. `Drawer` is a compound component. Its parts are exported **flat** (`DrawerPortal`, not `Drawer.Portal`) and each is a separate top-level export of the bundle: | Part | Props | | --- | --- | | `DrawerPortal` | `React.ComponentProps` | | `DrawerOverlay` | `React.ComponentProps` | | `DrawerTrigger` | `React.ComponentProps` | | `DrawerClose` | `React.ComponentProps` | | `DrawerContent` | `React.ComponentProps` | | `DrawerHeader` | `React.ComponentProps<'div'>` | | `DrawerFooter` | `React.ComponentProps<'div'>` | | `DrawerTitle` | `React.ComponentProps` | | `DrawerDescription` | `React.ComponentProps` | All parts accept `className` and are composed as children of `Drawer`.