IconButton API
API reference docs for theIconButton
component. For examples and details on the usage of this component, visit the component demo page.
Props
Prop | Type | Description | Default |
---|---|---|---|
|
| Variant of the button. |
|
|
| Size of the button. |
|
|
| Set the Icon for the button. | _ |
|
| Text to read out to assistive technologies when button is loading | _ |
|
| If true, the button is disabled. |
|
|
| If true ,the button will display a loading indicator. |
|
|
| If true, the button will be visually styled as pressed and the | _ |
|
| Specifies the button type. |
|
|
| Specifies a unique id for the button. | _ |
|
| Describes the component to assistive tech users and the action or effect that will take place when the button is clicked. | _ |
|
| Identifies the element (or elements) that the button controls. | _ |
|
| Indicates whether the button, or another element that it controls, is currently expanded or collapsed. |
|
|
| Indicates the availability and type of interactive popup element, such as menu or dialog, triggered by the button. | _ |
|
| Function to call when the button is clicked. | _ |