Quick Start
This tutorial walks you through creating a simple multi-screen app with Expo Router.Create a New Project
Create a new Expo app with Expo Router:Project Structure
Your initial project structure:Building Your First Routes
Create the Root Layout
The root layout wraps all your routes. Update
app/_layout.tsx:app/_layout.tsx
Your Project Structure
You should now have:Understanding What You Built
File-Based Routing
Each file in theapp directory becomes a route:
index.tsx→/(root path)about.tsx→/aboutprofile/[id].tsx→/profile/:id(dynamic segment)
Navigation Methods
You used two ways to navigate:<Link>component - Declarative navigation:
routerobject - Imperative navigation:
Dynamic Parameters
The[id].tsx file creates a dynamic route:
/profile/john makes id equal to "john".
Layouts
The_layout.tsx file wraps all routes in that directory:
Next Steps
Learn More
File-Based Routing
Learn all routing conventions
Navigation
Master navigation patterns
Dynamic Routes
Work with dynamic parameters
Layouts
Share UI across routes