---
title: "init(headerTextProvider:body1TextProvider:)"
framework: clockkit
role: symbol
role_heading: Initializer
path: "clockkit/clkcomplicationtemplategraphicrectangularstandardbody/init(headertextprovider:body1textprovider:)"
---

# init(headerTextProvider:body1TextProvider:)

Creates a new template that has a row of header text and a row of body text.

## Declaration

```swift
init(headerTextProvider: CLKTextProvider, body1TextProvider: CLKTextProvider)
```

## Parameters

- `headerTextProvider`: The text provider for the header text. The template supports multicolored text from this text provider.
- `body1TextProvider`: The text provider for the body text. The template supports multicolored text from this text provider.

## See Also

### Creating the Template

- [init(headerTextProvider:body1TextProvider:body2TextProvider:)](clockkit/clkcomplicationtemplategraphicrectangularstandardbody/init(headertextprovider:body1textprovider:body2textprovider:).md)
- [init(headerImageProvider:headerTextProvider:body1TextProvider:)](clockkit/clkcomplicationtemplategraphicrectangularstandardbody/init(headerimageprovider:headertextprovider:body1textprovider:).md)
- [init(headerImageProvider:headerTextProvider:body1TextProvider:body2TextProvider:)](clockkit/clkcomplicationtemplategraphicrectangularstandardbody/init(headerimageprovider:headertextprovider:body1textprovider:body2textprovider:).md)
