Join our Newsletter — 33% off our NHI Course
Home› Glossary› Architecture & Implementation› NavigationLink
Architecture & Implementation

NavigationLink

← Back to Glossary
By NHI Mgmt Group Updated November 3, 2026 Domain: Architecture & Implementation

NavigationLink is a SwiftUI control that opens another view when activated, adding that destination to a navigation hierarchy. It is commonly used inside NavigationView or NavigationStack to move between screens, and it can carry the data needed to build the destination view.

NavigationLink is a navigation primitive, not a security control. Its purpose is to move a user from one view to another while preserving the app’s navigation hierarchy, often by carrying the state or data needed to render the destination. In practice, that makes it the SwiftUI building block for screen-to-screen flow, drill-down navigation, and destination construction.

NavigationLink normally lives inside NavigationView or NavigationStack, where it participates in the parent-child structure of the interface. The source view acts as the entry point, and the destination view is resolved when the link is activated. That pattern matters because the destination is not just a URL-like target, it is part of the app’s stateful navigation model.

SwiftUI developers often use NavigationLink when a list, card, or row should open a detail screen with context already attached. This is why the control is common in master-detail interfaces, settings panes, and content hierarchies where the next view depends on the selected item.

Destination Data and View Construction

One of the most useful aspects of NavigationLink is that it can pass data forward to the destination. That lets the app construct the next view with the right model, identifier, or binding instead of relying on global state. The destination can therefore be derived from the selected item, which keeps navigation logic close to the UI structure that triggered it.

This also means the link is often the point where developers decide whether the destination should be built eagerly or lazily, and whether the destination should be simple display logic or a richer screen with its own local state. In larger apps, those choices affect performance, testability, and how predictable the navigation flow feels to the user.

NavigationLink shapes the user journey by making the next screen discoverable and consistent with the rest of the hierarchy. Compared with modal presentation, it implies a deeper, stack-based progression through the app. That distinction is important for back navigation, screen history, and user expectations about where they are in the interface.

Because it is tied to navigation state, NavigationLink is also a design signal. It tells SwiftUI that the destination belongs to the current navigation context, which is why it is a better fit for hierarchical movement than for one-off transient interactions. When used well, it makes app structure easier to follow and keeps screen transitions aligned with the data model that drives them.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

NHIMG Editorial Note
Reviewed and updated by the NHIMG editorial team on November 3, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org