This documentation is available as Markdown for AI agents and LLMs. See the full Markdown index or append .md to any documentation URL.
Expo Router
A file-based routing library for React Native and web applications.
expo-router is a routing library for React Native and web apps. It enables navigation management using a file-based routing system and provides native navigation components.
Learn about Expo Router basics, navigation patterns, core concepts, and more.
In SDK 56 and later, Expo Router no longer supports importing from external
@react-navigation/*packages in application code. Repoint those imports to the matchingexpo-routerentry points. Run the codemod or follow the SDK 55 to 56 migration guide to update your project.
Installation
To use Expo Router in your project, you need to install. Follow the instructions from the Expo Router's installation guide:
Learn how to install Expo Router in your project.
Configuration in app config
If you are using the default template to create a new project, expo-router's config plugin is already configured in your app config.
Example app.json with config plugin
Configurable properties
Usage
For information core concepts, notation patterns, navigation layouts, and common navigation patterns, start with Router 101 section:
APIs
API
import { useRouter, Tabs, Navigator, Slot } from 'expo-router';
No API data file found, sorry!