Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Skip to main content
React Navigation 7.0.0 is a robust navigation library for React Native applications. You can easily manage screen transitions, handle routing, and implement navigation patterns such as bottom-tabs, stack, and drawer navigation. React Native doesn’t have a built-in API for navigation like you see in a web browser. React Navigation provides this navigation for you. React Navigation sits alongside the iOS, Android and Vega gestures and animations to transition between screens. This library is system-deployed and available to React Native for Vega apps without a separate installation process. The library is deployed as an autolinking library, which your app links to at runtime. The library is guaranteed to be compatible only with the version of React Native for Vega for which it’s built. When you uplevel your app’s version of React Native for Vega, consider the best practice of upleveling its library dependencies.

Installation

  1. Add dependencies in the package.json file. You might not need all of the following packages, so include a subset of packages you need in your application.
  2. Add the @amazon-devices/react-native-screens dependency for unmounting screens that aren’t visible.
  3. Reinstall the dependencies file using the npm install command.

Examples

Stack example

Add the following dependencies:
Paste this code in the App.tsx file:

Native stack example

Add the following dependencies:
Paste this code in the App.tsx file:

Bottom tabs example

Add the following dependencies:
Paste this code in the App.tsx file:

Material bottom tabs example

Add the following dependencies:
Paste this code in the App.tsx file:

Material top tabs example

Add the following dependencies:
Paste this code in the App.tsx file:

Drawer example

Add the following dependencies:
Add a reanimated plugin to babel.config.js:
Reset metro cache before running the application:
Paste this code in the App.tsx file:

APIs supported on Vega

React-Navigation library on Vega adds support for all available APIs in the React-Navigation v6.

Components

Not supported on Vega

flipper-plugin-react-navigation

Known issues

Material bottom tabs

A component on the second screen is unmounted after navigating back and forth.

Safe area of context

Referenced packages use the @amazon-devices/keplerscript-react-native-safe-area-context library for updated types. Do not directly consume this library.

Supported versions

react-navigation version 2.0.0

Vega previously released an older version of the react-navigation library for Vega OS called react-navigation version 2.0.0:
  • "@amazon-devices/react-navigation__bottom-tabs": "~2.0.0"
  • "@amazon-devices/react-navigation__core": "~2.0.0"
  • "@amazon-devices/react-navigation__devtools": "~2.0.0"
  • "@amazon-devices/react-navigation__drawer": "~2.0.0"
  • "@amazon-devices/react-navigation__elements": "~2.0.0"
  • "@amazon-devices/react-navigation__material-bottom-tabs": "~2.0.0"
  • "@amazon-devices/react-navigation__material-top-tabs": "~2.0.0"
  • "@amazon-devices/react-navigation__native": "~2.0.0"
  • "@amazon-devices/react-navigation__native-stack": "~2.0.0"
  • "@amazon-devices/react-navigation__react-native-tab-view": "~2.0.0"
  • "@amazon-devices/react-navigation__routers": "~2.0.0"
  • "@amazon-devices/react-navigation__stack": "~2.0.0"
Existing users from the Vega private beta can continue to utilize these experimental features at their discretion. Documentation for react-navigation version 2.0.0 is not currently accessible for new developers.

Additional resources

For information on other libraries, see Supported Third-Party Libraries and Services.
Last modified on October 30, 2025