Documentation
Getting Started
Foundations
Form
Layout
Display
Navigation
Overlay
Feedback
Dialog
Overlay
A modal overlay component for displaying content on top of the main interface.
Installation
bash
1npx @dinachi/cli@latest add dialogRun the CLI command above to automatically install the component and its dependencies.
API Reference
| Prop | Type | Default | Description |
|---|---|---|---|
open | boolean | — | Whether the dialog is open |
onOpenChange | (open: boolean) => void | — | Callback fired when the dialog open state changes |