Version: 3.0.0-next.37

IconButton

IconButton composes the Button component. It is generally used to make an Icon pressable.

Examples#

Basic#

Sizes#

Variants#

Props#

Name Type Description Default
icon Element The icon to be used. Refer to the Icon section of the docs for the available icon options. -

IconButton implements Button, Pressable

Accessibility#

  • Use accessibilityLabel for labelling icon buttons to make sure it's announced by screen reader devices.