Modal
A modal dialog component with backdrop, keyboard support, and animations.
Examples
Interactive Modal
Props
| Prop | Type | Default | Description |
|---|---|---|---|
open* | boolean | - | Whether the modal is open |
onClose* | () => void | - | Callback when the modal should close |
title | string | - | Modal title |
description | string | - | Modal description |
size | "sm" | "md" | "lg" | "xl" | "md" | Size of the modal |