---
title: "makeBody(configuration:)"
framework: swiftui
role: symbol
role_heading: Instance Method
path: "swiftui/controlgroupstyle/makebody(configuration:)"
---

# makeBody(configuration:)

Creates a view representing the body of a control group.

## Declaration

```swift
@ContentBuilder @MainActor @preconcurrency func makeBody(configuration: Self.Configuration) -> Self.Body
```

## Parameters

- `configuration`: The properties of the control group instance being created.

## Discussion

Discussion This method will be called for each instance of ControlGroup created within a view hierarchy where this style is the current ControlGroupStyle.

## See Also

### Creating custom control group styles

- [ControlGroupStyle.Configuration](swiftui/controlgroupstyle/configuration.md)
- [Body](swiftui/controlgroupstyle/body.md)
