When to use it
Use for external or system URL actions that need Lumen semantic treatment. Keep in-app routing and URL policy in application code.
Open an Apple URL using native SwiftUI behavior and Lumen semantic styling.
Apple availability
Import LumenUI in the target that uses this component. iPad support follows the iOS package baseline and uses native iPad layout behavior.
Native example
Use for external or system URL actions that need Lumen semantic treatment. Keep in-app routing and URL policy in application code.
LumenLink(
"Read privacy policy",
destination: privacyPolicyURL,
showsExternalIndicator: true
)Reference
The primary shared and platform-specific options exposed by LumenLink.
| API | Values or type | Default | Description |
|---|---|---|---|
| label | LocalizedStringKey or custom View | Required | Provides visible link content. |
| destination | URL | Required | Provides the native URL destination. |
| showsExternalIndicator | Bool | false | Adds a decorative external-destination symbol without changing the accessible label. |
Native behavior
Use for external or system URL actions that need Lumen semantic treatment. Keep in-app routing and URL policy in application code.
SwiftUI preserves the native link role, visible label, keyboard focus, disabled state, and URL-opening behavior.