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

# Body

The type of widget that represents the content of the bundle.

## Declaration

```swift
associatedtype Body : Widget
```

## Discussion

Discussion When you support more than one widget, Swift infers this type from your implementation of the required body property.

## See Also

### Implementing a widget bundle

- [body](swiftui/widgetbundle/body-swift.property.md)
- [WidgetBundleBuilder](swiftui/widgetbundlebuilder.md)
