10.12.0

Dialog

Simple


Complex


The dialog kit also supports customizing your dialog with a compound component structure.
This allows for greater flexibility and more complex dialogs.

Sizes


Scrollable


The dialog will create a scroll container automatically when the text exceeds the height of the page.
No prop or configuration is needed.

Overlay Click


When shouldCloseOnOverlayClick is explicitly set to false, click events on the overlay will not close the modal.
By default, shouldCloseOnOverlayClick is set to true.