Optionalaria-OptionalcloseWhether to close the dialog when the escape key is pressed
OptionalcloseWhether to close the dialog when the outside is clicked
OptionalcontainedOptionaldefaultThe initial open state of the dialog when rendered. Use when you don't need to control the open state of the dialog.
OptionalfinalElement to receive focus when the dialog is closed
OptionalidThe unique identifier of the machine.
OptionalidsThe ids of the elements in the dialog. Useful for composition.
OptionalimmediateWhether to synchronize the present change immediately or defer it to the next frame
OptionalinitialElement to receive focus when the dialog is opened
OptionallazyWhether to enable lazy mounting
OptionalmodalWhether to prevent pointer interaction outside the element and hide all content below it
OptionalonFunction called when the escape key is pressed
OptionalonFunction called when the animation ends in the closed state
OptionalonFunction called when the focus is moved outside the component
OptionalonFunction called when an interaction happens outside the component
OptionalonFunction to call when the dialog's open state changes
OptionalonFunction called when the pointer is pressed down outside the component
OptionalonFunction called when this layer is closed due to a parent layer being closed
OptionalopenThe controlled open state of the dialog
OptionalpersistentReturns the persistent elements that:
OptionalplacementOptionalpresentWhether the node is present (controlled by the user)
OptionalpreventWhether to prevent scrolling behind the dialog when it's opened
OptionalrecipeOptionalrestoreWhether to restore focus to the element that had focus before the dialog was opened
OptionalroleThe dialog's role
OptionalsizeOptionalskipWhether to allow the initial presence animation.
OptionaltrapWhether to trap focus inside the dialog when it's opened
OptionalunmountWhether to unmount on exit.
OptionalunstyledIf true, the element will opt out of the theme styles.
Human readable label for the dialog, in event the dialog title is not rendered