---
title: "init(destination:tag:selection:label:)"
framework: swiftui
role: symbol
role_heading: Initializer
path: "swiftui/navigationlink/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.

## Declaration

```swift
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.

## See Also

### Creating links with view arguments

- [init(_:destination:isActive:)](swiftui/navigationlink/init(_:destination:isactive:).md)
- [init(destination:isActive:label:)](swiftui/navigationlink/init(destination:isactive:label:).md)
- [init(_:destination:tag:selection:)](swiftui/navigationlink/init(_:destination:tag:selection:).md)
