Dialog
Modal dialog with backdrop, focus trapping, animated entrance/exit, and slot-based content. Built on GlobalOverlay and Framer Motion. Also exports useDialog hook.
Import
import { Dialog, DialogHeader, DialogContent, DialogFooter, useDialog } from 'reablocks';
Dialog Props
| Prop | Type | Default | Description |
|---|---|---|---|
open | boolean | — | Whether the dialog is visible |
onClose | () => void | — | Close handler |
| `siz |
[Description truncada. Veja o README completo no GitHub.]