<!--
{
  "availability" : [
    "macOS: 14.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/HelpLink/init(destination:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI8HelpLinkV11destinationAC10Foundation3URLV_tcfc"
  },
  "title" : "init(destination:)"
}
-->

# init(destination:)

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

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

## Parameters

`destination`

The URL to open when the button is clicked.

## 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`](/documentation/SwiftUI/EnvironmentValues/openURL) environment value with a
custom [`OpenURLAction`](/documentation/SwiftUI/OpenURLAction).

---

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)