---
title: "init(headerTextProvider:content:)"
framework: clockkit
role: symbol
role_heading: Initializer
path: "clockkit/clkcomplicationtemplategraphicrectangularlargeview/init(headertextprovider:content:)"
---

# init(headerTextProvider:content:)

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

## Declaration

```swift
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.
