<!--
{
  "availability" : [
    "watchOS: 7.0.0 - 27.2.0"
  ],
  "documentType" : "symbol",
  "framework" : "ClockKit",
  "identifier" : "/documentation/ClockKit/CLKComplicationTemplateGraphicRectangularStandardBodyView",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "ClockKit",
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:17_ClockKit_SwiftUI57CLKComplicationTemplateGraphicRectangularStandardBodyViewC"
  },
  "title" : "CLKComplicationTemplateGraphicRectangularStandardBodyView"
}
-->

# CLKComplicationTemplateGraphicRectangularStandardBodyView

A template for displaying a SwiftUI label and up to three rows of text.

```
final class CLKComplicationTemplateGraphicRectangularStandardBodyView<Label> where Label : View
```

## Overview

This template belongs to the [`CLKComplicationFamily.graphicRectangular`](/documentation/ClockKit/CLKComplicationFamily/graphicRectangular) family.  shows the layout of the complication and where it appears on the clock face.

![A diagram showing the layout of the complication that calls out the content produced by the header label and text providers.](images/com.apple.clockkit/media-3667290@2x.png)

The following table lists the dimensions of the image you use in this template.

|Apple Watch Size|Width      |Height     |
|----------------|-----------|-----------|
|40 mm           |12 points  |12 points  |
|41 mm           |12.5 points|12.5 points|
|44 mm           |13.5 points|13.5 points|
|45 mm           |14.5 points|14.5 points|

## Topics

### Creating the Template

[`init(headerLabel: Label, headerTextProvider: CLKTextProvider, body1TextProvider: CLKTextProvider, body2TextProvider: CLKTextProvider?)`](/documentation/ClockKit/CLKComplicationTemplateGraphicRectangularStandardBodyView/init(headerLabel:headerTextProvider:body1TextProvider:body2TextProvider:))

Creates a new template that has a header row with a SwiftUI view and text, and two rows of body text.

### Accessing the Content

[`var headerLabel: Label`](/documentation/ClockKit/CLKComplicationTemplateGraphicRectangularStandardBodyView/headerLabel)

The SwiftUI view displayed by the template.

[`var headerTextProvider: CLKTextProvider`](/documentation/ClockKit/CLKComplicationTemplateGraphicRectangularStandardBodyView/headerTextProvider)

The text provider for the header text.

[`var body1TextProvider: CLKTextProvider`](/documentation/ClockKit/CLKComplicationTemplateGraphicRectangularStandardBodyView/body1TextProvider)

The text provider for the first row of body text.

[`var body2TextProvider: CLKTextProvider?`](/documentation/ClockKit/CLKComplicationTemplateGraphicRectangularStandardBodyView/body2TextProvider)

The text provider for the second row of body text.

## Relationships

### Conforms To

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`CVarArg`](/documentation/Swift/CVarArg)

[`Hashable`](/documentation/Swift/Hashable)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`Equatable`](/documentation/Swift/Equatable)

[`NSCopying`](/documentation/Foundation/NSCopying)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

### Inherits From

[`CLKComplicationTemplate`](/documentation/ClockKit/CLKComplicationTemplate)

---

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)