Dialog
Open a modal window to review content or complete a task.
Basic usage
Use Title to name the dialog and put longer content in Body. Content includes the portal and modal backdrop. Compose dismissal actions with CloseTrigger.
API
Key props and defaults.
| Prop | Values and behavior | Default |
|---|---|---|
Root.defaultOpen | boolean | false |
Root.modal | boolean | true |
Root.closeOnEscape | boolean | true |
Content.size | sm | md | lg | md |
Content.variant | card | free | card |