Modal
Capture user attention and display important information or actions using Rothko UI's Modal component. Create modal dialogs or pop-ups that overlay the main content, ensuring focus and guiding users through specific tasks or interactions.
Usage
import { Modal } from '@rothko-ui/ui';
- Example
- Code
Blur
- Example
- Code
Props
Name | Type | Default | Description |
---|---|---|---|
Name className | Type string | Default | Description Class name of the modal |
Name isOpen | Type boolean | Default | Description Indicates whether the modal is open |
Name onClose | Type () => void | Default | Description Event handler for closing the modal |
Name size | Type RothkoSize | Default 'm' | Description Size of the modal |
Name title | Type string | Default | Description Title of the modal |