openrequired Whether it is showing. | boolean | — |
onCloserequired Called on the close button, Escape, or a click outside. | () => void | — |
titlerequired Heading. Required — a dialog with no title is hard to place. | ReactNode•string | — |
description Supporting line under the title. | ReactNode | — |
| React.ReactNode | — |
footer Pinned below the body, for the actions. | ReactNode | — |
base Marks the dialog underneath a stack, which then ignores Escape and click-away while the one above it is open. | boolean | — |
stack Marks this as a dialog opened on top of another one. | boolean | — |
flush Drop the padding and the top radius, for content that should meet the edges. | boolean | false |
hideClose Remove the close button, when only an action should dismiss it. | boolean | false |
onHeightChange Called when the body resizes — useful for animating a stack. | (height: number) => void | — |
minHeight Lower bound on the body height, in rem. | number | — |
closeOnClickaway Close on a click outside. | boolean | true |
| …and every FlexProps prop | inherited | — |