Optional
actionsOptional
aria-Id to use for the modal box descriptor.
Optional
aria-Accessible descriptor of the modal.
Optional
aria-Id to use for the modal box label.
Optional
backdropId of the backdrop.
Optional
bodyAccessible label applied to the modal box body. This should be used to communicate important information about the modal box body div element if needed, such as that it is scrollable.
Optional
bodyAccessible role applied to the modal box body. This will default to "region" if the bodyAriaLabel property is passed in. Set to a more appropriate role as applicable based on the modal content and context.
Id of the modal box container.
Content rendered inside the modal.
Optional
classAdditional classes added to the modal box.
Optional
descriptionDescription of the modal.
Id of the modal box description.
Optional
disableFlag to disable focus trap.
Optional
elementThe element to focus when the modal opens. By default the first focusable element will receive focus.
Optional
footerCustom footer.
Optional
hasFlag indicating if modal content should be placed in a modal box body wrapper.
Optional
headerComplex header (more than just text), supersedes the title property for header content.
Optional
helpOptional help section for the modal header.
Optional
isFlag to show the modal.
Id of the modal box title.
Optional
maxMaximum width of the modal.
Optional
onA callback for when the close button is clicked.
Optional
ouiaValue to overwrite the randomly generated data-ouia-component-id.
Optional
ouiaSet the value of data-ouia-safe. Only set to true when the component is in a static state, i.e. no animations are occurring. At all other times, this value must be false.
Optional
positionPosition of the modal. By default a modal will be positioned vertically and horizontally centered.
Optional
positionOffset from alternate position. Can be any valid CSS length/percentage.
Optional
showFlag to show the close button in the header area of the modal.
Optional
titleText content of the modal header.
Optional
titleOptional alert icon (or other) to show before the title of the modal header. When the predefined alert types are used the default styling will be automatically applied.
Optional
titleOptional title label text for screen readers.
Optional
variantVariant of the modal.
Optional
widthDefault width of the modal.
Action buttons to add to the standard modal footer. Ignored if the footer property is passed in.