| Prop | Description | Type | Default |
|---|---|---|---|
show | Controls the visibility of the modal. | boolean | false |
onClose | Function to call when the modal is requested to be closed. | () => void | - |
size | Sets the size of the modal (e.g., sm, md, lg, xl, 2xl). | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '2xl' |
popup | Enables popup-style modal (with centered layout). | boolean | false |
dismissible | If true, adds a close (X) button to the top-right corner. | boolean | true |
position | Sets the position of the modal on the screen. | 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right' | 'center' |