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

# makeBody(configuration:)

Creates a view representing the body of a group box.

## Declaration

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

## Parameters

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

## Discussion

Discussion SwiftUI calls this method for each instance of GroupBox created within a view hierarchy where this style is the current group box style.

## See Also

### Creating custom group box styles

- [GroupBoxStyle.Configuration](swiftui/groupboxstyle/configuration.md)
- [Body](swiftui/groupboxstyle/body.md)
