# Icon button

A button with only an icon, for universally known actions. The label is required.

Import from `@a31labs/rax/icon-button`.

## Usage

```tsx
<IconButton label="Close" icon={<X aria-hidden />} variant="ghost" />
```

## Rules

Props: `label` (required: the aria-label and the native `title` tooltip), `icon`, plus Button props except `children`. Icons without words only for universally known actions (close, more, copy, delete with confirm); everything else gets icon plus text.

Page: https://rax.a31.at/components/icon-button
