# React navigation

> React navigation is an open-source agent skill for developer tools. Guides an agent through React Navigation 7 stacks, tabs, drawers, headers and safe areas. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/callstackincubator/agent-skills/tree/main/skills/react-navigation
- **Repository:** https://github.com/callstackincubator/agent-skills
- **GitHub stars:** 1,725
- **License:** MIT
- **Skill name:** react-navigation
- **Collection:** https://github.com/callstackincubator/agent-skills
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-02

## About

This skill gives the agent reference guidance for building navigation interfaces with React Navigation 7. It points the agent to topic-specific reference files covering stack navigation, bottom sheets and form sheets, cross-platform and native bottom tabs, swipeable top tabs, drawers and sidebars, header configuration, and safe-area handling such as status bar and tab bar insets.

The skill includes a short decision flow: when an app already has navigation set up, the agent should keep the same API style (object-based Static API or component-based Dynamic API) as the existing code. For new apps without navigation, it recommends the Static API. A problem-to-file table helps the agent jump directly to the right reference.

The guidance is written for React Navigation 7 only and may not work with other versions. It contains no scripts; the agent works from the markdown references and the existing codebase.

## When your agent uses it

> Provides React Navigation UI patterns for stacks, tabs, drawers etc. Use when building navigation UIs with React Navigation, configuring headers, bottom sheets or handling safe areas and insets.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/callstackincubator/agent-skills/tree/HEAD/skills/react-navigation)
- [License: MIT](https://github.com/callstackincubator/agent-skills/tree/HEAD/skills/react-navigation)

## Features

- **Stack navigation patterns:** Reference for showing screens and modals in a stack navigator.
- **Tabs and sidebars:** Covers bottom tabs, native tabs on iOS and Android, and swipeable top tabs.
- **Drawer navigation:** Guidance for drawers and responsive sidebars.
- **Bottom and form sheets:** Patterns for bottom sheets and form sheets.
- **Header configuration:** Explains how to set up headers in tab and drawer navigators.
- **Safe-area handling:** Covers status bar, header and tab bar insets.
- **API style selection:** Helps choose between the Static and Dynamic APIs based on the existing app.

## Good for

- Add a bottom tab bar with a native look on iOS and Android
- Set up a drawer menu for a React Native app
- Show a modal screen in a stack navigator
- Configure custom headers in a tab navigator
- Fix content hidden behind the status bar or tab bar

## Install

### Claude Code

Copy the skill folder to `~/.claude/skills/react-navigation` to use it in all your projects:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/callstackincubator/agent-skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/react-navigation &&
cp -R "$tmp/skills/react-navigation" ~/.claude/skills/react-navigation &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/react-navigation` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/react-navigation` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/callstackincubator/agent-skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/react-navigation &&
cp -R "$tmp/skills/react-navigation" ~/.agents/skills/react-navigation &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/react-navigation` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/react-navigation` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/callstackincubator/agent-skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/react-navigation &&
cp -R "$tmp/skills/react-navigation" ~/.cursor/skills/react-navigation &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/react-navigation` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/callstackincubator/agent-skills.git --path skills/react-navigation
```

Or copy the folder to `~/.gemini/skills/react-navigation` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/react-navigation`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/callstackincubator/agent-skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/react-navigation &&
cp -R "$tmp/skills/react-navigation" ~/.copilot/skills/react-navigation &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/react-navigation` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/callstackincubator/agent-skills.git
```

Then copy `agent-skills/skills/react-navigation` into your agent's skills folder as `react-navigation`. Agents that support SKILL.md read one folder per skill.

## FAQ

### Which React Navigation version does this skill support?

It only applies to React Navigation 7. The API and patterns may not work with other versions.

### Which API should the agent use?

For existing apps, the agent follows the current API style. For new apps without navigation, the skill prefers the object-based Static API.

### Does the skill run any scripts?

No scripts are included. It provides markdown reference files for the agent to follow.

### How do I install React navigation in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/react-navigation to use it in all your projects, or to .claude/skills/react-navigation in one project.

### Does React navigation run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use React navigation?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to React navigation?

The closest alternatives to React navigation are Expo router, Expo router, Expo native UI, Expo native UI and Axiom swiftui.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Expo router](https://ai-powered.com/skills/expo-router): Expo router is an open-source agent skill for developer tools.
- [Expo router](https://ai-powered.com/skills/expo-router-scaledockhq): Expo router is an open-source agent skill for developer tools.
- [Expo native UI](https://ai-powered.com/skills/expo-native-ui-scaledockhq): Expo native UI is an open-source agent skill for developer tools.
- [Expo native UI](https://ai-powered.com/skills/expo-native-ui): Expo native UI is an open-source agent skill for developer tools.
- [Axiom swiftui](https://ai-powered.com/skills/axiom-swiftui-charleswiltgen-2): Axiom swiftui is an open-source agent skill for developer tools.
- [Expo UI](https://ai-powered.com/skills/expo-ui-scaledockhq): Expo UI is an open-source agent skill for developer tools.
- [React frontend](https://ai-powered.com/skills/react-frontend): React frontend is an open-source agent skill for developer tools.
- [Expo animation](https://ai-powered.com/skills/expo-animation-scaledockhq): Expo animation is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/react-navigation
