Dialog
Modal dialog with header and footer.
Import
tsx
import { Dialog } from "@cooud-ui/ui";
bash
npx cooud-ui add dialog
Examples
API Reference
Generated from the component's exported types.
DialogContentProps
Extends ComponentPropsWithoutRef<typeof DialogPrimitive.Content>
| Prop | Type | Default | Description |
|---|---|---|---|
showCloseButton | boolean | true | Render the built-in top-right close button. Set `false` when the content supplies its own close affordance (e.g. a full-bleed gallery header). |