<!--
{
  "availability" : [
    "watchOS: 7.0.0 - 27.3.0"
  ],
  "documentType" : "symbol",
  "framework" : "ClockKit",
  "identifier" : "/documentation/ClockKit/CLKComplicationTemplateGraphicRectangularStandardBodyView/init(headerLabel:headerTextProvider:body1TextProvider:body2TextProvider:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "ClockKit",
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:17_ClockKit_SwiftUI57CLKComplicationTemplateGraphicRectangularStandardBodyViewC11headerLabel0L12TextProvider05body1nO005body2nO0ACyxGx_So07CLKTextO0CA2JSgtcfc"
  },
  "title" : "init(headerLabel:headerTextProvider:body1TextProvider:body2TextProvider:)"
}
-->

# init(headerLabel:headerTextProvider:body1TextProvider:body2TextProvider:)

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

```
init(headerLabel: Label, headerTextProvider: CLKTextProvider, body1TextProvider: CLKTextProvider, body2TextProvider: CLKTextProvider? = nil)
```

## 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.

`body1TextProvider`

The text provider for the first row of body text. The template supports multicolored text from this text provider.

`body2TextProvider`

The text provider for the second row of body text. The template supports multicolored text from this text provider.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)