> ## 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.

# CheckoutFontStyle

> Swift Structure

**Structure**

The font of one checkout element.

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

Each value is a CSS string. The checkout applies only the values you set. It keeps the default for the rest.

## Initializers

### init(family:size:weight:)

Creates a font style.

```swift theme={null}
init(family: String? = nil, size: String? = nil, weight: String? = nil)
```

### init(from:)

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

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

## Instance Properties

| Property | Type      | Description                                                     |
| -------- | --------- | --------------------------------------------------------------- |
| `family` | `String?` | The CSS `font-family` value, for example `"Inter, sans-serif"`. |
| `size`   | `String?` | The CSS `font-size` value, for example `"14px"`.                |
| `weight` | `String?` | The CSS `font-weight` value, for example `"600"`.               |
