---
title: "init(isActive:destination:label:)"
framework: swiftui
role: symbol
role_heading: Initializer
path: "swiftui/navigationlink/init(isactive:destination:label:)"
---

# init(isActive:destination:label:)

Creates a navigation link that presents the destination view when active.

## Declaration

```swift
nonisolated init(isActive: Binding<Bool>, @ContentBuilder destination: () -> Destination, @ContentBuilder label: () -> Label)
```

## Parameters

- `isActive`: A binding to a Boolean value that indicates whether destination is currently presented.
- `destination`: A view for the navigation link to present.
- `label`: A content builder to produce a label describing the destination to present.

## See Also

### Creating links with content builders

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