OptionalaboutOptionalaccessOptionalaria-Optionalaria-Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.
Optionalaria-Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for an input and specifies how predictions would be presented if they are made.
Optionalaria-Defines a string value that labels the current element, which is intended to be converted into Braille.
Optionalaria-Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille.
Optionalaria-Optionalaria-Indicates the current "checked" state of checkboxes, radio buttons, and other widgets.
Optionalaria-Defines the total number of columns in a table, grid, or treegrid.
Optionalaria-Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid.
Optionalaria-Defines a human readable text alternative of aria-colindex.
Optionalaria-Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid.
Optionalaria-Identifies the element (or elements) whose contents or presence are controlled by the current element.
Optionalaria-Indicates the element that represents the current item within a container or set of related elements.
Optionalaria-The id(s) of the element(s) that describe the dialog.
Optionalaria-Defines a string value that describes or annotates the current element.
Optionalaria-Identifies the element that provides a detailed, extended description for the object.
Optionalaria-Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable.
Optionalaria-Indicates what functions can be performed when a dragged object is released on the drop target.
Optionalaria-Identifies the element that provides an error message for the object.
Optionalaria-Indicates whether the element, or another grouping element it controls, is currently expanded or collapsed.
Optionalaria-Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.
Optionalaria-Indicates an element's "grabbed" state in a drag-and-drop operation.
Optionalaria-Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.
Optionalaria-Indicates whether the element is exposed to an accessibility API.
Optionalaria-Indicates the entered value does not conform to the format expected by the application.
Optionalaria-Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element.
Optionalaria-Defines a string value that labels the current element.
Optionalaria-The id(s) of the element(s) that label the dialog.
Optionalaria-Defines the hierarchical level of an element within a structure.
Optionalaria-Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.
Optionalaria-Informs assistive technologies that the element is modal. It's added on the element with role="dialog".
Optionalaria-Indicates whether a text box accepts multiple lines of input or only a single line.
Optionalaria-Indicates that the user may select more than one item from the current selectable descendants.
Optionalaria-Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.
Optionalaria-Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship.
Optionalaria-Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value. A hint could be a sample value or a brief description of the expected format.
Optionalaria-Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM.
Optionalaria-Indicates the current "pressed" state of toggle buttons.
Optionalaria-Indicates that the element is not editable, but is otherwise operable.
Optionalaria-Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified.
Optionalaria-Indicates that user input is required on the element before a form may be submitted.
Optionalaria-Defines a human-readable, author-localized description for the role of an element.
Optionalaria-Defines the total number of rows in a table, grid, or treegrid.
Optionalaria-Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid.
Optionalaria-Defines a human readable text alternative of aria-rowindex.
Optionalaria-Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid.
Optionalaria-Indicates the current "selected" state of various widgets.
Optionalaria-Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM.
Optionalaria-Indicates if items in a table or grid are sorted in ascending or descending order.
Optionalaria-Defines the maximum allowed value for a range widget.
Optionalaria-Defines the minimum allowed value for a range widget.
Optionalaria-Defines the current value for a range widget.
Optionalaria-Defines the human readable text alternative of aria-valuenow for a range widget.
OptionalautoOptionalautoOptionalautoOptionalautoOptionalBackdropA backdrop component. This prop enables custom backdrop rendering.
OptionalBackdropProps applied to the Backdrop element.
OptionalchildrenDialog children, usually the included sub-components.
OptionalclassesOverride or extend the styles applied to the component.
OptionalcloseWhen set to true the Modal waits until a nested Transition is completed before closing.
OptionalcolorOptionalcomponentOptionalcomponentsThe components used for each slot inside.
Use the slots prop instead. This prop will be removed in a future major release. See Migrating from deprecated APIs for more details.
OptionalcomponentsThe extra props for the slot components. You can override the existing props or add new ones.
Use the slotProps prop instead. This prop will be removed in a future major release. See Migrating from deprecated APIs for more details.
OptionalcontainerAn HTML element or function that returns one.
The container will have the portal children appended to it.
You can also provide a callback, which is called in a React layout effect. This lets you set the container from a ref, and also makes server-side rendering possible.
By default, it uses the body of the top-level document object,
so it's simply document.body most of the time.
OptionalcontentOptionalcontentOptionalcontextOptionaldangerouslyOptionaldatatypeOptionaldefaultOptionaldefaultOptionaldirOptionaldisableIf true, the modal will not automatically shift focus to itself when it opens, and
replace it to the last focused element when it closes.
This also works correctly with any modal children that have the disableAutoFocus prop.
Generally this should never be set to true as it makes the modal less
accessible to assistive technologies, like screen readers.
OptionaldisableIf true, the modal will not prevent focus from leaving the modal while open.
Generally this should never be set to true as it makes the modal less
accessible to assistive technologies, like screen readers.
OptionaldisableIf true, hitting escape will not fire the onClose callback.
OptionaldisableThe children will be under the DOM hierarchy of the parent component.
OptionaldisableIf true, the modal will not restore focus to previously focused element once
modal is hidden or unmounted.
OptionaldisableDisable the scroll lock behavior.
OptionaldraggableOptionalenterOptionalexportpartsOptionalfullIf true, the dialog is full-screen.
OptionalfullIf true, the dialog stretches to maxWidth.
Notice that the dialog width grow is limited by the default margin.
OptionalhiddenOptionalhideIf true, the backdrop is not rendered.
OptionalidOptionalinlistOptionalinputHints at the type of data that might be entered by the user while editing the element or its contents
OptionalisSpecify that a standard HTML element should behave like a defined custom built-in element
OptionalitemOptionalitemOptionalitemOptionalitemOptionalitemOptionalkeepAlways keep the children in the DOM. This prop can be useful in SEO situation or when you want to maximize the responsiveness of the Modal.
OptionalkeyOptionallangOptionalmaxDetermine the max-width of the dialog.
The dialog width grows with the size of the screen.
Set to false to disable maxWidth.
OptionalnonceOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonCallback fired when the component requests to be closed.
The event source of the callback.
Can be: "escapeKeyDown", "backdropClick".
OptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonA function called when a transition enters.
OptionalonA function called when a transition has exited.
OptionalonOptionalonOptionalonOptionalonOptionalonOptionalonIf true, the component is shown.
OptionalPaperThe component used to render the body of the dialog.
OptionalPaperProps applied to the Paper element.
Use slotProps.paper instead. This prop will be removed in a future major release. See Migrating from deprecated APIs for more details.
OptionalpartOptionalprefixOptionalpropertyOptionalradioOptionalrefOptionalrelOptionalresourceOptionalresultsOptionalrevOptionalroleOptionalscrollDetermine the container for scrolling the dialog.
OptionalsecurityOptionalslotOptionalslotThe props used for each slot inside.
Optionalbackdrop?: SlotProps<Props forwarded to the backdrop slot. By default, the available props are based on the Backdrop component.
Optionalcontainer?: SlotProps<"div", DialogContainerSlotPropsOverrides, DialogOwnerState>Props forwarded to the container slot. By default, the available props are based on a div element.
Optionalpaper?: SlotProps<Props forwarded to the paper slot. By default, the available props are based on the Paper component.
Optionalroot?: SlotProps<Props forwarded to the root slot. By default, the available props are based on the Modal component.
Optionaltransition?: SlotComponentProps<Props forwarded to the transition slot. By default, the available props are based on the Fade component.
OptionalslotsThe components used for each slot inside.
OptionalspellOptionalstyleOptionalsuppressOptionalsuppressOptionalsxThe system prop that allows defining system overrides as well as additional CSS styles.
OptionaltabOptionaltitleOptionalTransitionThe component used for the transition. Follow this guide to learn more about the requirements for this component.
Use slots.transition instead. This prop will be removed in a future major release. See Migrating from deprecated APIs for more details.
OptionaltransitionThe duration for the transition, in milliseconds. You may specify a single timeout for all transitions, or individually with an object.
OptionalTransitionProps applied to the transition element.
By default, the element is based on this Transition component.
Use slotProps.transition instead. This prop will be removed in a future major release. See Migrating from deprecated APIs for more details.
OptionaltranslateOptionaltypeofOptionalunselectableOptionalvocab
Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.