mcpField
R
react-navigation

react-navigation

github.com/callstackincubatorDesign & UI1.7k5.0k installsUpdated 3w ago
Repository

About react-navigation

A guide for developers building navigation UIs with React Navigation 7. It covers both Static and Dynamic APIs and maps common navigation patterns to focused reference documents.

Key features

  1. 01Static and Dynamic API guidance
  2. 02Stack and form-sheet navigation
  3. 03Bottom and top tab navigation
  4. 04Drawer and sidebar configuration
  5. 05Headers and safe-area handling

Use cases

  1. 01Choose a navigation API for a new app
  2. 02Add stack, tab, or drawer navigation
  3. 03Configure navigation headers and safe areas

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/callstackincubator/agent-skills --skill react-navigation

After installing, type/react-navigationin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

agents/
openai.yaml
references/
bottom-tabs.md
drawers.md
form-sheet.md
header.md
material-top-tabs.md
native-bottom-tabs.md
safe-areas.md
stacks.md

Details

From the project README

React Navigation

Overview

Guide for building navigation UIs with React Navigation.

This skill only applies to React Navigation 7. The API and patterns may not work with different versions.

API Selection

React Navigation offers two API - object-based Static API and component-based Dynamic API.

  • Existing Apps: Check the current navigation setup and follow the same API style when using the references
  • New Apps: If the app does not have an existing navigation setup yet, prefer Static API

When to Apply

Reference this skill when:

  • Building navigation UI patterns such as stacks, tabs, drawers, sheets etc.
  • Configuring headers and other built-in navigator UI
  • Handling safe areas and insets in navigation UI

References

FileDescription
stacks.mdStack based navigation
form-sheet.mdBottom sheet and form sheets
bottom-tabs.mdCross-platform bottom tabs
native-bottom-tabs.mdNative bottom tabs
material-top-tabs.mdSwipeable Top tabs
drawers.mdDrawer navigation and sidebars
header.mdConfiguring headers
safe-areas.mdSafe-area handling

Problem -> Skill Mapping

ProblemStart With
Showing screens and modals in a stackstacks.md
Showing bottom sheets or form sheetsform-sheet.md
Showing screens in bottom tabs or responsive sidebars with web supportbottom-tabs.md
Showing screens in native tabs on iOS & Androidnative-bottom-tabs.md
Showing content in swipeable top tabsmaterial-top-tabs.md
Using a drawer or sidebardrawers.md
Configuring the header in bottom tab or drawer navigatorheader.md
Handling safe-area such as status bar, header insets, tab bar insets etc.safe-areas.md

Comments

Markdown supported