<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macOS: 27.0.0 -",
    "visionOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "PaperKit",
  "identifier" : "/documentation/PaperKit/LinkMarkup",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "PaperKit"
    ],
    "preciseIdentifier" : "s:8PaperKit10LinkMarkupV"
  },
  "title" : "LinkMarkup"
}
-->

# LinkMarkup

A URL link that a person can tap on in the canvas.

```
struct LinkMarkup
```

## Topics

### Creating a link

[`init(url: URL, frame: CGRect, allowedInteractions: MarkupInteractions, id: MarkupID<LinkMarkup>)`](/documentation/PaperKit/LinkMarkup/init(url:frame:allowedInteractions:id:))

Initializes and returns a new link markup from the specified parameters.

### Accessing the destination

[`var url: URL`](/documentation/PaperKit/LinkMarkup/url)

The URL that the link navigates to when activated.

### Identifying markup

[`var id: MarkupID<LinkMarkup>`](/documentation/PaperKit/LinkMarkup/id)

Stable unique identity of the markup.

## Relationships

### Conforms To

[`Markup`](/documentation/PaperKit/Markup)

[`Sendable`](/documentation/Swift/Sendable)

[`Identifiable`](/documentation/Swift/Identifiable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

---

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)