---
title: "init(headerLabel:headerTextProvider:bodyTextProvider:gaugeProvider:)"
framework: clockkit
role: symbol
role_heading: Initializer
path: "clockkit/clkcomplicationtemplategraphicrectangulartextgaugeview/init(headerlabel:headertextprovider:bodytextprovider:gaugeprovider:)"
---

# init(headerLabel:headerTextProvider:bodyTextProvider:gaugeProvider:)

Creates a new template that has a header row with a SwiftUI view and text, body text, and a gauge.

## Declaration

```swift
init(headerLabel: Label, headerTextProvider: CLKTextProvider, bodyTextProvider: CLKTextProvider, gaugeProvider: CLKGaugeProvider)
```

## Parameters

- `headerLabel`: The SwiftUI view displayed by the template.
- `headerTextProvider`: The text provider for the header text. The template supports multicolored text from this text provider.
- `bodyTextProvider`: The text provider for the body text. The template supports multicolored text from this text provider.
- `gaugeProvider`: The gauge provider for the template.
