> ## Documentation Index
> Fetch the complete documentation index at: https://docs.crossmint.com/llms.txt
> Use this file to discover all available pages before exploring further.

# CheckoutLabelRule

> Swift Structure

**Structure**

The rule for the labels above the form fields.

```swift theme={null}
struct CheckoutLabelRule
```

## Initializers

### init(font:colors:)

Creates a label rule.

```swift theme={null}
init(font: CheckoutFontStyle? = nil, colors: CheckoutColorStyle? = nil)
```

### init(from:)

Inherited from `Decodable.init(from:)`.

```swift theme={null}
init(from decoder: any Decoder) throws
```

## Instance Properties

| Property | Type | Description |
| - | - | - |
| `colors` | `CheckoutColorStyle?` | The label colors. |
| `font` | `CheckoutFontStyle?` | The label font. |
