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

# init(destination:)

Constructs a new help link that opens the specified destination URL.

## Declaration

```swift
@MainActor @preconcurrency init(destination: URL)
```

## Parameters

- `destination`: The URL to open when the button is clicked.

## Discussion

Discussion Use this initializer when you want the standard help button appearance that opens a link to a website. You can override the default behavior when the button is clicked by setting the openURL environment value with a custom OpenURLAction.

## See Also

### Creating a help link

- [init(action:)](swiftui/helplink/init(action:).md)
- [init(anchor:)](swiftui/helplink/init(anchor:).md)
- [init(anchor:book:)](swiftui/helplink/init(anchor:book:).md)
