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}.
.MuiFormControl-colorDanger
Class name applied to the root element if color="danger".
.MuiFormControl-colorNeutral
Class name applied to the root element if color="neutral".
.MuiFormControl-colorPrimary
Class name applied to the root element if color="primary".
.MuiFormControl-colorSuccess
Class name applied to the root element if color="success".
.MuiFormControl-colorWarning
Class name applied to the root element if color="warning".
.MuiFormControl-horizontal
Class name applied to the root element if orientation="horizontal".
.MuiFormControl-sizeLg
Class name applied to the root element if size="lg".
.MuiFormControl-sizeMd
Class name applied to the root element if size="md".
.MuiFormControl-sizeSm
Class name applied to the root element if size="sm".
.MuiFormControl-vertical
Class name applied to the root element if orientation="vertical".
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.