Preview
Usage
IconButton usage<IconButton label="Refresh deploys">↻</IconButton>API
IconButton APIIconButtonProps
| prop | type | notes |
|---|---|---|
| label | string | Accessible name for the icon-only control. |
| children | RemixNode | Icon glyph; always hidden from the accessibility tree. |
| variant? | 'quiet' | 'secondary' | 'danger' | |
| size? | 'sm' | 'md' | 'lg' | |
| type? | 'button' | 'submit' | 'reset' | |
| disabled? | boolean | |
| name? | string | |
| value? | string | |
| form? | string | |
| formAction? | string | |
| formEncType? | string | |
| formMethod? | string | |
| formNoValidate? | boolean | |
| formTarget? | string | |
| pending? | boolean | Externally controlled submission state. |
| pendingLabel? | string | Accessible name while pending; defaults to `label`. |
| title? | string | |
| mix? | MixInput |