{
"componentDescription": "The foundation for building custom-styled buttons.",
"propDescriptions": {
"action": {
"description": "A ref for imperative actions. It currently only supports focusVisible() action."
},
"disabled": { "description": "If true, the component is disabled." },
"focusableWhenDisabled": {
"description": "If true, allows a disabled button to receive focus."
},
"rootElementName": {
"description": "The HTML element that is ultimately rendered, for example 'button' or 'a'"
},
"slotProps": { "description": "The props used for each slot inside the Button." },
"slots": {
"description": "The components used for each slot inside the Button. Either a string to use a HTML element or a component."
}
},
"classDescriptions": {
"active": {
"description": "State class applied to {{nodeName}} if {{conditions}}.",
"nodeName": "the root button element",
"conditions": "active={true}"
},
"disabled": {
"description": "State class applied to {{nodeName}} if {{conditions}}.",
"nodeName": "the root button element",
"conditions": "disabled={true}"
},
"focusVisible": {
"description": "State class applied to {{nodeName}} if {{conditions}}.",
"nodeName": "the root button element",
"conditions": "focusVisible={true}"
}
},
"slotDescriptions": { "root": "The component that renders the root." }
}