Dialog

Overlay

A modal overlay component for displaying content on top of the main interface.

Installation

bash
1npx @dinachi/cli@latest add dialog

Run the CLI command above to automatically install the component and its dependencies.

API Reference

PropTypeDefaultDescription
open
booleanWhether the dialog is open
onOpenChange
(open: boolean) => voidCallback fired when the dialog open state changes