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

```kotlin
public object RemoteIconButtonDefaults
```

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

## Functions

<h2 id="iconbuttoncolors">iconButtonColors</h2>

```kotlin
@Composable
public fun iconButtonColors(): RemoteIconButtonColors
```

Returns a [iconButtonColors](/jetpack-compose/androidx.compose.material3/material3/classes/IconButtonColors) for a text button - by default, a transparent background with
contrasting content color. If the button is disabled then the colors default to
[RemoteColorScheme.onSurface](/jetpack-compose/androidx.wear.compose.remote/remote-material3/classes/RemoteColorScheme) with suitable alpha values applied.

<hr class="docs-overload-divider">

<h2 id="iconbuttoncolors-containercolor-contentcolor-disabledcontainercolor-disabledcontentcolor">iconButtonColors</h2>

```kotlin
@Composable
public fun iconButtonColors(
    containerColor: RemoteColor = RemoteColor(Color.Transparent),
    contentColor: RemoteColor? = null,
    disabledContainerColor: RemoteColor = RemoteColor(Color.Transparent),
    disabledContentColor: RemoteColor? = null,
): RemoteIconButtonColors
```

Returns a [RemoteIconButtonColors](/jetpack-compose/androidx.wear.compose.remote/remote-material3/classes/RemoteIconButtonColors) for a text button - by default, a transparent background
with contrasting content color. If the button is disabled then the colors default to
[RemoteColorScheme.onSurface](/jetpack-compose/androidx.wear.compose.remote/remote-material3/classes/RemoteColorScheme) with suitable alpha values applied.

#### Parameters

| | |
| --- | --- |
| containerColor | the background color of this text button when enabled |
| contentColor | the content color of this text button when enabled |
| disabledContainerColor | the background color of this text button when not enabled |
| disabledContentColor | the content color of this text button when not enabled |

<hr class="docs-overload-divider">

<h2 id="iconsizefor-buttonsize">iconSizeFor</h2>

```kotlin
public fun iconSizeFor(buttonSize: RemoteDp): RemoteDp
```

Recommended icon size for a given icon button size.

Ensures that the minimum recommended icon size is applied.

Examples: for size `LargeButtonSize`, returns `LargeIconSize`, for size
`ExtraSmallButtonSize` returns `SmallIconSize`.

#### Parameters

| | |
| --- | --- |
| buttonSize | The size of the icon button |