Docs
Components
Modal

Modal

Input

Props

PropTypeDescriptionRequired
openbooleanControls whether the modal is visible (true) or hidden (false).Yes
onClose() => voidCallback function triggered when the modal is closed (e.g., by clicking outside or pressing "Escape").Yes
childrenReact.ReactNodeThe content to display inside the modal.Yes
classNamestringAdditional CSS class names to customize the modal content's appearance.No