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.
.MuiTextarea-colorContext
Class name applied to the root element when color inversion is triggered.
.MuiTextarea-colorDanger
Class name applied to the root element if color="danger".
.MuiTextarea-colorNeutral
Class name applied to the root element if color="neutral".
.MuiTextarea-colorPrimary
Class name applied to the root element if color="primary".
.MuiTextarea-colorSuccess
Class name applied to the root element if color="success".
.MuiTextarea-colorWarning
Class name applied to the root element if color="warning".
.MuiTextarea-formControl
Class name applied to the root element if the component is a descendant of FormControl.
.MuiTextarea-sizeLg
Class name applied to the root element if size="lg".
.MuiTextarea-sizeMd
Class name applied to the root element if size="md".
.MuiTextarea-sizeSm
Class name applied to the root element if size="sm".
.MuiTextarea-variantOutlined
Class name applied to the root element if variant="outlined".
.MuiTextarea-variantPlain
Class name applied to the root element if variant="plain".
.MuiTextarea-variantSoft
Class name applied to the root element if variant="soft".
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.