Search Docs
This library supports using React Native Vector Icons thanks to the getImageSourceSync API.
getImageSourceSync
Follow installation guide in React Native Vector Icons README
import { createNativeBottomTabNavigator } from '@bottom-tabs/react-navigation'; import Icon from 'react-native-vector-icons/MaterialCommunityIcons'; const homeIcon = Icon.getImageSourceSync('home', 24); const exploreIcon = Icon.getImageSourceSync('compass', 24); const Tabs = createNativeBottomTabNavigator(); function NativeBottomTabs() { return ( <Tabs.Navigator ignoresTopSafeArea> <Tabs.Screen name="Home" component={HomeScreen} options={{ tabBarIcon: () => homeIcon, }} /> <Tabs.Screen name="Explore" component={ExploreScreen} options={{ tabBarIcon: () => exploreIcon, }} /> </Tabs.Navigator> ); }