---
title: body
framework: swiftui
role: symbol
role_heading: Instance Property
path: swiftui/controlwidget/body-swift.property
---

# body

The content and behavior of the control.

## Declaration

```swift
@ControlWidgetConfigurationBuilder @MainActor @preconcurrency var body: Self.Body { get }
```

## Discussion

Discussion For any controls that you create, provide a computed body property that defines the control using some control widget configuration. Swift infers the control’s Body associated type based on the contents of the body property.
