IconButton

IconButton is a component that displays an icon within a button.

Usage

import { IconButton } from "@yamada-ui/react"
<IconButton />

Change Variant

Change Size

Change Color Scheme

Change Shape

To rounded corners, set fullRounded to true.

Disable

To disable, set disabled to true.

Props

Accessibility

The IconButton follows the WAI-ARIA - Button Pattern for accessibility.

When aria-label is set, it will be read aloud by screen readers.

<IconButton aria-label="Plus" icon={<PlusIcon />} />

Keyboard Navigation

KeyDescriptionState
Enter, SpaceWhen element has focus, activates it.-
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd
2nd