Icon | 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.
Icon
Migrating to v3 will provide a lot more customisation option. You can also create custom icons using SVG.
Overview
Migrating Icon components can broadly described in these points:
ios, android and type props have been deprecated.
default Icon type i.e Ionicons has been removed, now v3 does not uses any.
v3 uses a third-party icon library ( such as @expo/vector-icons ), with as prop.
custom colors and size can be added using color and size props.
Code Comparison
v2
v3
Nativebase logo
MadeWithNativeBase