IconButton | NativeBase | Universal Components for React and React Native

Search
K
Hire us
If you are starting a new project, please try gluestack-ui for better performance and new design.
IconButton
IconButton consists of the Button component. It is generally used to make an Icon pressable.
Examples
Basic
Playground
Sizes
Playground
Variants
Playground
Props
icon
The icon to be used. Refer to the Icon section of the docs for the available icon options.
Type: Element
Styling
NativeBase ships with a default theme for each component. Check out the default theme of the iconButton.
Info: We can easily extend the iconButton component theme using extendTheme function as described in the documentation .
Accessibility
Use accessibilityLabel for labelling icon buttons to make sure it's announced by screen reader devices.
IconButton has a role set to .
Nativebase logo
MadeWithNativeBase
Gluestack logo
gluestack-ui