Tab.Screen
Register a tab and configure its title, icon, badge, and first render.
App.tsx
<Tab.Screen name="Inbox" component={Inbox} options={{ title: 'Inbox', tabBarBadge: 3, }}/>Inbox
3 unread messages
Declare a Tab.Screen inside the Tab.Navigator returned by createBottomTabNavigator. Give it a unique route name and a screen component. Its title option sets the native tab label and defaults to the route name.
<Tab.Screen
name="Inbox"
component={Inbox}
options={{ title: 'Inbox', tabBarBadge: 3 }}
/>tabBarBadge accepts a number or string. Use tabBarIcon for a bundled image, or an SF Symbol on iOS. To mount a tab's contents when the navigator first renders, set lazy: false in that screen's options. Tab.Navigator