Installation
Examples
Basic modal
Title, description, content, and action footer.
Delete project
This action cannot be undone.
Are you sure you want to delete this project?
Sizes
sm, md, lg, xl, full.
sm
md
lg
xl
API Reference
| Prop | Type | Default | Description |
|---|---|---|---|
| open | boolean | — | Controlled open state. |
| onOpenChange | (v: boolean) => void | — | Called when state changes. |
| size | 'sm'|'md'|'lg'|'xl'|'full' | 'md' | Controls max-width. |
| title | string | — | Modal heading. |
| description | string | — | Modal subheading. |
| preventClose | boolean | false | Blocks closing on backdrop click. |