---
title: Body
framework: swiftui
role: symbol
role_heading: Associated Type
path: swiftui/controlwidgettemplate/body-swift.associatedtype
---

# Body

The type of control widget template representing the body of this template.

## Declaration

```swift
associatedtype Body : ControlWidgetTemplate
```

## Discussion

Discussion When you create a custom control widget, Swift infers this type from your implementation of the required body property.
