Dialog
A modal window for focused tasks. Raw drops in, Silk pops softly, Volume tilts up in perspective, Vector draws open from a center line.
Needs the @dumb registry in components.json and the style tokens. See Installation.
API reference
Props marked “extra” are Dumb UI additions. Everything else matches shadcn/ui.
DialogContent
| Prop | Type | Default |
|---|---|---|
| sizeextra | "sm" | "default" | "lg" | "xl" | "full"Max-width preset. | "default" |
| showCloseButton | booleanRenders the corner close button. | true |
- Esc
- Closes the dialog and returns focus to the trigger.
- TabShift+Tab
- Cycles focus inside the dialog.