<!--
{
  "availability" : [
    "macOS: 10.15.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/PrimitiveButtonStyle/link",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI20PrimitiveButtonStylePA2A04LinkdE0VRszrlE4linkAEvpZ"
  },
  "title" : "link"
}
-->

# link

A button style for buttons that emulate links.

```
@MainActor @export(implementation) @preconcurrency static var link: LinkButtonStyle { get }
```

## Discussion

To apply this style to a button, or to a view that contains buttons, use
the [`buttonStyle(_:)`](/documentation/SwiftUI/View/buttonStyle(_:)) modifier.

---

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)