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

# makeBody(configuration:)

Creates a view representing the body of a gauge.

## Declaration

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

## Parameters

- `configuration`: The properties to apply to the gauge instance.

## Discussion

Discussion The system calls this modifier on each instance of gauge within a view hierarchy where this style is the current gauge style.

## See Also

### Creating custom gauge styles

- [GaugeStyle.Configuration](swiftui/gaugestyle/configuration.md)
- [Body](swiftui/gaugestyle/body.md)
