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

# init(_:destination:)

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

## Declaration

```swift
nonisolated init(_ titleKey: LocalizedStringKey, @ContentBuilder destination: () -> Destination)
```

## Parameters

- `titleKey`: A localized string key for creating a text label.
- `destination`: A view for the navigation link to present.

## See Also

### Presenting a destination view

- [init(destination:label:)](swiftui/navigationlink/init(destination:label:).md)
