<!--
{
  "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:isActive:)-4whx5",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI14NavigationLinkVA2A4TextVRszrlE_11destination8isActiveACyAEq_GAA18LocalizedStringKeyV_q_AA7BindingVySbGtcfc"
  },
  "title" : "init(_:destination:isActive:)"
}
-->

# init(_:destination:isActive:)

Creates a navigation link that presents a destination view when active, with a
text label that the link generates from a localized string key.

```
nonisolated init(_ titleKey: LocalizedStringKey, destination: Destination, isActive: Binding<Bool>)
```

## Parameters

`titleKey`

A localized string key for creating a text label.

`destination`

A view for the navigation link to present.

`isActive`

A binding to a Boolean value that indicates whether
`destination` is currently presented.

---

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)