Dialog
UIModal dialog built on Radix UI for confirmations, forms, and focused interactions.
[EXAMPLES]
Basic Dialog
[PROPS]
| PROP | TYPE | DEFAULT | DESCRIPTION |
|---|---|---|---|
| open | boolean | — | Controlled open state |
| onOpenChange | (open: boolean) => void | — | Open state change callback |
[ACCESSIBILITY]
KEYBOARD SHORTCUTS
| KEY | ACTION |
|---|---|
| Escape | Close the dialog |
| Tab | Cycle focus within dialog |
ARIA
- >role="dialog"
- >aria-modal="true"
- >aria-labelledby pointing to DialogTitle
- >Focus trapped inside dialog