A full-screen modal with an app-stack transition animation. The background content pushes back and dims while the modal scales up from the center.
| Name | Default | Description |
|---|---|---|
isOpen | — | booleanWhether the modal is open. |
onClose | — | () => voidCallback invoked to close the modal. |
children | — | ReactNodeModal content. |
containerRef | — | RefObject<HTMLElement>Ref to the app container element that receives the push-back effect. Defaults to `document.body.firstElementChild`. |
closeOnEsc | true | booleanClose modal on escape key press. |