Dialog

This component is an implementation of custom dialog

Default


Overlay


Width


Bottom Sheet


Close Button


Close Button Size


Border Radius


Dialog Props

NameTypeDefaultRequiredDescription
idstringNoID of the element
contentstring | React NodeYesSet the content of the dialog
overlaybooleantrueNoDefine if the overlay should be displayed
widthfull | auto | stringautoNoDefine the width of the dialog
disabledScrollbooleanTrueNoDefine if scroll of document is able
borderRadiusboolean5pxNoSet dialog border radius
closeButtonbooleantrueNoDefine if there is a close button
closeButtonSizestring20pxNoSet close button size