{
"componentDescription": "",
"propDescriptions": {
"alt": {
"description": "Used in combination with src or srcSet to provide an alt attribute for the rendered img element."
},
"children": {
"description": "Used to render icon or text elements inside the Avatar if src is not set. This can be an element, or just a string."
},
"classes": { "description": "Override or extend the styles applied to the component." },
"component": {
"description": "The component used for the root node. Either a string to use a HTML element or a component."
},
"imgProps": {
"description": "Attributes applied to the img element if the component is used to display an image. It can be used to listen for the loading error event."
},
"sizes": {
"description": "The sizes attribute for the img element."
},
"slotProps": { "description": "The props used for each slot inside." },
"slots": { "description": "The components used for each slot inside." },
"src": { "description": "The src attribute for the img element." },
"srcSet": {
"description": "The srcSet attribute for the img element. Use this attribute for responsive image display."
},
"sx": {
"description": "The system prop that allows defining system overrides as well as additional CSS styles."
},
"variant": { "description": "The shape of the avatar." }
},
"classDescriptions": {
"circular": {
"description": "Styles applied to {{nodeName}} if {{conditions}}.",
"nodeName": "the root element",
"conditions": "variant=\"circular\""
},
"colorDefault": {
"description": "Styles applied to {{nodeName}} if {{conditions}}.",
"nodeName": "the root element",
"conditions": "not src or srcSet"
},
"rounded": {
"description": "Styles applied to {{nodeName}} if {{conditions}}.",
"nodeName": "the root element",
"conditions": "variant=\"rounded\""
},
"square": {
"description": "Styles applied to {{nodeName}} if {{conditions}}.",
"nodeName": "the root element",
"conditions": "variant=\"square\""
}
},
"slotDescriptions": {
"fallback": "The component that renders the fallback slot.",
"img": "The component that renders the img slot.",
"root": "The component that renders the root slot."
}
}