---
title: id
framework: realitykit
role: symbol
role_heading: Instance Property
path: realitykit/viewattachmentcomponent/id
---

# id

The identifier used for this view attachment.

## Declaration

```swift
var id: AnyHashable { get }
```
