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

# CheckoutStateStyle

> Swift Structure

**Structure**

The colors of an element while it is in one interaction state, such as hover or focus.

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

## Initializers

### init(colors:)

Creates a state style.

```swift theme={null}
init(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 colors the element uses while it is in this state. |
