<div class='sourceset sourceset-common'>Common</div>

```kotlin
object AssistChipDefaults
```

Contains the baseline values used by [AssistChip](/jetpack-compose/androidx.compose.material3/material3/components/AssistChip).

## Properties

<div class='sourceset sourceset-common'>Common</div>

```kotlin
val Height = AssistChipTokens.ContainerHeight
```

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

<div class='sourceset sourceset-common'>Common</div>

```kotlin
val IconSize = AssistChipTokens.IconSize
```

The size of an assist chip icon.

<div class='sourceset sourceset-common'>Common</div>

```kotlin
val HorizontalSpacing = 8.dp
```

The spacing between the icon and label of an assist chip.

<div class='sourceset sourceset-common'>Common</div>

```kotlin
val ContentPadding = PaddingValues(horizontal = 8.dp)
```

The padding around the content of the chip, including the leadingIcon, label, and
trailingIcon

<div class='sourceset sourceset-common'>Common</div>

```kotlin
val shape: Shape
```

Default shape of an assist chip.

## Functions

<h2 id="horizontalarrangement">horizontalArrangement</h2>

```kotlin
fun horizontalArrangement(): Arrangement.Horizontal
```

Returns the default arrangement of the icon and label within an assist chip.

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

<h2 id="horizontalarrangement-spacing">horizontalArrangement</h2>

```kotlin
fun horizontalArrangement(spacing: Dp): Arrangement.Horizontal
```

Creates an [Arrangement.Horizontal](/jetpack-compose/androidx.compose.foundation/foundation-layout/interfaces/Arrangement.Horizontal) that represents the default arrangement of the icon and
label within an assist chip.

#### Parameters

| | |
| --- | --- |
| spacing | the spacing between the icon and label |

```kotlin
@Composable fun assistChipColors() = MaterialTheme.colorScheme.defaultAssistChipColors
```

Creates a [ChipColors](/jetpack-compose/androidx.compose.material3/material3/classes/ChipColors) that represents the default container , label, and icon colors used in
a flat [AssistChip](/jetpack-compose/androidx.compose.material3/material3/components/AssistChip).

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

<h2 id="assistchipcolors-containercolor-labelcolor-leadingiconcontentcolor-trailingiconcontentcolor-disabledcontainercolor-disabledlabelcolor-disabledleadingiconcontentcolor-disabledtrailingiconcontentcolor">assistChipColors</h2>

```kotlin
@Composable
    fun assistChipColors(
        containerColor: Color = Color.Unspecified,
        labelColor: Color = Color.Unspecified,
        leadingIconContentColor: Color = Color.Unspecified,
        trailingIconContentColor: Color = Color.Unspecified,
        disabledContainerColor: Color = Color.Unspecified,
        disabledLabelColor: Color = Color.Unspecified,
        disabledLeadingIconContentColor: Color = Color.Unspecified,
        disabledTrailingIconContentColor: Color = Color.Unspecified,
    ): ChipColors
```

Creates a [ChipColors](/jetpack-compose/androidx.compose.material3/material3/classes/ChipColors) that represents the default container , label, and icon colors used in
a flat [AssistChip](/jetpack-compose/androidx.compose.material3/material3/components/AssistChip).

#### Parameters

| | |
| --- | --- |
| containerColor | the container color of this chip when enabled |
| labelColor | the label color of this chip when enabled |
| leadingIconContentColor | the color of this chip's start icon when enabled |
| trailingIconContentColor | the color of this chip's end icon when enabled |
| disabledContainerColor | the container color of this chip when not enabled |
| disabledLabelColor | the label color of this chip when not enabled |
| disabledLeadingIconContentColor | the color of this chip's start icon when not enabled |
| disabledTrailingIconContentColor | the color of this chip's end icon when not enabled |

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

<h2 id="assistchipelevation-elevation-pressedelevation-focusedelevation-hoveredelevation-draggedelevation-disabledelevation">assistChipElevation</h2>

```kotlin
@Composable
    fun assistChipElevation(
        elevation: Dp = AssistChipTokens.FlatContainerElevation,
        pressedElevation: Dp = elevation,
        focusedElevation: Dp = elevation,
        hoveredElevation: Dp = elevation,
        draggedElevation: Dp = AssistChipTokens.DraggedContainerElevation,
        disabledElevation: Dp = elevation,
    ): ChipElevation
```

Creates a [ChipElevation](/jetpack-compose/androidx.compose.material3/material3/classes/ChipElevation) that will animate between the provided values according to the
Material specification for a flat [AssistChip](/jetpack-compose/androidx.compose.material3/material3/components/AssistChip).

#### Parameters

| | |
| --- | --- |
| elevation | the elevation used when the [AssistChip](/jetpack-compose/androidx.compose.material3/material3/components/AssistChip) is has no other [Interaction](/jetpack-compose/androidx.compose.foundation/foundation/interfaces/Interaction)s |
| pressedElevation | the elevation used when the chip is pressed. |
| focusedElevation | the elevation used when the chip is focused |
| hoveredElevation | the elevation used when the chip is hovered |
| draggedElevation | the elevation used when the chip is dragged |
| disabledElevation | the elevation used when the chip is not enabled |

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

<h2 id="assistchipborder-enabled-bordercolor-disabledbordercolor-borderwidth">assistChipBorder</h2>

```kotlin
@Composable
    fun assistChipBorder(
        enabled: Boolean,
        borderColor: Color = AssistChipTokens.FlatOutlineColor.value,
        disabledBorderColor: Color =
            AssistChipTokens.FlatDisabledOutlineColor.value.copy(
                alpha = AssistChipTokens.FlatDisabledOutlineOpacity
            ),
        borderWidth: Dp = AssistChipTokens.FlatOutlineWidth,
    ): BorderStroke
```

Creates a [ChipBorder](/jetpack-compose/androidx.compose.material3/material3/classes/ChipBorder) that represents the default border used in a flat [AssistChip](/jetpack-compose/androidx.compose.material3/material3/components/AssistChip).

#### Parameters

| | |
| --- | --- |
| enabled | whether the chip is enabled |
| borderColor | the border color of this chip when enabled |
| disabledBorderColor | the border color of this chip when not enabled |
| borderWidth | the border stroke width of this chip |

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

<h2 id="assistchipborder-bordercolor-disabledbordercolor-borderwidth">assistChipBorder</h2>

```kotlin
@Composable
    fun assistChipBorder(
        borderColor: Color = AssistChipTokens.FlatOutlineColor.value,
        disabledBorderColor: Color =
            AssistChipTokens.FlatDisabledOutlineColor.value.copy(
                alpha = AssistChipTokens.FlatDisabledOutlineOpacity
            ),
        borderWidth: Dp = AssistChipTokens.FlatOutlineWidth,
    ): ChipBorder
```

Creates a [ChipBorder](/jetpack-compose/androidx.compose.material3/material3/classes/ChipBorder) that represents the default border used in a flat [AssistChip](/jetpack-compose/androidx.compose.material3/material3/components/AssistChip).

#### Parameters

| | |
| --- | --- |
| borderColor | the border color of this chip when enabled |
| disabledBorderColor | the border color of this chip when not enabled |
| borderWidth | the border stroke width of this chip |

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

<h2 id="elevatedassistchipcolors">elevatedAssistChipColors</h2>

```kotlin
@Composable
    fun elevatedAssistChipColors() = MaterialTheme.colorScheme.defaultElevatedAssistChipColors
```

Creates a [ChipColors](/jetpack-compose/androidx.compose.material3/material3/classes/ChipColors) that represents the default container, label, and icon colors used in
an elevated [AssistChip](/jetpack-compose/androidx.compose.material3/material3/components/AssistChip).

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

<h2 id="elevatedassistchipcolors-containercolor-labelcolor-leadingiconcontentcolor-trailingiconcontentcolor-disabledcontainercolor-disabledlabelcolor-disabledleadingiconcontentcolor-disabledtrailingiconcontentcolor">elevatedAssistChipColors</h2>

```kotlin
@Composable
    fun elevatedAssistChipColors(
        containerColor: Color = Color.Unspecified,
        labelColor: Color = Color.Unspecified,
        leadingIconContentColor: Color = Color.Unspecified,
        trailingIconContentColor: Color = Color.Unspecified,
        disabledContainerColor: Color = Color.Unspecified,
        disabledLabelColor: Color = Color.Unspecified,
        disabledLeadingIconContentColor: Color = Color.Unspecified,
        disabledTrailingIconContentColor: Color = Color.Unspecified,
    ): ChipColors
```

Creates a [ChipColors](/jetpack-compose/androidx.compose.material3/material3/classes/ChipColors) that represents the default container, label, and icon colors used in
an elevated [AssistChip](/jetpack-compose/androidx.compose.material3/material3/components/AssistChip).

#### Parameters

| | |
| --- | --- |
| containerColor | the container color of this chip when enabled |
| labelColor | the label color of this chip when enabled |
| leadingIconContentColor | the color of this chip's start icon when enabled |
| trailingIconContentColor | the color of this chip's end icon when enabled |
| disabledContainerColor | the container color of this chip when not enabled |
| disabledLabelColor | the label color of this chip when not enabled |
| disabledLeadingIconContentColor | the color of this chip's start icon when not enabled |
| disabledTrailingIconContentColor | the color of this chip's end icon when not enabled |

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

<h2 id="elevatedassistchipelevation-elevation-pressedelevation-focusedelevation-hoveredelevation-draggedelevation-disabledelevation">elevatedAssistChipElevation</h2>

```kotlin
@Composable
    fun elevatedAssistChipElevation(
        elevation: Dp = AssistChipTokens.ElevatedContainerElevation,
        pressedElevation: Dp = AssistChipTokens.ElevatedPressedContainerElevation,
        focusedElevation: Dp = AssistChipTokens.ElevatedFocusContainerElevation,
        hoveredElevation: Dp = AssistChipTokens.ElevatedHoverContainerElevation,
        draggedElevation: Dp = AssistChipTokens.DraggedContainerElevation,
        disabledElevation: Dp = AssistChipTokens.ElevatedDisabledContainerElevation,
    ): ChipElevation
```

Creates a [ChipElevation](/jetpack-compose/androidx.compose.material3/material3/classes/ChipElevation) that will animate between the provided values according to the
Material specification for an elevated [AssistChip](/jetpack-compose/androidx.compose.material3/material3/components/AssistChip).

#### Parameters

| | |
| --- | --- |
| elevation | the elevation used when the [AssistChip](/jetpack-compose/androidx.compose.material3/material3/components/AssistChip) is has no other [Interaction](/jetpack-compose/androidx.compose.foundation/foundation/interfaces/Interaction)s |
| pressedElevation | the elevation used when the chip is pressed. |
| focusedElevation | the elevation used when the chip is focused |
| hoveredElevation | the elevation used when the chip is hovered |
| draggedElevation | the elevation used when the chip is dragged |
| disabledElevation | the elevation used when the chip is not enabled |