Skip to main content
Version: 8.x

Getting started

React Navigation is a navigation library for React Native and Web. It provides routing logic and UI common on mobile apps and PWAs with type-safe navigation, built-in universal links on mobile, and browser history integration on the web.

Installation

The @react-navigation/native package contains the core functionality of React Navigation.

In your project directory, run:

npm install @react-navigation/native@next
Minimum requirements
  • react-native >= 0.83
  • expo >= 55 (development build is required)
  • typescript >= 5.9.2 (if you use TypeScript)
  • react-native-web >= 0.21.0 (if you support Web)

Installing dependencies

Next, install the dependencies used by most navigators: react-native-screens and react-native-safe-area-context.

In your project directory, run:

npx expo install react-native-screens react-native-safe-area-context @callstack/liquid-glass

This will install versions of these libraries that are compatible with your Expo SDK version.

Setting up React Navigation

The guides linked below cover the fundamentals of React Navigation, and give you the background to dive deeper into the more advanced topics.

When using React Navigation, you configure navigators in your app. Navigators handle transitions between screens and provide UI such as headers, tab bars, etc.

There are 2 ways to configure navigators: