[**@fungi.computer/caps**](../README.md) --- [@fungi.computer/caps](../README.md) / components/icon-button # components/icon-button ## Type Aliases ### IconButtonIconSize ```ts type IconButtonIconSize = "xs" | "sm" | "md" | "lg"; ``` Supported IconButton glyph sizes. --- ### IconButtonProps ```ts type IconButtonProps = object & Omit; ``` Props accepted by IconButton. #### Type Declaration | Name | Type | | ------------ | -------------------------------------------------------------------- | | `aria-label` | `string` | | `active?` | `boolean` | | `icon` | `ReactNode` | | `iconSize?` | [`IconButtonIconSize`](#iconbuttoniconsize) | | `reveal?` | `boolean` | | `size?` | [`ButtonProps`](button.md#buttonprops)\[`"size"`\] \| `"responsive"` | | `tone?` | `"default"` \| `"destructive"` | ## Variables ### IconButton ```ts const IconButton: ForwardRefExoticComponent< object & Omit & RefAttributes >; ``` A compact button for an icon control with an accessible name supplied by the caller.