swiftui-navigation-navigator

Community

Navigator-driven SwiftUI navigation patterns

Authorhmlongco
Version1.0.0
Installs0

System Documentation

What problem does it solve?

SwiftUI navigation can become complex when using modular destinations, deep linking, and checkpoints. Navigator provides a destination-driven model that unifies push, sheet, and presentation flows across modules and avoids per-type navigation registrations.

Core Features & Use Cases

  • Destination-driven navigation using NavigationDestination enums with a single internal registration.
  • ManagedNavigationStack that injects a Navigator into the environment for centralized control.
  • NavigationLink(to: Destination.case) usage to simplify navigation without per-type registrations.
  • Deep linking and in-app routing via navigation send / onNavigationReceive and checkpoint-based navigation.
  • Modular provisioning via NavigationProvidedDestination and onNavigationProvidedView for cross-module apps.
  • Dismissible views and cross-stack coordination with built-in support for sheets, covers, and nested navigators.

Quick Start

Wrap your root view in a ManagedNavigationStack and use NavigationLink(to: Destination.case) to drive navigation.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: swiftui-navigation-navigator
Download link: https://github.com/hmlongco/Navigator/archive/main.zip#swiftui-navigation-navigator

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.