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

# makeBody(configuration:)

Creates a view that represents the body of a label.

## Declaration

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

## Parameters

- `configuration`: The properties of the label.

## Discussion

Discussion The system calls this method for each Label instance in a view hierarchy where this style is the current label style.

## See Also

### Creating custom label styles

- [LabelStyle.Configuration](swiftui/labelstyle/configuration.md)
- [Body](swiftui/labelstyle/body.md)
