These class names are useful for styling with CSS. They are applied to the root slot when specific states are triggered.
.Mui-disabledSTATE
Class name applied to the root element if disabled={true}.
.Mui-errorSTATE
State class applied to the root element if error={true}.
.Mui-focusedSTATE
Class name applied to the root element if the component is focused.
.MuiInput-colorContext
Class name applied to the root element when color inversion is triggered.
.MuiInput-colorDanger
Class name applied to the root element if color="danger".
.MuiInput-colorNeutral
Class name applied to the root element if color="neutral".
.MuiInput-colorPrimary
Class name applied to the root element if color="primary".
.MuiInput-colorSuccess
Class name applied to the root element if color="success".
.MuiInput-colorWarning
Class name applied to the root element if color="warning".
.MuiInput-formControl
Class name applied to the root element if the component is a descendant of FormControl.
.MuiInput-fullWidth
Class name applied to the root element if fullWidth={true}.
.MuiInput-sizeLg
Class name applied to the root element if size="lg".
.MuiInput-sizeMd
Class name applied to the root element if size="md".
.MuiInput-sizeSm
Class name applied to the root element if size="sm".
.MuiInput-variantOutlined
Class name applied to the root element if variant="outlined".
.MuiInput-variantPlain
Class name applied to the root element if variant="plain".
.MuiInput-variantSoft
Class name applied to the root element if variant="soft".
.MuiInput-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.