# AssistChipDefaults

Artifact: [androidx.tv:tv-material](https://developer.android.com/jetpack/androidx/releases/tv) [View Source](https://cs.android.com/search?q=file:androidx/tv/material3/Chip.kt+class:androidx.tv.material3.AssistChipDefaults) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/tv#1.0.0)


```
@ExperimentalTvMaterial3Api
object AssistChipDefaults
```

<br />

*** ** * ** ***

Contains the default values used by `https://developer.android.com/reference/kotlin/androidx/tv/material3/AssistChip.composable#AssistChip(kotlin.Function0,androidx.compose.ui.Modifier,kotlin.Boolean,kotlin.Function0,kotlin.Function0,kotlin.Function0,androidx.tv.material3.ClickableChipShape,androidx.tv.material3.ClickableChipColors,androidx.tv.material3.ClickableChipScale,androidx.tv.material3.ClickableChipBorder,androidx.tv.material3.ClickableChipGlow,androidx.compose.foundation.interaction.MutableInteractionSource,kotlin.Function0)`

## Summary

| ### Public functions |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/tv/material3/ClickableChipBorder` | `@https://developer.android.com/reference/kotlin/androidx/compose/runtime/Composable https://developer.android.com/reference/kotlin/androidx/tv/material3/AssistChipDefaults#border(androidx.tv.material3.Border,androidx.tv.material3.Border,androidx.tv.material3.Border,androidx.tv.material3.Border,androidx.tv.material3.Border)( border: https://developer.android.com/reference/kotlin/androidx/tv/material3/Border, focusedBorder: https://developer.android.com/reference/kotlin/androidx/tv/material3/Border, pressedBorder: https://developer.android.com/reference/kotlin/androidx/tv/material3/Border, disabledBorder: https://developer.android.com/reference/kotlin/androidx/tv/material3/Border, focusedDisabledBorder: https://developer.android.com/reference/kotlin/androidx/tv/material3/Border )` Creates a `https://developer.android.com/reference/kotlin/androidx/tv/material3/ClickableChipBorder` that represents the default `https://developer.android.com/reference/kotlin/androidx/tv/material3/Border`s applied on an AssistChip in different `https://developer.android.com/reference/kotlin/androidx/compose/foundation/interaction/Interaction` states. |
| `https://developer.android.com/reference/kotlin/androidx/tv/material3/ClickableChipColors` | `@https://developer.android.com/reference/kotlin/androidx/compose/runtime/Composable https://developer.android.com/reference/kotlin/androidx/tv/material3/AssistChipDefaults#colors(androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color)( containerColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, contentColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, focusedContainerColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, focusedContentColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, pressedContainerColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, pressedContentColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, disabledContainerColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, disabledContentColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color )` Creates a `https://developer.android.com/reference/kotlin/androidx/tv/material3/ClickableChipColors` that represents the default container and content colors used in an `https://developer.android.com/reference/kotlin/androidx/tv/material3/AssistChip.composable#AssistChip(kotlin.Function0,androidx.compose.ui.Modifier,kotlin.Boolean,kotlin.Function0,kotlin.Function0,kotlin.Function0,androidx.tv.material3.ClickableChipShape,androidx.tv.material3.ClickableChipColors,androidx.tv.material3.ClickableChipScale,androidx.tv.material3.ClickableChipBorder,androidx.tv.material3.ClickableChipGlow,androidx.compose.foundation.interaction.MutableInteractionSource,kotlin.Function0)` |
| `https://developer.android.com/reference/kotlin/androidx/tv/material3/ClickableChipGlow` | `https://developer.android.com/reference/kotlin/androidx/tv/material3/AssistChipDefaults#glow(androidx.tv.material3.Glow,androidx.tv.material3.Glow,androidx.tv.material3.Glow)(glow: https://developer.android.com/reference/kotlin/androidx/tv/material3/Glow, focusedGlow: https://developer.android.com/reference/kotlin/androidx/tv/material3/Glow, pressedGlow: https://developer.android.com/reference/kotlin/androidx/tv/material3/Glow)` Creates a `https://developer.android.com/reference/kotlin/androidx/tv/material3/ClickableChipGlow` that represents the default `https://developer.android.com/reference/kotlin/androidx/tv/material3/Glow`s used in an `https://developer.android.com/reference/kotlin/androidx/tv/material3/AssistChip.composable#AssistChip(kotlin.Function0,androidx.compose.ui.Modifier,kotlin.Boolean,kotlin.Function0,kotlin.Function0,kotlin.Function0,androidx.tv.material3.ClickableChipShape,androidx.tv.material3.ClickableChipColors,androidx.tv.material3.ClickableChipScale,androidx.tv.material3.ClickableChipBorder,androidx.tv.material3.ClickableChipGlow,androidx.compose.foundation.interaction.MutableInteractionSource,kotlin.Function0)` |
| `https://developer.android.com/reference/kotlin/androidx/tv/material3/ClickableChipScale` | `https://developer.android.com/reference/kotlin/androidx/tv/material3/AssistChipDefaults#scale(kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Float)( scale: @https://developer.android.com/reference/kotlin/androidx/annotation/FloatRange(from = 0.0) https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html, focusedScale: @https://developer.android.com/reference/kotlin/androidx/annotation/FloatRange(from = 0.0) https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html, pressedScale: @https://developer.android.com/reference/kotlin/androidx/annotation/FloatRange(from = 0.0) https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html, disabledScale: @https://developer.android.com/reference/kotlin/androidx/annotation/FloatRange(from = 0.0) https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html, focusedDisabledScale: @https://developer.android.com/reference/kotlin/androidx/annotation/FloatRange(from = 0.0) https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html )` Creates a `https://developer.android.com/reference/kotlin/androidx/tv/material3/ClickableChipScale` that represents the default scaleFactors used in an `https://developer.android.com/reference/kotlin/androidx/tv/material3/AssistChip.composable#AssistChip(kotlin.Function0,androidx.compose.ui.Modifier,kotlin.Boolean,kotlin.Function0,kotlin.Function0,kotlin.Function0,androidx.tv.material3.ClickableChipShape,androidx.tv.material3.ClickableChipColors,androidx.tv.material3.ClickableChipScale,androidx.tv.material3.ClickableChipBorder,androidx.tv.material3.ClickableChipGlow,androidx.compose.foundation.interaction.MutableInteractionSource,kotlin.Function0)`. scaleFactors are used to modify the size of a composable in different `https://developer.android.com/reference/kotlin/androidx/compose/foundation/interaction/Interaction` states e.g. 1f (original) in default state, 1.2f (scaled up) in focused state, 0.8f (scaled down) in pressed state, etc |
| `https://developer.android.com/reference/kotlin/androidx/tv/material3/ClickableChipShape` | `https://developer.android.com/reference/kotlin/androidx/tv/material3/AssistChipDefaults#shape(androidx.compose.ui.graphics.Shape,androidx.compose.ui.graphics.Shape,androidx.compose.ui.graphics.Shape,androidx.compose.ui.graphics.Shape,androidx.compose.ui.graphics.Shape)( shape: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Shape, focusedShape: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Shape, pressedShape: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Shape, disabledShape: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Shape, focusedDisabledShape: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Shape )` Creates a `https://developer.android.com/reference/kotlin/androidx/tv/material3/ClickableChipShape` that represents the default container shapes used in an `https://developer.android.com/reference/kotlin/androidx/tv/material3/AssistChip.composable#AssistChip(kotlin.Function0,androidx.compose.ui.Modifier,kotlin.Boolean,kotlin.Function0,kotlin.Function0,kotlin.Function0,androidx.tv.material3.ClickableChipShape,androidx.tv.material3.ClickableChipColors,androidx.tv.material3.ClickableChipScale,androidx.tv.material3.ClickableChipBorder,androidx.tv.material3.ClickableChipGlow,androidx.compose.foundation.interaction.MutableInteractionSource,kotlin.Function0)` |

| ### Public properties |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp` | `https://developer.android.com/reference/kotlin/androidx/tv/material3/AssistChipDefaults#ContainerHeight()` The height applied to an assist chip. |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/shape/RoundedCornerShape` | `https://developer.android.com/reference/kotlin/androidx/tv/material3/AssistChipDefaults#ContainerShape()` The default `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Shape` applied to an assist chip |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp` | `https://developer.android.com/reference/kotlin/androidx/tv/material3/AssistChipDefaults#IconSize()` The size of an Assist chip icon |

## Public functions

### border

Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/tv#1.0.0)

```
@Composable
fun border(
    border: Border = Border(
                border = BorderStroke(width = 1.dp, color = MaterialTheme.colorScheme.border),
                shape = ContainerShape,
            ),
    focusedBorder: Border = Border.None,
    pressedBorder: Border = focusedBorder,
    disabledBorder: Border = Border(
                border =
                    BorderStroke(width = 1.dp, color = MaterialTheme.colorScheme.surfaceVariant),
                shape = ContainerShape,
            ),
    focusedDisabledBorder: Border = border
): ClickableChipBorder
```

Creates a `https://developer.android.com/reference/kotlin/androidx/tv/material3/ClickableChipBorder` that represents the default `https://developer.android.com/reference/kotlin/androidx/tv/material3/Border`s applied on an AssistChip in different `https://developer.android.com/reference/kotlin/androidx/compose/foundation/interaction/Interaction` states.

| Parameters |
|---|---|
| `border: https://developer.android.com/reference/kotlin/androidx/tv/material3/Border = Border( border = BorderStroke(width = 1.dp, color = MaterialTheme.colorScheme.border), shape = ContainerShape, )` | the `https://developer.android.com/reference/kotlin/androidx/tv/material3/Border` to be used for this Chip when enabled |
| `focusedBorder: https://developer.android.com/reference/kotlin/androidx/tv/material3/Border = Border.None` | the `https://developer.android.com/reference/kotlin/androidx/tv/material3/Border` to be used for this Chip when focused |
| `pressedBorder: https://developer.android.com/reference/kotlin/androidx/tv/material3/Border = focusedBorder` | the `https://developer.android.com/reference/kotlin/androidx/tv/material3/Border` to be used for this Chip when pressed |
| `disabledBorder: https://developer.android.com/reference/kotlin/androidx/tv/material3/Border = Border( border = BorderStroke(width = 1.dp, color = MaterialTheme.colorScheme.surfaceVariant), shape = ContainerShape, )` | the `https://developer.android.com/reference/kotlin/androidx/tv/material3/Border` to be used for this Chip when disabled |
| `focusedDisabledBorder: https://developer.android.com/reference/kotlin/androidx/tv/material3/Border = border` | the `https://developer.android.com/reference/kotlin/androidx/tv/material3/Border` to be used for this Chip when disabled and focused |

### colors

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/tv#1.1.0)

```
@Composable
fun colors(
    containerColor: Color = Color.Transparent,
    contentColor: Color = MaterialTheme.colorScheme.onSurfaceVariant,
    focusedContainerColor: Color = MaterialTheme.colorScheme.onSurface,
    focusedContentColor: Color = MaterialTheme.colorScheme.inverseOnSurface,
    pressedContainerColor: Color = MaterialTheme.colorScheme.onSurfaceVariant,
    pressedContentColor: Color = MaterialTheme.colorScheme.surface,
    disabledContainerColor: Color = MaterialTheme.colorScheme.surfaceVariant.copy(alpha = DisabledBackgroundColorOpacity),
    disabledContentColor: Color = MaterialTheme.colorScheme.border.copy(alpha = DisabledContentColorOpacity)
): ClickableChipColors
```

Creates a `https://developer.android.com/reference/kotlin/androidx/tv/material3/ClickableChipColors` that represents the default container and content colors used in an `https://developer.android.com/reference/kotlin/androidx/tv/material3/AssistChip.composable#AssistChip(kotlin.Function0,androidx.compose.ui.Modifier,kotlin.Boolean,kotlin.Function0,kotlin.Function0,kotlin.Function0,androidx.tv.material3.ClickableChipShape,androidx.tv.material3.ClickableChipColors,androidx.tv.material3.ClickableChipScale,androidx.tv.material3.ClickableChipBorder,androidx.tv.material3.ClickableChipGlow,androidx.compose.foundation.interaction.MutableInteractionSource,kotlin.Function0)`

| Parameters |
|---|---|
| `containerColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color = Color.Transparent` | the container color of this Chip when enabled |
| `contentColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color = MaterialTheme.colorScheme.onSurfaceVariant` | the content color of this Chip when enabled |
| `focusedContainerColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color = MaterialTheme.colorScheme.onSurface` | the container color of this Chip when enabled and focused |
| `focusedContentColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color = MaterialTheme.colorScheme.inverseOnSurface` | the content color of this Chip when enabled and focused |
| `pressedContainerColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color = MaterialTheme.colorScheme.onSurfaceVariant` | the container color of this Chip when enabled and pressed |
| `pressedContentColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color = MaterialTheme.colorScheme.surface` | the content color of this Chip when enabled and pressed |
| `disabledContainerColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color = MaterialTheme.colorScheme.surfaceVariant.copy(alpha = DisabledBackgroundColorOpacity)` | the container color of this Chip when not enabled |
| `disabledContentColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color = MaterialTheme.colorScheme.border.copy(alpha = DisabledContentColorOpacity)` | the content color of this Chip when not enabled |

### glow

Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/tv#1.0.0)

```
fun glow(glow: Glow = Glow.None, focusedGlow: Glow = glow, pressedGlow: Glow = glow): ClickableChipGlow
```

Creates a `https://developer.android.com/reference/kotlin/androidx/tv/material3/ClickableChipGlow` that represents the default `https://developer.android.com/reference/kotlin/androidx/tv/material3/Glow`s used in an `https://developer.android.com/reference/kotlin/androidx/tv/material3/AssistChip.composable#AssistChip(kotlin.Function0,androidx.compose.ui.Modifier,kotlin.Boolean,kotlin.Function0,kotlin.Function0,kotlin.Function0,androidx.tv.material3.ClickableChipShape,androidx.tv.material3.ClickableChipColors,androidx.tv.material3.ClickableChipScale,androidx.tv.material3.ClickableChipBorder,androidx.tv.material3.ClickableChipGlow,androidx.compose.foundation.interaction.MutableInteractionSource,kotlin.Function0)`

| Parameters |
|---|---|
| `glow: https://developer.android.com/reference/kotlin/androidx/tv/material3/Glow = Glow.None` | the Glow behind this Button when enabled |
| `focusedGlow: https://developer.android.com/reference/kotlin/androidx/tv/material3/Glow = glow` | the Glow behind this Button when focused |
| `pressedGlow: https://developer.android.com/reference/kotlin/androidx/tv/material3/Glow = glow` | the Glow behind this Button when pressed |

### scale

Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/tv#1.0.0)

```
fun scale(
    scale: @FloatRange(from = 0.0) Float = 1.0f,
    focusedScale: @FloatRange(from = 0.0) Float = 1.1f,
    pressedScale: @FloatRange(from = 0.0) Float = scale,
    disabledScale: @FloatRange(from = 0.0) Float = scale,
    focusedDisabledScale: @FloatRange(from = 0.0) Float = disabledScale
): ClickableChipScale
```

Creates a `https://developer.android.com/reference/kotlin/androidx/tv/material3/ClickableChipScale` that represents the default scaleFactors used in an `https://developer.android.com/reference/kotlin/androidx/tv/material3/AssistChip.composable#AssistChip(kotlin.Function0,androidx.compose.ui.Modifier,kotlin.Boolean,kotlin.Function0,kotlin.Function0,kotlin.Function0,androidx.tv.material3.ClickableChipShape,androidx.tv.material3.ClickableChipColors,androidx.tv.material3.ClickableChipScale,androidx.tv.material3.ClickableChipBorder,androidx.tv.material3.ClickableChipGlow,androidx.compose.foundation.interaction.MutableInteractionSource,kotlin.Function0)`. scaleFactors are used to modify the size of a composable in different `https://developer.android.com/reference/kotlin/androidx/compose/foundation/interaction/Interaction` states e.g. 1f (original) in default state, 1.2f (scaled up) in focused state, 0.8f (scaled down) in pressed state, etc

| Parameters |
|---|---|
| `scale: @https://developer.android.com/reference/kotlin/androidx/annotation/FloatRange(from = 0.0) https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html = 1.0f` | the scaleFactor to be used for this Chip when enabled |
| `focusedScale: @https://developer.android.com/reference/kotlin/androidx/annotation/FloatRange(from = 0.0) https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html = 1.1f` | the scaleFactor to be used for this Chip when focused |
| `pressedScale: @https://developer.android.com/reference/kotlin/androidx/annotation/FloatRange(from = 0.0) https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html = scale` | the scaleFactor to be used for this Chip when pressed |
| `disabledScale: @https://developer.android.com/reference/kotlin/androidx/annotation/FloatRange(from = 0.0) https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html = scale` | the scaleFactor to be used for this Chip when disabled |
| `focusedDisabledScale: @https://developer.android.com/reference/kotlin/androidx/annotation/FloatRange(from = 0.0) https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html = disabledScale` | the scaleFactor to be used for this Chip when disabled and focused |

### shape

Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/tv#1.0.0)

```
fun shape(
    shape: Shape = ContainerShape,
    focusedShape: Shape = shape,
    pressedShape: Shape = shape,
    disabledShape: Shape = shape,
    focusedDisabledShape: Shape = disabledShape
): ClickableChipShape
```

Creates a `https://developer.android.com/reference/kotlin/androidx/tv/material3/ClickableChipShape` that represents the default container shapes used in an `https://developer.android.com/reference/kotlin/androidx/tv/material3/AssistChip.composable#AssistChip(kotlin.Function0,androidx.compose.ui.Modifier,kotlin.Boolean,kotlin.Function0,kotlin.Function0,kotlin.Function0,androidx.tv.material3.ClickableChipShape,androidx.tv.material3.ClickableChipColors,androidx.tv.material3.ClickableChipScale,androidx.tv.material3.ClickableChipBorder,androidx.tv.material3.ClickableChipGlow,androidx.compose.foundation.interaction.MutableInteractionSource,kotlin.Function0)`

| Parameters |
|---|---|
| `shape: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Shape = ContainerShape` | the shape used when the Chip is enabled, and has no other `https://developer.android.com/reference/kotlin/androidx/compose/foundation/interaction/Interaction`s |
| `focusedShape: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Shape = shape` | the shape used when the Chip is enabled and focused |
| `pressedShape: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Shape = shape` | the shape used when the Chip is enabled pressed |
| `disabledShape: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Shape = shape` | the shape used when the Chip is not enabled |
| `focusedDisabledShape: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Shape = disabledShape` | the shape used when the Chip is not enabled and focused |

## Public properties

### ContainerHeight

Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/tv#1.0.0)

```
val ContainerHeight: Dp
```

The height applied to an assist chip. Note that you can override it by applying Modifier.height directly on a chip.

### ContainerShape

Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/tv#1.0.0)

```
val ContainerShape: RoundedCornerShape
```

The default `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Shape` applied to an assist chip

### IconSize

Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/tv#1.0.0)

```
val IconSize: Dp
```

The size of an Assist chip icon