<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "RealityKit",
  "identifier" : "/documentation/RealityKit/AttachmentContent",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "RealityKit",
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:19_RealityKit_SwiftUI17AttachmentContentP"
  },
  "title" : "AttachmentContent"
}
-->

# AttachmentContent

A type that provides content for an attachment content builder.

```
@MainActor @preconcurrency protocol AttachmentContent
```

## Topics

### Associated Types

[`associatedtype Body : AttachmentContent`](/documentation/RealityKit/AttachmentContent/Body-swift.associatedtype)

### Instance Properties

[`var body: Self.Body`](/documentation/RealityKit/AttachmentContent/body-swift.property)

## Relationships

### Conforming Types

[`AnyAttachmentContent`](/documentation/RealityKit/AnyAttachmentContent)

[`EmptyAttachmentContent`](/documentation/RealityKit/EmptyAttachmentContent)

[`TupleAttachmentContent`](/documentation/RealityKit/TupleAttachmentContent)

[`ConditionalAttachmentContent`](/documentation/RealityKit/ConditionalAttachmentContent)

[`Attachment`](/documentation/RealityKit/Attachment)

[`TuplePackAttachmentContent`](/documentation/RealityKit/TuplePackAttachmentContent)

---

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)