---
title: "RemoteSwitchButtonDefaults"
description: "Contains the default values used by [RemoteSwitchButton]."
type: "object"
lastmod: "2026-09-24"
---
## API Reference

> Source set: Android

```kotlin
public object RemoteSwitchButtonDefaults
```

Contains the default values used by [RemoteSwitchButton](/jetpack-compose/androidx.wear.compose.remote/remote-material3/composable-functions/RemoteSwitchButton/api).

## Properties

### Height

> Source set: Android

```kotlin
public val Height: RemoteDp = 52.rdp
```

The default height of [RemoteSwitchButton](/jetpack-compose/androidx.wear.compose.remote/remote-material3/composable-functions/RemoteSwitchButton/api).

### IconSpacing

> Source set: Android

```kotlin
public val IconSpacing: RemoteDp = 6.rdp
```

The default spacing between an icon and label in [RemoteSwitchButton](/jetpack-compose/androidx.wear.compose.remote/remote-material3/composable-functions/RemoteSwitchButton/api).

### IconSize

> Source set: Android

```kotlin
public val IconSize: RemoteDp = 24.rdp
```

The recommended default size for icons when used inside [RemoteSwitchButton](/jetpack-compose/androidx.wear.compose.remote/remote-material3/composable-functions/RemoteSwitchButton/api).

### LabelSpacerSize

> Source set: Android

```kotlin
public val LabelSpacerSize: RemoteDp = 1.rdp
```

The default spacing between label and secondary label in [RemoteSwitchButton](/jetpack-compose/androidx.wear.compose.remote/remote-material3/composable-functions/RemoteSwitchButton/api).

### ContentPadding

> Source set: Android

```kotlin
public val ContentPadding: RemotePaddingValues =
        RemotePaddingValues(horizontal = 14.rdp, vertical = 8.rdp)
```

The default content padding used by [RemoteSwitchButton](/jetpack-compose/androidx.wear.compose.remote/remote-material3/composable-functions/RemoteSwitchButton/api).

### switchButtonShape

> Source set: Android

```kotlin
public val switchButtonShape: RemoteRoundedCornerShape
```

The default shape for [RemoteSwitchButton](/jetpack-compose/androidx.wear.compose.remote/remote-material3/composable-functions/RemoteSwitchButton/api).

### SwitchWidth

> Source set: Android

```kotlin
public val SwitchWidth: RemoteDp = 32.rdp
```

The width of the switch control track.

### SwitchHeight

> Source set: Android

```kotlin
public val SwitchHeight: RemoteDp = 24.rdp
```

The total height of the switch control area.

### SwitchInnerHeight

> Source set: Android

```kotlin
public val SwitchInnerHeight: RemoteDp = 22.rdp
```

The height of the inner switch control track.

### SwitchTrackWidth

> Source set: Android

```kotlin
public val SwitchTrackWidth: RemoteDp = 2.rdp
```

The width of the switch track stroke/border.

### ThumbRadiusUnchecked

> Source set: Android

```kotlin
public val ThumbRadiusUnchecked: RemoteDp = 6.rdp
```

The radius of the thumb when unchecked.

### ThumbRadiusChecked

> Source set: Android

```kotlin
public val ThumbRadiusChecked: RemoteDp = 9.rdp
```

The radius of the thumb when checked.

## Functions

### switchButtonColors

> Source set: Android

```kotlin
@Composable
    public fun switchButtonColors(): RemoteSwitchButtonColors
```

Creates a [RemoteSwitchButtonColors](/jetpack-compose/androidx.wear.compose.remote/remote-material3/classes/RemoteSwitchButtonColors/api) with default values for [RemoteSwitchButton](/jetpack-compose/androidx.wear.compose.remote/remote-material3/composable-functions/RemoteSwitchButton/api).

### switchButtonColors

> Source set: Android

```kotlin
@Composable
    public fun switchButtonColors(
        checkedContainerColor: RemoteColor? = null,
        checkedContentColor: RemoteColor? = null,
        checkedSecondaryContentColor: RemoteColor? = null,
        checkedIconColor: RemoteColor? = null,
        checkedThumbColor: RemoteColor? = null,
        checkedThumbIconColor: RemoteColor? = null,
        checkedTrackColor: RemoteColor? = null,
        checkedTrackBorderColor: RemoteColor? = null,
        uncheckedContainerColor: RemoteColor? = null,
        uncheckedContentColor: RemoteColor? = null,
        uncheckedSecondaryContentColor: RemoteColor? = null,
        uncheckedIconColor: RemoteColor? = null,
        uncheckedThumbColor: RemoteColor? = null,
        uncheckedTrackColor: RemoteColor? = null,
        uncheckedTrackBorderColor: RemoteColor? = null,
        disabledCheckedContainerColor: RemoteColor? = null,
        disabledCheckedContentColor: RemoteColor? = null,
        disabledCheckedSecondaryContentColor: RemoteColor? = null,
        disabledCheckedIconColor: RemoteColor? = null,
        disabledCheckedThumbColor: RemoteColor? = null,
        disabledCheckedThumbIconColor: RemoteColor? = null,
        disabledCheckedTrackColor: RemoteColor? = null,
        disabledCheckedTrackBorderColor: RemoteColor? = null,
        disabledUncheckedContainerColor: RemoteColor? = null,
        disabledUncheckedContentColor: RemoteColor? = null,
        disabledUncheckedSecondaryContentColor: RemoteColor? = null,
        disabledUncheckedIconColor: RemoteColor? = null,
        disabledUncheckedThumbColor: RemoteColor? = null,
        disabledUncheckedTrackBorderColor: RemoteColor? = null,
    ): RemoteSwitchButtonColors
```

Creates a [RemoteSwitchButtonColors](/jetpack-compose/androidx.wear.compose.remote/remote-material3/classes/RemoteSwitchButtonColors/api) with customized colors for [RemoteSwitchButton](/jetpack-compose/androidx.wear.compose.remote/remote-material3/composable-functions/RemoteSwitchButton/api).

#### Parameters

| | |
| --- | --- |
| checkedContainerColor | Container color when checked and enabled. |
| checkedContentColor | Content color when checked and enabled. |
| checkedSecondaryContentColor | Secondary content color when checked and enabled. |
| checkedIconColor | Icon color when checked and enabled. |
| checkedThumbColor | Thumb color when checked and enabled. |
| checkedThumbIconColor | Thumb icon color when checked and enabled. |
| checkedTrackColor | Track color when checked and enabled. |
| checkedTrackBorderColor | Track border color when checked and enabled. |
| uncheckedContainerColor | Container color when unchecked and enabled. |
| uncheckedContentColor | Content color when unchecked and enabled. |
| uncheckedSecondaryContentColor | Secondary content color when unchecked and enabled. |
| uncheckedIconColor | Icon color when unchecked and enabled. |
| uncheckedThumbColor | Thumb color when unchecked and enabled. |
| uncheckedTrackColor | Track color when unchecked and enabled. |
| uncheckedTrackBorderColor | Track border color when unchecked and enabled. |
| disabledCheckedContainerColor | Container color when checked and disabled. |
| disabledCheckedContentColor | Content color when checked and disabled. |
| disabledCheckedSecondaryContentColor | Secondary content color when checked and disabled. |
| disabledCheckedIconColor | Icon color when checked and disabled. |
| disabledCheckedThumbColor | Thumb color when checked and disabled. |
| disabledCheckedThumbIconColor | Thumb icon color when checked and disabled. |
| disabledCheckedTrackColor | Track color when checked and disabled. |
| disabledCheckedTrackBorderColor | Track border color when checked and disabled. |
| disabledUncheckedContainerColor | Container color when unchecked and disabled. |
| disabledUncheckedContentColor | Content color when unchecked and disabled. |
| disabledUncheckedSecondaryContentColor | Secondary content color when unchecked and disabled. |
| disabledUncheckedIconColor | Icon color when unchecked and disabled. |
| disabledUncheckedThumbColor | Thumb color when unchecked and disabled. |
| disabledUncheckedTrackBorderColor | Track border color when unchecked and disabled. |
