{"id":20716291,"url":"https://github.com/0xleif/navigation","last_synced_at":"2026-02-18T17:31:50.833Z","repository":{"id":263076853,"uuid":"889279083","full_name":"0xLeif/Navigation","owner":"0xLeif","description":"🌟 SwiftUI Navigation: Effortless, powerful navigation and modals for SwiftUI.","archived":false,"fork":false,"pushed_at":"2024-11-18T23:22:23.000Z","size":30,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-27T12:34:39.491Z","etag":null,"topics":["environment","ios","macos","navigation","navigationpath","navigationstack","swift-6","swiftui","tvos","view","watchos"],"latest_commit_sha":null,"homepage":"https://0xleif.github.io/Navigation/","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/0xLeif.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":["0xLeif"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":null}},"created_at":"2024-11-16T01:04:33.000Z","updated_at":"2024-11-18T17:24:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"4e7284f2-5313-420c-baef-b4cb4ce359b9","html_url":"https://github.com/0xLeif/Navigation","commit_stats":null,"previous_names":["0xleif/navigation"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/0xLeif/Navigation","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xLeif%2FNavigation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xLeif%2FNavigation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xLeif%2FNavigation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xLeif%2FNavigation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/0xLeif","download_url":"https://codeload.github.com/0xLeif/Navigation/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xLeif%2FNavigation/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279006211,"owners_count":26084062,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-11T02:00:06.511Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["environment","ios","macos","navigation","navigationpath","navigationstack","swift-6","swiftui","tvos","view","watchos"],"created_at":"2024-11-17T03:05:22.055Z","updated_at":"2025-10-11T04:52:00.476Z","avatar_url":"https://github.com/0xLeif.png","language":"Swift","readme":"# Navigation Framework for SwiftUI\n\n[![macOS Build](https://img.shields.io/github/actions/workflow/status/0xLeif/Navigation/macOS.yml?label=macOS\u0026branch=main)](https://github.com/0xLeif/Navigation/actions/workflows/macOS.yml)\n[![License](https://img.shields.io/github/license/0xLeif/Navigation)](https://github.com/0xLeif/Navigation/blob/main/LICENSE)\n[![Version](https://img.shields.io/github/v/release/0xLeif/Navigation)](https://github.com/0xLeif/Navigation/releases)\n\n**Navigation** is a SwiftUI framework that simplifies and enhances navigation in your applications. It centralizes state management through the `Navigator` class, making it easier to handle navigation actions, sheets, alerts, and confirmation dialogs.\n\n## Requirements\n\n- **iOS**: 16.0+\n- **macOS**: 13.0+\n- **tvOS**: 16.0+\n- **watchOS**: 9.0+\n- **Swift**: 6.0+\n- **Xcode**: 16.0+\n\n## Key Features\n\n**Navigation** offers powerful tools for managing navigation state:\n\n- **Centralized State Management**: Use the `Navigator` class to manage navigation actions, alerts, sheets, and confirmation dialogs.\n- **Automatic Navigator Injection**: The `Navigation` view automatically creates and injects a `Navigator` into the environment.\n- **Environment Access**: Access the `Navigator` throughout your app via `@EnvironmentObject`.\n- **Seamless SwiftUI Integration**: Works smoothly with SwiftUI's `NavigationStack`, `NavigationLink`, and `navigationDestination`.\n- **Simplified UI Components**: Manage sheets, alerts, and confirmation dialogs without multiple `@State` variables.\n- **Type-Safe Navigation**: Ensure type safety by using custom `Hashable` data types for navigation.\n- **Programmatic Navigation**: Support dynamic navigation flows by pushing and popping views based on conditions or events.\n\n## Getting Started\n\nTo add **Navigation** to your SwiftUI project, follow the detailed instructions in the [Installation Guide](documentation/INSTALLATION.md).\n\nAfter installation, refer to the [Usage Overview](documentation/USAGE_OVERVIEW.md) for a quick introduction on setting up and using the framework.\n\n## Documentation\n\nExplore **Navigation**'s documentation to get the most out of the framework:\n\n- [Installation Guide](documentation/INSTALLATION.md): Steps to add **Navigation** to your project using Swift Package Manager.\n- [Usage Overview](documentation/USAGE_OVERVIEW.md): A quick start guide with key features and example implementations.\n\n### Detailed Usage Guides\n\n- [Navigation Techniques](documentation/NAVIGATION_TECHNIQUES.md): Discover various navigation methods using the `Navigator`, including pushing and popping views, `NavigationLink`, and `NavigatorButton`.\n- [Modals, Alerts, and Dialogs](documentation/MODALS_ALERTS_DIALOGS.md): Learn how to present sheets, alerts, and confirmation dialogs using the `Navigator`.\n- [Advanced Usage](documentation/ADVANCED_USAGE.md): Delve into advanced topics like custom navigation actions, deep linking, and environment integration.\n- [Patterns and Best Practices](documentation/PATTERNS_BEST_PRACTICES.md): Improve your app's navigation architecture by following best practices.\n- [API Overview](documentation/API_OVERVIEW.md): A comprehensive overview of the `Navigator` API.\n\n## Next Steps\n\nWith **Navigation** installed, start exploring its features by reading the [Usage Overview](documentation/USAGE_OVERVIEW.md) and the detailed guides. Begin managing navigation effectively in your SwiftUI projects. For advanced techniques, consult the [Advanced Usage Guide](documentation/ADVANCED_USAGE.md).\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.\n","funding_links":["https://github.com/sponsors/0xLeif"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xleif%2Fnavigation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F0xleif%2Fnavigation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xleif%2Fnavigation/lists"}