<!--
{
  "availability" : [
    "watchOS: 2.0.0 - 27.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "ClockKit",
  "identifier" : "/documentation/ClockKit/CLKComplicationTemplateModularSmallStackText",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "ClockKit"
    ],
    "preciseIdentifier" : "c:objc(cs)CLKComplicationTemplateModularSmallStackText"
  },
  "title" : "CLKComplicationTemplateModularSmallStackText"
}
-->

# CLKComplicationTemplateModularSmallStackText

A template for displaying two strings stacked one on top of the other.

```
class CLKComplicationTemplateModularSmallStackText
```

## Overview

This template belongs to the [`CLKComplicationFamily.modularSmall`](/documentation/ClockKit/CLKComplicationFamily/modularSmall) family.

![A diagram showing the layout of the modular small stack text complication. The diagram shows two small rows of text.](images/com.apple.clockkit/media-2933757@2x.png)

## Topics

### Creating the Template

[`init(line1TextProvider:line2TextProvider:)`](/documentation/ClockKit/CLKComplicationTemplateModularSmallStackText/init(line1TextProvider:line2TextProvider:))

Creates a new template that has two lines of text.

[`templateWithLine1TextProvider:line2TextProvider:`](/documentation/ClockKit/CLKComplicationTemplateModularSmallStackText/templateWithLine1TextProvider:line2TextProvider:)

Returns a new template that has two lines of text.

### Setting the Complication Data

[`line1TextProvider`](/documentation/ClockKit/CLKComplicationTemplateModularSmallStackText/line1TextProvider)

The text to display on the top line of the complication.

[`line2TextProvider`](/documentation/ClockKit/CLKComplicationTemplateModularSmallStackText/line2TextProvider)

The text to display on the bottom line of the complication.

[`highlightLine2`](/documentation/ClockKit/CLKComplicationTemplateModularSmallStackText/highlightLine2)

A Boolean value indicating which line should be drawn with a highlight.



---

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)