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

# CLKComplicationTemplateGraphicRectangularLargeView

A template for displaying a large rectangle containing header text and a SwiftUI view.

```
final class CLKComplicationTemplateGraphicRectangularLargeView<Content> where Content : View
```

## Overview

This template belongs to the [`CLKComplicationFamily.graphicRectangular`](/documentation/ClockKit/CLKComplicationFamily/graphicRectangular) family. [Figure 1](/documentation/clockkit/clkcomplicationtemplategraphicrectangularlargeview#3667291) 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 header text provider and the content.](images/com.apple.clockkit/media-3667291@2x.png)

The following table lists the dimensions of the view displayed by this template. The template automatically masks the view to a rounded rectangle with a 8-pixel corner radius.

|Apple Watch Size|Width       |Height   |
|----------------|------------|---------|
|40 mm           |150 points  |47 points|
|41 mm           |159 points  |50 points|
|44 mm           |171 points  |54 points|
|45 mm           |178.5 points|56 points|

## Topics

### Creating the Template

[`init(headerTextProvider: CLKTextProvider, content: Content)`](/documentation/ClockKit/CLKComplicationTemplateGraphicRectangularLargeView/init(headerTextProvider:content:))

Creates a new template with a text provider and a SwiftUI view.

### Accessing the Content

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

The text provider for a row of text.

[`var content: Content`](/documentation/ClockKit/CLKComplicationTemplateGraphicRectangularLargeView/content)

The SwiftUI view displayed by the template.

## Relationships

### Inherits From

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

### Conforms To

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

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

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

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

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

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

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

---

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)