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

# CheckoutPrimaryButtonRule.Companion

> Kotlin Object

**Object**

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

## Deprecated

### ~~invoke~~

> [!WARNING]
>
> Deprecated. Pass cornerRadius as a CheckoutLength, for example CheckoutLength.px(12) or CheckoutLength.custom("12px").

```kotlin theme={null}
operator fun invoke(borderRadius: String? = null, font: CheckoutFontStyle? = null, colors: CheckoutColorStyle? = null, hover: CheckoutStateStyle? = null, disabled: CheckoutStateStyle? = null): CheckoutPrimaryButtonRule
```

Creates a primary button rule with a CSS string for the corner radius.
