These class names are useful for styling with CSS. They are applied to the root slot when specific states are triggered.
.MuiModalDialog-colorContext
Class name applied to the root element when color inversion is triggered.
.MuiModalDialog-colorDanger
Class name applied to the root element if color="danger".
.MuiModalDialog-colorNeutral
Class name applied to the root element if color="neutral".
.MuiModalDialog-colorPrimary
Class name applied to the root element if color="primary".
.MuiModalDialog-colorSuccess
Class name applied to the root element if color="success".
.MuiModalDialog-colorWarning
Class name applied to the root element if color="warning".
.MuiModalDialog-layoutCenter
Class name applied to the root element if layout="center".
.MuiModalDialog-layoutFullscreen
Class name applied to the root element if layout="fullscreen".
.MuiModalDialog-sizeLg
Class name applied to the root element if size="lg".
.MuiModalDialog-sizeMd
Class name applied to the root element if size="md".
.MuiModalDialog-sizeSm
Class name applied to the root element if size="sm".
.MuiModalDialog-variantOutlined
Class name applied to the root element if variant="outlined".
.MuiModalDialog-variantPlain
Class name applied to the root element if variant="plain".
.MuiModalDialog-variantSoft
Class name applied to the root element if variant="soft".
.MuiModalDialog-variantSolid
Class name applied to the root element if variant="solid".
Have any feedback about this new API display design?
We've heard from you and iterated on making the design of API content documentation more scalable and easier to parse! We value your input, so please don't hesitate to share any additional feedback you may have.