<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -",
    "macCatalyst: 18.0.0 -",
    "macOS: 26.0.0 -",
    "watchOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/ControlWidget/Body-swift.associatedtype",
  "metadataVersion" : "0.1.0",
  "role" : "Associated Type",
  "symbol" : {
    "kind" : "Associated Type",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI13ControlWidgetP4BodyQa"
  },
  "title" : "Body"
}
-->

# Body

The type of configuration representing the content of this control.

```
associatedtype Body : ControlWidgetConfiguration
```

## Discussion

When you create a custom control, Swift infers this type from your
implementation of the required [`body`](/documentation/SwiftUI/ControlWidget/body-swift.property)
property.

---

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)