Icon Button
Variants
Sizes
Round
Disabled
Loading
Disclosure
Renderless
Examples
Arguments
Name | Description | Type | Default Value |
---|---|---|---|
@isDisabled | Indicate if the icon button is disabled. | boolean | false |
@isDisclosure | Indicate if the icon button discloses content. | boolean | false |
@isLoading | Indicate if the icon button should display a loading state. | boolean | false |
@isRenderless | Make the icon button renderless. | boolean | false |
@isRound | Indicate if the icon button is round. | boolean | false |
@onClick | Handle the icon button's `click` event. | (event: MouseEvent) => void | undefined |
@size | The size of the icon button. | "xs" | "sm" | "md" | "lg" | "md" |
@type | The type of the icon button. | "button" | "reset" | "submit" | "button" |
@variant | The appearance of the icon button. | string | "primary" | "primary" |