IconButton
A borderless, background-free icon button: the hover effect is on the glyph itself (color), not a surrounding chip. Distinct from Button (which is a box-shaped control). Icons render with currentColor, so hover:text-* recolors the glyph.
Import
Section titled “Import”import { IconButton } from "@flanksource/clicky-ui/components";The props table documents the component-specific surface. Standard DOM attributes inherited from React, such as className, event handlers, and accessibility attributes, may also be accepted when the component’s prop type extends a native element.
| Prop | Type | Default | Description |
|---|---|---|---|
icon* |
StaticIconComponent |
— | Imported icon component to render. |
iconClassName |
string |
— | Extra classes for the glyph (e.g. size). |
label* |
string |
— | Accessible name; drives both aria-label and the tooltip title. |