Optional
AppAccessible label for screen readers describing the dialog's purpose. Required for WCAG 2.1 compliance.
Optional
autoOptional
childrenDialog children, usually the included sub-components.
Optional
customUsed for tests. Clickable and requested subcomponents will be suffixed with "-[ComponentName]".
Optional
customArray of custom attributes that can be used for testing purposes.
Optional
disableRemove default spacing inside the Sheet caused by the AppBar. Useful for Sheet with hero image.
Optional
disableIf 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.
Optional
disableIf true
, hitting escape will not fire the onClose
callback.
Optional
disableIf true, the Sheet will not automatically focus the first heading
Optional
enteringSpecifies the direction from which the dialog enters the screen.
Height "Auto" adjust sheet to fit content with a max height of 800px. "Cover" makes sheet cover screen, regardless of content.
Optional
hideIf true
, the backdrop is not rendered.
Optional
idOptional
onCallback fired when the component requests to be closed.
The event source of the callback.
Can be: "escapeKeyDown"
, "backdropClick"
.
If true
, the component is shown.
Optional
PaperProps applied to the Paper
element.
Optional
roleOptional
shouldWhen true, clicking the backdrop (area outside the dialog) will close it.
Optional
sxThe system prop that allows defining system overrides as well as additional CSS styles.
Optional
tabOptional
titleOptional
TransitionProps applied to the transition element.
By default, the element is based on this Transition
component.
Sheet width is 664px for "medium" and 1104px for "large".
Configuration options for the dialog's app bar component.