React Nitro

Navigation components

Choose a navigator, register screens, and configure transitions.

Import NavigationContainer, SharedElement, and the navigator factories from react-nitro-navigation. Stack and Tab below are the objects returned by createStackNavigator() and createBottomTabNavigator().

ComponentUse it to
NavigationContainerown the navigation state for an app's screen tree
Stack.Navigatorpresent routes on a native navigation stack
Stack.Screenregister a route and configure its native stack screen
Stack.Groupapply shared options to a set of stack screens
Tab.Navigatorswitch between top-level destinations with a native bottom tab bar
Tab.Screenregister a tab and configure its title, icon, badge, and first render
Tab.Groupapply shared options to a set of tab screens
SharedElementconnect one native view across two stack screens for a transition