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

```kotlin
object SuggestionChipDefaults
```

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

## Properties

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

```kotlin
val Height = SuggestionChipTokens.ContainerHeight
```

The height applied for a suggestion 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 = SuggestionChipTokens.LeadingIconSize
```

The size of a suggestion chip icon.

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

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

The padding around the content of the chip, including the icon and label.

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

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

Default spacing between elements in a suggestion chip.

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

```kotlin
val shape: Shape
```

Default shape of a suggestion chip.

## Functions

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

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

Returns the default arrangement of the icon and label within a suggestion 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 a suggestion chip.

#### Parameters

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

```kotlin
@Composable fun suggestionChipColors() = MaterialTheme.colorScheme.defaultSuggestionChipColors
```

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

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

<h2 id="suggestionchipcolors-containercolor-labelcolor-iconcontentcolor-disabledcontainercolor-disabledlabelcolor-disablediconcontentcolor">suggestionChipColors</h2>

```kotlin
@Composable
    fun suggestionChipColors(
        containerColor: Color = Color.Unspecified,
        labelColor: Color = Color.Unspecified,
        iconContentColor: Color = Color.Unspecified,
        disabledContainerColor: Color = Color.Unspecified,
        disabledLabelColor: Color = Color.Unspecified,
        disabledIconContentColor: 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 [SuggestionChip](/jetpack-compose/androidx.compose.material3/material3/components/SuggestionChip).

#### Parameters

| | |
| --- | --- |
| containerColor | the container color of this chip when enabled |
| labelColor | the label color of this chip when enabled |
| iconContentColor | the color of this chip's icon when enabled |
| disabledContainerColor | the container color of this chip when not enabled |
| disabledLabelColor | the label color of this chip when not enabled |
| disabledIconContentColor | the color of this chip's icon when not enabled |

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

<h2 id="suggestionchipelevation-elevation-pressedelevation-focusedelevation-hoveredelevation-draggedelevation-disabledelevation">suggestionChipElevation</h2>

```kotlin
@Composable
    fun suggestionChipElevation(
        elevation: Dp = SuggestionChipTokens.FlatContainerElevation,
        pressedElevation: Dp = elevation,
        focusedElevation: Dp = elevation,
        hoveredElevation: Dp = elevation,
        draggedElevation: Dp = SuggestionChipTokens.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 [SuggestionChip](/jetpack-compose/androidx.compose.material3/material3/components/SuggestionChip).

#### Parameters

| | |
| --- | --- |
| elevation | the elevation used when the chip 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="suggestionchipborder-enabled-bordercolor-disabledbordercolor-borderwidth">suggestionChipBorder</h2>

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

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

#### 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="suggestionchipborder-bordercolor-disabledbordercolor-borderwidth">suggestionChipBorder</h2>

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

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

#### 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="elevatedsuggestionchipcolors">elevatedSuggestionChipColors</h2>

```kotlin
@Composable
    fun elevatedSuggestionChipColors() =
        MaterialTheme.colorScheme.defaultElevatedSuggestionChipColors
```

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

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

<h2 id="elevatedsuggestionchipcolors-containercolor-labelcolor-iconcontentcolor-disabledcontainercolor-disabledlabelcolor-disablediconcontentcolor">elevatedSuggestionChipColors</h2>

```kotlin
@Composable
    fun elevatedSuggestionChipColors(
        containerColor: Color = Color.Unspecified,
        labelColor: Color = Color.Unspecified,
        iconContentColor: Color = Color.Unspecified,
        disabledContainerColor: Color = Color.Unspecified,
        disabledLabelColor: Color = Color.Unspecified,
        disabledIconContentColor: 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 [SuggestionChip](/jetpack-compose/androidx.compose.material3/material3/components/SuggestionChip).

#### Parameters

| | |
| --- | --- |
| containerColor | the container color of this chip when enabled |
| labelColor | the label color of this chip when enabled |
| iconContentColor | the color of this chip's icon when enabled |
| disabledContainerColor | the container color of this chip when not enabled |
| disabledLabelColor | the label color of this chip when not enabled |
| disabledIconContentColor | the color of this chip's icon when not enabled |

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

<h2 id="elevatedsuggestionchipelevation-elevation-pressedelevation-focusedelevation-hoveredelevation-draggedelevation-disabledelevation">elevatedSuggestionChipElevation</h2>

```kotlin
@Composable
    fun elevatedSuggestionChipElevation(
        elevation: Dp = SuggestionChipTokens.ElevatedContainerElevation,
        pressedElevation: Dp = SuggestionChipTokens.ElevatedPressedContainerElevation,
        focusedElevation: Dp = SuggestionChipTokens.ElevatedFocusContainerElevation,
        hoveredElevation: Dp = SuggestionChipTokens.ElevatedHoverContainerElevation,
        draggedElevation: Dp = SuggestionChipTokens.DraggedContainerElevation,
        disabledElevation: Dp = SuggestionChipTokens.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 [SuggestionChip](/jetpack-compose/androidx.compose.material3/material3/components/SuggestionChip).

#### Parameters

| | |
| --- | --- |
| elevation | the elevation used when the chip 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 |