Modal Dialog
Navigation
An animated modal dialog with backdrop blur, spring scale transition, Escape key handling, scroll lock, and ARIA attributes.
Loading preview...
Customize
Title
Description
Props
| Prop | Type | Default | Description |
|---|---|---|---|
open | boolean | — | Whether the modal is visible. |
onClose | () => void | — | Callback fired when the modal should close. |
title | string | undefined | Optional heading for the dialog. |
description | string | undefined | Optional description text below the title. |
children | React.ReactNode | — | Content rendered inside the modal body. |
className | string | '' | Additional CSS classes for the dialog panel. |