<div class='sourceset sourceset-android'>Android</div>

```kotlin
object CheckboxDefaults
```

Defaults used in [Checkbox](/jetpack-compose/androidx.tv/tv-material/components/Checkbox) and [TriStateCheckbox](/jetpack-compose/androidx.tv/tv-material/components/TriStateCheckbox).

## Functions

```kotlin
@Composable fun colors() = MaterialTheme.colorScheme.defaultCheckboxColors
```

Creates a [CheckboxColors](/jetpack-compose/androidx.tv/tv-material/classes/CheckboxColors) that will animate between the provided colors according to the
Material specification.

<h2 id="colors-checkedcolor-uncheckedcolor-checkmarkcolor-disabledcheckedcolor-disableduncheckedcolor-disabledindeterminatecolor">colors</h2>

```kotlin
@Composable
    fun colors(
        checkedColor: Color = Color.Unspecified,
        uncheckedColor: Color = Color.Unspecified,
        checkmarkColor: Color = Color.Unspecified,
        disabledCheckedColor: Color = Color.Unspecified,
        disabledUncheckedColor: Color = Color.Unspecified,
        disabledIndeterminateColor: Color = Color.Unspecified,
    ): CheckboxColors
```

Creates a [CheckboxColors](/jetpack-compose/androidx.tv/tv-material/classes/CheckboxColors) that will animate between the provided colors according to the
Material specification.

#### Parameters

| | |
| --- | --- |
| checkedColor | the color that will be used for the border and box when checked |
| uncheckedColor | color that will be used for the border when unchecked |
| checkmarkColor | color that will be used for the checkmark when checked |
| disabledCheckedColor | color that will be used for the box and border when disabled and checked |
| disabledUncheckedColor | color that will be used for the box and border when disabled and not checked |
| disabledIndeterminateColor | color that will be used for the box and border in a [TriStateCheckbox](/jetpack-compose/androidx.tv/tv-material/components/TriStateCheckbox) when disabled AND in an [ToggleableState.Indeterminate](/jetpack-compose/androidx.compose.ui/ui/classes/ToggleableState.Indeterminate) state. |