router icon indicating copy to clipboard operation
router copied to clipboard

[ARCHIVE]: Expo Router has moved to expo/expo -- The File-based router for universal React Native apps

Expo Router

[!warning] The Expo Router repo has moved upstream to expo/expo.

This repo will remain in maintenance-mode until Expo Router v3 is released.


Stable version 2 is out now!

Repo for the new File-based router for React Native apps. Please open a discussion if you have any questions or feedback.

Running

The easiest way to try Expo Router is by creating a new project:

npx create-expo-app@latest -e with-router

See the setup guide for more.

Examples

  • Layouts showcase - Demo of bottom sheet, drawer, material tabs, top tabs, bottom tabs, js stack, and collapsing header layouts.
  • Basic Twitter layout clone - Similar layout to Twitter. Uses shared routes, and implements universal links.
  • Test app - Test app, in this repository.
  • Expo Router Guest List App - Simple guest list app with fetching from external API

Contributing

  • Contributing - Read before contributing.