expo-router

Create file-based and dynamic routes with tabs and modals in Expo Router apps.

2.4k|125|Updated Nov 30, 2025
One-click install
npx skills add https://github.com/expo/skills --skill expo-router-expo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: expo-router
Source: https://github.com/expo/skills/tree/main/plugins/expo/skills/expo-router
Command: npx skills add https://github.com/expo/skills --skill expo-router-expo

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires expo-router, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill addresses the complexity of navigating and structuring applications built with Expo Router, providing a streamlined approach to routing and navigation.

Core Features & Use Cases

  • Navigation and Routing: Simplifies the process of setting up and managing routes within an Expo Router app.
  • File-Based Routes: Offers a structured approach to defining routes using files, making it easy to manage and update.
  • Dynamic Routes: Supports dynamic route parameters for flexible routing.
  • Use Case: For a developer looking to create a multi-screen app with a navigation flow that includes tabs and modals, this Skill can help set up a clean and efficient navigation structure.

Quick Start

Use the expo-router skill to create a basic navigation flow with tabs and modals in your Expo app.

Frequently Asked Questions about expo-router

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up file-based routing in an Expo app?

File-based routing in Expo is set up by defining routes using files within your project structure. This approach streamlines navigation management by mapping files directly to routes, making it easy to manage and update application screens.

Can I use dynamic routes and modals with Expo Router?

Yes, dynamic routes and modals are fully supported in Expo Router. You can use dynamic route parameters for flexible routing and implement advanced navigation features like modals and tabs to create a multi-screen app with a clean navigation flow.

What is the best way to structure a multi-screen navigation flow with tabs in Expo?

The best way to structure a multi-screen navigation flow with tabs in Expo is by using a file-based routing approach. This allows you to efficiently organize routes, manage dynamic parameters, and incorporate advanced navigation features like modals and tabs.

Do I need specific dependencies to implement Expo Router navigation?

Yes, you need the expo-router library and related navigation and UI component dependencies to implement Expo Router navigation. These libraries provide the comprehensive tools required for structuring and navigating your application.

How does file-based routing simplify app structuring compared to manual navigation setup?

File-based routing simplifies app structuring by using the file system to define routes, removing the need for manual navigation configuration. This structured approach makes it significantly easier to manage, update, and scale multi-screen applications with dynamic routes and modals.