React Navigation Patterns

Implement stack, tab, and drawer navigators in React Native with React Navigation.

7|1|Updated Dec 1, 2025
One-click install
npx skills add https://github.com/chiraitori/paperand --skill react-navigation-patterns
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: React Navigation Patterns
Source: https://github.com/chiraitori/paperand/tree/main/.agent/skills/navigation
Command: npx skills add https://github.com/chiraitori/paperand --skill react-navigation-patterns

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides clear, actionable examples and patterns for implementing navigation within a React Native application using React Navigation, simplifying complex routing and screen management.

Core Features & Use Cases

  • Stack Navigator: Demonstrates setting up a native stack navigator for hierarchical navigation.
  • Bottom Tab Navigator: Shows how to create a tab-based navigation structure with customizable icons and styles.
  • Navigation Hooks: Illustrates the use of useNavigation, useRoute, and useFocusEffect for programmatic navigation and screen lifecycle management.
  • Deep Linking: Explains how to configure and handle deep links for external app navigation.
  • Use Case: A developer needs to implement a multi-tabbed interface with nested screens for a mobile app and wants to understand the best practices for linking between them.

Quick Start

Use the React Navigation Patterns skill to generate a basic Stack Navigator setup.

Frequently Asked Questions about React Navigation Patterns

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

FAQPage Schema
How do I set up a stack navigator in React Native?

To set up a stack navigator in React Native, configure a native stack navigator using React Navigation. This pattern manages screen transitions and routing state, enabling structured hierarchical navigation between multiple screens within your mobile application.

What is the best way to create a bottom tab navigator with custom icons?

The best way to create a bottom tab navigator is using React Navigation's tab navigator component with customizable screen options. This approach configures tab-based navigation structures, allowing you to apply custom icons and styles for a multi-tabbed mobile interface.

How do I handle deep linking in a React Native app?

To handle deep linking in a React Native app, configure React Navigation to map incoming URLs to specific screen routes. This setup intercepts external links, enabling direct navigation to nested screens and allowing users to bypass the default home screen.

How do I use navigation hooks like useNavigation and useFocusEffect?

Use navigation hooks like useNavigation and useFocusEffect in React Native to trigger programmatic navigation and manage screen lifecycle events. These hooks allow components to access routing state and execute logic when a screen gains or loses focus.

Can I implement type-safe navigation with React Navigation?

Yes, you can implement type-safe navigation with React Navigation to ensure route parameters and screen names are correctly typed. This approach prevents routing errors and ensures that nested navigators and complex navigation flows receive valid props.