--- category: overlays --- # Dialog Source: `components/ui/dialog.tsx`. `Dialog` is a compound component. Its parts are exported **flat** (`DialogClose`, not `Dialog.Close`) and each is a separate top-level export of the bundle: | Part | Props | | --- | --- | | `DialogClose` | `React.ComponentProps` | | `DialogContent` | `React.ComponentProps & {…}` | | `DialogDescription` | `React.ComponentProps` | | `DialogFooter` | `React.ComponentProps<'div'>` | | `DialogHeader` | `React.ComponentProps<'div'>` | | `DialogOverlay` | `React.ComponentProps` | | `DialogPortal` | `React.ComponentProps` | | `DialogTitle` | `React.ComponentProps` | | `DialogTrigger` | `React.ComponentProps` | All parts accept `className` and are composed as children of `Dialog`.