---
title: MarkupID
framework: paperkit
role: symbol
role_heading: Structure
path: paperkit/markupid
---

# MarkupID

An opaque ID for markup elements.

## Declaration

```swift
struct MarkupID<Element>
```

## Topics

### Creating an ID

- [init()](paperkit/markupid/init().md)

### Converting IDs

- [MarkupOrderedSet.ElementID](paperkit/markuporderedset/elementid.md)

## Relationships

### Conforms To

- [Decodable](swift/decodable.md)
- [Encodable](swift/encodable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Data model

- [PaperMarkup](paperkit/papermarkup.md)
- [MarkupOrderedSet](paperkit/markuporderedset.md)
