---
title: "init(textProvider:imageProvider:)"
framework: clockkit
role: symbol
role_heading: Initializer
path: "clockkit/clkcomplicationtemplategraphiccornertextimage/init(textprovider:imageprovider:)"
---

# init(textProvider:imageProvider:)

Creates a template with a line of text and an image.

## Declaration

```swift
init(textProvider: CLKTextProvider, imageProvider: CLKFullColorImageProvider)
```

## Parameters

- `textProvider`: The text provider for the text. The template supports multicolored text from this text provider.
- `imageProvider`: A full-color image provider.
