{
"props": {
"children": { "type": { "name": "custom", "description": "node" } },
"classes": { "type": { "name": "object" }, "additionalInfo": { "cssApi": true } },
"color": {
"type": {
"name": "union",
"description": "'inherit'
| 'default'
| 'primary'
| 'secondary'
| 'error'
| 'info'
| 'success'
| 'warning'
| string"
},
"default": "'default'"
},
"disabled": { "type": { "name": "bool" }, "default": "false" },
"disableFocusRipple": { "type": { "name": "bool" }, "default": "false" },
"disableRipple": { "type": { "name": "bool" }, "default": "false" },
"edge": {
"type": {
"name": "enum",
"description": "'end'
| 'start'
| false"
},
"default": "false"
},
"loading": { "type": { "name": "bool" }, "default": "null" },
"loadingIndicator": {
"type": { "name": "node" },
"default": "
| 'medium'
| 'large'
| string"
},
"default": "'medium'"
},
"sx": {
"type": {
"name": "union",
"description": "Array<func
| object
| bool>
| func
| object"
},
"additionalInfo": { "sx": true }
}
},
"name": "IconButton",
"imports": [
"import IconButton from '@mui/material/IconButton';",
"import { IconButton } from '@mui/material';"
],
"classes": [
{
"key": "colorError",
"className": "MuiIconButton-colorError",
"description": "Styles applied to the root element if `color=\"error\"`.",
"isGlobal": false
},
{
"key": "colorInfo",
"className": "MuiIconButton-colorInfo",
"description": "Styles applied to the root element if `color=\"info\"`.",
"isGlobal": false
},
{
"key": "colorInherit",
"className": "MuiIconButton-colorInherit",
"description": "Styles applied to the root element if `color=\"inherit\"`.",
"isGlobal": false
},
{
"key": "colorPrimary",
"className": "MuiIconButton-colorPrimary",
"description": "Styles applied to the root element if `color=\"primary\"`.",
"isGlobal": false
},
{
"key": "colorSecondary",
"className": "MuiIconButton-colorSecondary",
"description": "Styles applied to the root element if `color=\"secondary\"`.",
"isGlobal": false
},
{
"key": "colorSuccess",
"className": "MuiIconButton-colorSuccess",
"description": "Styles applied to the root element if `color=\"success\"`.",
"isGlobal": false
},
{
"key": "colorWarning",
"className": "MuiIconButton-colorWarning",
"description": "Styles applied to the root element if `color=\"warning\"`.",
"isGlobal": false
},
{
"key": "disabled",
"className": "Mui-disabled",
"description": "State class applied to the root element if `disabled={true}`.",
"isGlobal": true
},
{
"key": "edgeEnd",
"className": "MuiIconButton-edgeEnd",
"description": "Styles applied to the root element if `edge=\"end\"`.",
"isGlobal": false
},
{
"key": "edgeStart",
"className": "MuiIconButton-edgeStart",
"description": "Styles applied to the root element if `edge=\"start\"`.",
"isGlobal": false
},
{
"key": "loading",
"className": "MuiIconButton-loading",
"description": "Styles applied to the root element if `loading={true}`.",
"isGlobal": false
},
{
"key": "loadingIndicator",
"className": "MuiIconButton-loadingIndicator",
"description": "Styles applied to the loadingIndicator element.",
"isGlobal": false
},
{
"key": "loadingWrapper",
"className": "MuiIconButton-loadingWrapper",
"description": "Styles applied to the loadingWrapper element.",
"isGlobal": false
},
{
"key": "root",
"className": "MuiIconButton-root",
"description": "Styles applied to the root element.",
"isGlobal": false
},
{
"key": "sizeLarge",
"className": "MuiIconButton-sizeLarge",
"description": "Styles applied to the root element if `size=\"large\"`.",
"isGlobal": false
},
{
"key": "sizeMedium",
"className": "MuiIconButton-sizeMedium",
"description": "Styles applied to the root element if `size=\"medium\"`.",
"isGlobal": false
},
{
"key": "sizeSmall",
"className": "MuiIconButton-sizeSmall",
"description": "Styles applied to the root element if `size=\"small\"`.",
"isGlobal": false
}
],
"spread": true,
"themeDefaultProps": true,
"muiName": "MuiIconButton",
"forwardsRefTo": "HTMLButtonElement",
"filename": "/packages/mui-material/src/IconButton/IconButton.js",
"inheritance": { "component": "ButtonBase", "pathname": "/material-ui/api/button-base/" },
"demos": "