IconButton | NativeBase | Universal Components for React and React Native

Nativebase logo
NativeBase
Data Display
Typography
Disclosure
Media and Icons
Others
IconButton
IconButton composes the Button component. It is generally used to make an Icon pressable.
Show Code
Playground
Examples
Basic
Playground
Sizes
Playground
Variants
Playground
Props
Styling
NativeBase ships with a default theme for each component. Checkout the default theme of 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