<!--
{
  "availability" : [
    "iOS: 18.4.0 -",
    "iPadOS: 18.4.0 -",
    "macCatalyst: -",
    "macOS: 15.4.0 -",
    "tvOS: 18.4.0 -",
    "visionOS: 2.4.0 -",
    "watchOS: 11.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppIntents",
  "identifier" : "/documentation/AppIntents/AppEntityUIElement/subelements",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "App Intents"
    ],
    "preciseIdentifier" : "s:10AppIntents0A15EntityUIElementV11subelementsSayACGvp"
  },
  "title" : "subelements"
}
-->

# subelements

An array of UI elements that represent subelements in the view hierarchy.

```
var subelements: [AppEntityUIElement]
```

## Discussion

This property holds an array of UI elements that represents a UI element’s composition.
Each element has no defined coordinate space on its own, but instead uses the coordinate space of the root element. As a result,
the bounds of the list of elements a provider returns have the same coordinate space as the provider’s attached view.

---

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)