Dialog

DarkInspect

Examples

Basic

DarkInspect

With form

DarkInspect

Edit field

Single-field editor: a DialogHeader composing DialogTitle + DialogDescription, the field, and a DialogFooter with the action.

DarkInspect

Alert dialog

DarkInspect

Without close button

DarkInspect

Responsive dialog

A centered dialog from md up and a bottom drawer below it. The caller reads useMediaQuery("(min-width: 768px)") and returns Dialog or Drawer; the body is one local component rendered in both branches, so the two surfaces never drift.

DarkInspect