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

# CLKComplicationTemplateModularSmallStackImage

A template for displaying a single image with a short line of text below it.

```
class CLKComplicationTemplateModularSmallStackImage
```

## Overview

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

![Diagram showing the layout of a small image positioned above a short line of text.](images/com.apple.clockkit/media-2933753@2x.png)

The following table lists the dimensions of the image you use in this template. All dimensions are in pixels. All images must be specified as `@2x` images for display on Apple Watch, so the point-based dimensions are half the listed size.

|Apple Watch Size|Width                                                                       |Height   |
|----------------|----------------------------------------------------------------------------|---------|
|38 mm           |52 pixels maximum ![](spacer) (You may specify images with a smaller width.)|28 pixels|
|40 mm           |58 pixels maximum ![](spacer) (You may specify images with a smaller width.)|30 pixels|
|41 mm           |61 pixels ![](spacer) (You may specify images with a smaller width.)        |32 pixels|
|42 mm           |58 pixels maximum ![](spacer) (You may specify images with a smaller width.)|30 pixels|
|44 mm           |64 pixels maximum ![](spacer) (You may specify images with a smaller width.)|34 pixels|
|45 mm           |69 pixels ![](spacer) (You may specify images with a smaller width.)        |36 pixels|

Instead of providing multiple images with different resolutions, you can provide a single, scaleable PDF asset. For more information, see `Manage Assets`.

## Topics

### Creating the Template

[`init(line1ImageProvider:line2TextProvider:)`](/documentation/ClockKit/CLKComplicationTemplateModularSmallStackImage/init(line1ImageProvider:line2TextProvider:))

Creates a new template from the provided image and text.

[`templateWithLine1ImageProvider:line2TextProvider:`](/documentation/ClockKit/CLKComplicationTemplateModularSmallStackImage/templateWithLine1ImageProvider:line2TextProvider:)

Returns a new template from the provided image and text.

### Setting the Complication Data

[`line1ImageProvider`](/documentation/ClockKit/CLKComplicationTemplateModularSmallStackImage/line1ImageProvider)

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

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

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

[`highlightLine2`](/documentation/ClockKit/CLKComplicationTemplateModularSmallStackImage/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)