<!--
{
  "availability" : [
    "watchOS: 7.0.0 - 27.2.0"
  ],
  "documentType" : "symbol",
  "framework" : "ClockKit",
  "identifier" : "/documentation/ClockKit/CLKComplicationTemplateGraphicRectangularLargeView/init(headerTextProvider:content:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "ClockKit",
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:17_ClockKit_SwiftUI50CLKComplicationTemplateGraphicRectangularLargeViewC18headerTextProvider7contentACyxGSo07CLKTextM0C_xtcfc"
  },
  "title" : "init(headerTextProvider:content:)"
}
-->

# init(headerTextProvider:content:)

Creates a new template with a text provider and a SwiftUI view.

```
init(headerTextProvider: CLKTextProvider, content: Content)
```

## Parameters

`headerTextProvider`

The text provider for a row of text. The template supports multicolored text from this text provider.

`content`

The SwiftUI view displayed by the template.

---

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)