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

# CheckoutLength.Companion

> Kotlin Object

**Object**

```kotlin theme={null}
companion object
```

## Functions

| Function | Description |
| - | - |
| `custom` | Any CSS length value, for example `"50%"` or `"clamp(14px, 4vw, 18px)"`. |
| `em` | A length relative to the font size of the parent element. |
| `px` | A length in CSS pixels. |
| `rem` | A length relative to the font size of the root element. |

### custom

```kotlin theme={null}
fun custom(css: String): CheckoutLength
```

Any CSS length value, for example `"50%"` or `"clamp(14px, 4vw, 18px)"`.

### em

```kotlin theme={null}
fun em(value: Double): CheckoutLength
```

```kotlin theme={null}
fun em(value: Int): CheckoutLength
```

A length relative to the font size of the parent element.

### px

```kotlin theme={null}
fun px(value: Double): CheckoutLength
```

```kotlin theme={null}
fun px(value: Int): CheckoutLength
```

A length in CSS pixels.

### rem

```kotlin theme={null}
fun rem(value: Double): CheckoutLength
```

```kotlin theme={null}
fun rem(value: Int): CheckoutLength
```

A length relative to the font size of the root element.
