Skip to content

Expo project structure vs Expo router

Expo project structure is an open-source agent skill for developer tools. Expo router is an open-source agent skill for developer tools.

  • Expo project structure is best for set up folders for a new expo router app.
  • Expo router is best for set up a tabbed app with a stack inside each tab.
What it is
Expo project structure is an open-source agent skill for developer tools.
Expo router is an open-source agent skill for developer tools.
Best for
Set up folders for a new Expo Router app
Set up a tabbed app with a stack inside each tab
Kind
Skill
Skill
Pricing
Open source
Open source
Platforms
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
GitHub stars
4.2K
4.2K
Last commit
Nov 2026
Nov 2026
License
MIT
MIT
Open source
Good for
Set up folders for a new Expo Router app; Decide where a new component should live; Organize API routes in an Expo project
Set up a tabbed app with a stack inside each tab; Add a long-press context menu and preview to a list card; Present a settings screen as a bottom form sheet

What Expo project structure does

  • Route-only app folder

    Keeps src/app limited to files that become routes, with everything else in sibling folders.

  • API route grouping

    Places server endpoints under app/api and shared server helpers under src/server.

  • Component folder layout

    Describes when to split a component into a folder with an index file and colocated parts.

  • Platform file variants

    Explains when to use Platform checks versus platform-specific files resolved by Metro.

  • Colocated tests and styles

    Recommends keeping tests beside source files and styles at the bottom of component files.

  • Config file placement

    Shows where app config, EAS config, package.json, assets and scripts belong relative to src.

What Expo router does

  • File-based route structure

    Guidance on route files, dynamic routes, groups and folder organization inside the app directory.

  • Native stacks and titles

    Setting up _layout stacks with native navigation and page titles via Stack.Title.

  • Link previews and menus

    Adding link previews and long-press context menus to Link components.

  • Modals and form sheets

    Presenting screens as modals or resizable form sheets with detents.

  • NativeTabs setup

    Building tab layouts with NativeTabs and sharing stacks across tabs.

  • Headers and search bars

    Configuring header toolbars and adding search bars to screens.

Expo project structure vs Expo router: questions

Is Expo project structure or Expo router cheaper?

Both are open source. Compare current plans on each official site.

What is the difference between Expo project structure and Expo router?

Expo project structure is an open-source agent skill for developer tools. Expo router is an open-source agent skill for developer tools.

Keep comparing