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

# CheckoutFontSource.Companion

> Kotlin Object

**Object**

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

## Functions

| Function | Description |
| - | - |
| `cssUrl` | Loads the fonts that a CSS stylesheet declares. |
| `googleFonts` | Loads a font family from Google Fonts. |

### cssUrl

```kotlin theme={null}
fun cssUrl(url: String): CheckoutFontSource
```

Loads the fonts that a CSS stylesheet declares.

### googleFonts

```kotlin theme={null}
fun googleFonts(family: String, weights: List<CheckoutFontWeight> = emptyList()): CheckoutFontSource
```

Loads a font family from Google Fonts.
