<!--
{
  "availability" : [
    "iOS: 13.0.0 - 16.0.0",
    "iPadOS: 13.0.0 - 16.0.0",
    "macCatalyst: 13.0.0 - 16.0.0",
    "macOS: 10.15.0 - 13.0.0",
    "tvOS: 13.0.0 - 16.0.0",
    "visionOS: 1.0.0 - 1.0.0",
    "watchOS: 6.0.0 - 9.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/NavigationLink/init(destination:tag:selection:label:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI14NavigationLinkV11destination3tag9selection5labelACyxq_Gq__qd__AA7BindingVyqd__SgGxyXEtcSHRd__lufc"
  },
  "title" : "init(destination:tag:selection:label:)"
}
-->

# init(destination:tag:selection:label:)

Creates a navigation link that presents the destination view when
a bound selection variable equals a given tag value.

```
nonisolated init<V>(destination: Destination, tag: V, selection: Binding<V?>, @ContentBuilder label: () -> Label) where V : Hashable
```

## Parameters

`destination`

A view for the navigation link to present.

`tag`

The value of `selection` that causes the link to present
`destination`.

`selection`

A bound variable that causes the link to present
`destination` when `selection` becomes equal to `tag`.

`label`

A content builder to produce a label describing the
`destination` to present.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)