Skip to content

react-navigation/react-navigation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

c272da2 · Mar 29, 2025
Dec 17, 2024
Nov 14, 2023
Mar 29, 2025
Mar 26, 2025
Mar 26, 2025
Mar 29, 2025
Nov 14, 2023
Jul 7, 2024
Feb 17, 2023
Nov 27, 2022
Nov 14, 2023
Dec 18, 2023
Jul 31, 2024
Nov 18, 2024
Nov 22, 2024
Nov 27, 2022
Mar 26, 2025
Nov 27, 2022
Nov 6, 2024
Jul 2, 2024
Mar 26, 2025
Nov 27, 2024
Mar 29, 2025

Repository files navigation

React Navigation 7

Build Status Code Coverage MIT License

Routing and navigation for your React Native apps.

Documentation can be found at reactnavigation.org.

This branch contains the code for the latest stable version of React Navigation. You can find the code for previous versions in the following branches:

Package Versions

Name Latest Version
@react-navigation/bottom-tabs badge
@react-navigation/core badge
@react-navigation/devtools badge
@react-navigation/drawer badge
@react-navigation/elements badge
@react-navigation/material-top-tabs badge
@react-navigation/native-stack badge
@react-navigation/native badge
@react-navigation/routers badge
@react-navigation/stack badge
react-native-drawer-layout badge
react-native-tab-view badge

Contributing

Please read through our contribution guide to get started!

Installing from a fork on GitHub

Since we use a monorepo, it's not possible to install a package from the repository URL. If you need to install a forked version from Git, you can use gitpkg.

First install gitpkg:

yarn global add gitpkg

Then follow these steps to publish and install a forked package:

  1. Fork this repo to your account and clone the forked repo to your local machine
  2. Open a Terminal and cd to the location of the cloned repo
  3. Run yarn to install any dependencies
  4. If you want to make any changes, make them and commit
  5. Run yarn lerna run prepack to perform the build steps
  6. Now cd to the package directory that you want to use (e.g. cd packages/stack for @react-navigation/stack)
  7. Run gitpkg publish to publish the package to your repo

After publishing, you should see something like this:

Package uploaded to git@github.com:<user>/<repo>.git with the name <name>

You can now install the dependency in your project:

yarn add <user>/<repo>.git#<name>

Remember to replace <user>, <repo> and <name> with right values.