# ChipDefaults

Artifact: [androidx.compose.material:material](https://developer.android.com/jetpack/androidx/releases/compose-material) [View Source](https://cs.android.com/search?q=file:androidx/compose/material/Chip.kt+class:androidx.compose.material.ChipDefaults) Added in [1.2.0](https://developer.android.com/jetpack/androidx/releases/compose-material#1.2.0) Common/AllAndroid/JVM
- Cmn

  ```
  @ExperimentalMaterialApi
  object ChipDefaults
  ```

*** ** * ** ***

Contains the baseline values used by chips.

## Summary

| ### Constants |
|---|---|---|
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/material/ChipDefaults#ContentOpacity() = 0.87f` The color opacity used for chip's content color | Cmn |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/material/ChipDefaults#LeadingIconOpacity() = 0.54f` The color opacity used for chip's leading icon color | Cmn |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/material/ChipDefaults#OutlinedBorderOpacity() = 0.12f` The color opacity used for the outlined chip's border color | Cmn |

| ### Public functions |
|---|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/material/ChipColors` | `@https://developer.android.com/reference/kotlin/androidx/compose/runtime/Composable https://developer.android.com/reference/kotlin/androidx/compose/material/ChipDefaults#chipColors(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)( backgroundColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, contentColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, leadingIconContentColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, disabledBackgroundColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, disabledContentColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, disabledLeadingIconContentColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color )` Creates a `https://developer.android.com/reference/kotlin/androidx/compose/material/ChipColors` that represents the default background and content colors used in a filled `https://developer.android.com/reference/kotlin/androidx/compose/material/Chip.composable#Chip(kotlin.Function0,androidx.compose.ui.Modifier,kotlin.Boolean,androidx.compose.foundation.interaction.MutableInteractionSource,androidx.compose.ui.graphics.Shape,androidx.compose.foundation.BorderStroke,androidx.compose.material.ChipColors,kotlin.Function0,kotlin.Function1)`. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/material/SelectableChipColors` | `@https://developer.android.com/reference/kotlin/androidx/compose/runtime/Composable https://developer.android.com/reference/kotlin/androidx/compose/material/ChipDefaults#filterChipColors(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,androidx.compose.ui.graphics.Color)( backgroundColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, contentColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, leadingIconColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, disabledBackgroundColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, disabledContentColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, disabledLeadingIconColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, selectedBackgroundColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, selectedContentColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, selectedLeadingIconColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color )` Creates a `https://developer.android.com/reference/kotlin/androidx/compose/material/SelectableChipColors` that represents the default background and content colors used in a filled `https://developer.android.com/reference/kotlin/androidx/compose/material/FilterChip.composable#FilterChip(kotlin.Boolean,kotlin.Function0,androidx.compose.ui.Modifier,kotlin.Boolean,androidx.compose.foundation.interaction.MutableInteractionSource,androidx.compose.ui.graphics.Shape,androidx.compose.foundation.BorderStroke,androidx.compose.material.SelectableChipColors,kotlin.Function0,kotlin.Function0,kotlin.Function0,kotlin.Function1)`. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/material/ChipColors` | `@https://developer.android.com/reference/kotlin/androidx/compose/runtime/Composable https://developer.android.com/reference/kotlin/androidx/compose/material/ChipDefaults#outlinedChipColors(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)( backgroundColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, contentColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, leadingIconContentColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, disabledBackgroundColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, disabledContentColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, disabledLeadingIconContentColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color )` Creates a `https://developer.android.com/reference/kotlin/androidx/compose/material/ChipColors` that represents the default background and content colors used in an outlined `https://developer.android.com/reference/kotlin/androidx/compose/material/Chip.composable#Chip(kotlin.Function0,androidx.compose.ui.Modifier,kotlin.Boolean,androidx.compose.foundation.interaction.MutableInteractionSource,androidx.compose.ui.graphics.Shape,androidx.compose.foundation.BorderStroke,androidx.compose.material.ChipColors,kotlin.Function0,kotlin.Function1)`. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/material/SelectableChipColors` | `@https://developer.android.com/reference/kotlin/androidx/compose/runtime/Composable https://developer.android.com/reference/kotlin/androidx/compose/material/ChipDefaults#outlinedFilterChipColors(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,androidx.compose.ui.graphics.Color)( backgroundColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, contentColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, leadingIconColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, disabledBackgroundColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, disabledContentColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, disabledLeadingIconColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, selectedBackgroundColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, selectedContentColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, selectedLeadingIconColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color )` Creates a `https://developer.android.com/reference/kotlin/androidx/compose/material/ChipColors` that represents the default background and content colors used in a selectable outlined `https://developer.android.com/reference/kotlin/androidx/compose/material/FilterChip.composable#FilterChip(kotlin.Boolean,kotlin.Function0,androidx.compose.ui.Modifier,kotlin.Boolean,androidx.compose.foundation.interaction.MutableInteractionSource,androidx.compose.ui.graphics.Shape,androidx.compose.foundation.BorderStroke,androidx.compose.material.SelectableChipColors,kotlin.Function0,kotlin.Function0,kotlin.Function0,kotlin.Function1)`. | Cmn |

| ### Public properties |
|---|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp` | `https://developer.android.com/reference/kotlin/androidx/compose/material/ChipDefaults#LeadingIconSize()` The size of a chip's leading icon | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp` | `https://developer.android.com/reference/kotlin/androidx/compose/material/ChipDefaults#MinHeight()` The min height applied for a chip. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp` | `https://developer.android.com/reference/kotlin/androidx/compose/material/ChipDefaults#OutlinedBorderSize()` The outlined chip's border size | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp` | `https://developer.android.com/reference/kotlin/androidx/compose/material/ChipDefaults#SelectedIconSize()` The size of a standalone selected icon | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/BorderStroke` | `https://developer.android.com/reference/kotlin/androidx/compose/material/ChipDefaults#outlinedBorder()` The border used by all types of outlined chips | Cmn |

## Constants

### ContentOpacity

Cmn Added in [1.2.0](https://developer.android.com/jetpack/androidx/releases/compose-material#1.2.0)

```
const val ContentOpacity = 0.87f: Float
```

The color opacity used for chip's content color

### LeadingIconOpacity

Cmn Added in [1.2.0](https://developer.android.com/jetpack/androidx/releases/compose-material#1.2.0)

```
const val LeadingIconOpacity = 0.54f: Float
```

The color opacity used for chip's leading icon color

### OutlinedBorderOpacity

Cmn Added in [1.2.0](https://developer.android.com/jetpack/androidx/releases/compose-material#1.2.0)

```
const val OutlinedBorderOpacity = 0.12f: Float
```

The color opacity used for the outlined chip's border color

## Public functions

### chipColors

Cmn Added in [1.10.0](https://developer.android.com/jetpack/androidx/releases/compose-material#1.10.0)

```
@Composable
fun chipColors(
    backgroundColor: Color = MaterialTheme.colors.onSurface
                .copy(alpha = SurfaceOverlayOpacity)
                .compositeOver(MaterialTheme.colors.surface),
    contentColor: Color = MaterialTheme.colors.onSurface.copy(alpha = ContentOpacity),
    leadingIconContentColor: Color = contentColor.copy(alpha = LeadingIconOpacity),
    disabledBackgroundColor: Color = MaterialTheme.colors.onSurface
                .copy(alpha = ContentAlpha.disabled * SurfaceOverlayOpacity)
                .compositeOver(MaterialTheme.colors.surface),
    disabledContentColor: Color = contentColor.copy(alpha = ContentAlpha.disabled * ContentOpacity),
    disabledLeadingIconContentColor: Color = leadingIconContentColor.copy(alpha = ContentAlpha.disabled * LeadingIconOpacity)
): ChipColors
```

Creates a `https://developer.android.com/reference/kotlin/androidx/compose/material/ChipColors` that represents the default background and content colors used in a filled `https://developer.android.com/reference/kotlin/androidx/compose/material/Chip.composable#Chip(kotlin.Function0,androidx.compose.ui.Modifier,kotlin.Boolean,androidx.compose.foundation.interaction.MutableInteractionSource,androidx.compose.ui.graphics.Shape,androidx.compose.foundation.BorderStroke,androidx.compose.material.ChipColors,kotlin.Function0,kotlin.Function1)`.

| Parameters |
|---|---|
| `backgroundColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color = MaterialTheme.colors.onSurface .copy(alpha = SurfaceOverlayOpacity) .compositeOver(MaterialTheme.colors.surface)` | the background color of this chip when enabled |
| `contentColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color = MaterialTheme.colors.onSurface.copy(alpha = ContentOpacity)` | the content color of this chip when enabled, there is a separate param for icon colors |
| `leadingIconContentColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color = contentColor.copy(alpha = LeadingIconOpacity)` | the color of this chip's start icon when enabled |
| `disabledBackgroundColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color = MaterialTheme.colors.onSurface .copy(alpha = ContentAlpha.disabled * SurfaceOverlayOpacity) .compositeOver(MaterialTheme.colors.surface)` | the background color of this chip when not enabled |
| `disabledContentColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color = contentColor.copy(alpha = ContentAlpha.disabled * ContentOpacity)` | the content color of this chip when not enabled |
| `disabledLeadingIconContentColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color = leadingIconContentColor.copy(alpha = ContentAlpha.disabled * LeadingIconOpacity)` | the color of this chip's start icon when not enabled |

### filterChipColors

Cmn Added in [1.10.0](https://developer.android.com/jetpack/androidx/releases/compose-material#1.10.0)

```
@Composable
fun filterChipColors(
    backgroundColor: Color = MaterialTheme.colors.onSurface
                .copy(alpha = SurfaceOverlayOpacity)
                .compositeOver(MaterialTheme.colors.surface),
    contentColor: Color = MaterialTheme.colors.onSurface.copy(alpha = ContentOpacity),
    leadingIconColor: Color = contentColor.copy(LeadingIconOpacity),
    disabledBackgroundColor: Color = MaterialTheme.colors.onSurface
                .copy(alpha = ContentAlpha.disabled * SurfaceOverlayOpacity)
                .compositeOver(MaterialTheme.colors.surface),
    disabledContentColor: Color = contentColor.copy(alpha = ContentAlpha.disabled * ContentOpacity),
    disabledLeadingIconColor: Color = leadingIconColor.copy(alpha = ContentAlpha.disabled * LeadingIconOpacity),
    selectedBackgroundColor: Color = MaterialTheme.colors.onSurface
                .copy(alpha = SurfaceOverlayOpacity)
                .compositeOver(backgroundColor),
    selectedContentColor: Color = MaterialTheme.colors.onSurface
                .copy(alpha = SelectedOverlayOpacity)
                .compositeOver(contentColor),
    selectedLeadingIconColor: Color = MaterialTheme.colors.onSurface
                .copy(alpha = SelectedOverlayOpacity)
                .compositeOver(leadingIconColor)
): SelectableChipColors
```

Creates a `https://developer.android.com/reference/kotlin/androidx/compose/material/SelectableChipColors` that represents the default background and content colors used in a filled `https://developer.android.com/reference/kotlin/androidx/compose/material/FilterChip.composable#FilterChip(kotlin.Boolean,kotlin.Function0,androidx.compose.ui.Modifier,kotlin.Boolean,androidx.compose.foundation.interaction.MutableInteractionSource,androidx.compose.ui.graphics.Shape,androidx.compose.foundation.BorderStroke,androidx.compose.material.SelectableChipColors,kotlin.Function0,kotlin.Function0,kotlin.Function0,kotlin.Function1)`.

| Parameters |
|---|---|
| `backgroundColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color = MaterialTheme.colors.onSurface .copy(alpha = SurfaceOverlayOpacity) .compositeOver(MaterialTheme.colors.surface)` | the background color of this chip when enabled |
| `contentColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color = MaterialTheme.colors.onSurface.copy(alpha = ContentOpacity)` | the content color of this chip when enabled |
| `leadingIconColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color = contentColor.copy(LeadingIconOpacity)` | the color of this chip's start icon when enabled |
| `disabledBackgroundColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color = MaterialTheme.colors.onSurface .copy(alpha = ContentAlpha.disabled * SurfaceOverlayOpacity) .compositeOver(MaterialTheme.colors.surface)` | the background color of this chip when not enabled |
| `disabledContentColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color = contentColor.copy(alpha = ContentAlpha.disabled * ContentOpacity)` | the content color of this chip when not enabled |
| `disabledLeadingIconColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color = leadingIconColor.copy(alpha = ContentAlpha.disabled * LeadingIconOpacity)` | the color of this chip's start icon when not enabled |
| `selectedBackgroundColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color = MaterialTheme.colors.onSurface .copy(alpha = SurfaceOverlayOpacity) .compositeOver(backgroundColor)` | the background color of this chip when selected |
| `selectedContentColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color = MaterialTheme.colors.onSurface .copy(alpha = SelectedOverlayOpacity) .compositeOver(contentColor)` | the content color of this chip when selected |
| `selectedLeadingIconColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color = MaterialTheme.colors.onSurface .copy(alpha = SelectedOverlayOpacity) .compositeOver(leadingIconColor)` | the color of this chip's start icon when selected |

### outlinedChipColors

Cmn Added in [1.10.0](https://developer.android.com/jetpack/androidx/releases/compose-material#1.10.0)

```
@Composable
fun outlinedChipColors(
    backgroundColor: Color = MaterialTheme.colors.surface,
    contentColor: Color = MaterialTheme.colors.onSurface.copy(alpha = ContentOpacity),
    leadingIconContentColor: Color = contentColor.copy(alpha = LeadingIconOpacity),
    disabledBackgroundColor: Color = backgroundColor,
    disabledContentColor: Color = contentColor.copy(alpha = ContentAlpha.disabled * ContentOpacity),
    disabledLeadingIconContentColor: Color = leadingIconContentColor.copy(alpha = ContentAlpha.disabled * LeadingIconOpacity)
): ChipColors
```

Creates a `https://developer.android.com/reference/kotlin/androidx/compose/material/ChipColors` that represents the default background and content colors used in an outlined `https://developer.android.com/reference/kotlin/androidx/compose/material/Chip.composable#Chip(kotlin.Function0,androidx.compose.ui.Modifier,kotlin.Boolean,androidx.compose.foundation.interaction.MutableInteractionSource,androidx.compose.ui.graphics.Shape,androidx.compose.foundation.BorderStroke,androidx.compose.material.ChipColors,kotlin.Function0,kotlin.Function1)`.

leadingIconContentColor the color of this chip's start icon when enabled

| Parameters |
|---|---|
| `backgroundColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color = MaterialTheme.colors.surface` | the background color of this chip when enabled |
| `contentColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color = MaterialTheme.colors.onSurface.copy(alpha = ContentOpacity)` | the content color of this chip when enabled, there is a separate param for icon colors |
| `leadingIconContentColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color = contentColor.copy(alpha = LeadingIconOpacity)` | the leading icon content color of this chip when enabled |
| `disabledBackgroundColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color = backgroundColor` | the background color of this chip when not enabled |
| `disabledContentColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color = contentColor.copy(alpha = ContentAlpha.disabled * ContentOpacity)` | the content color of this chip when not enabled |
| `disabledLeadingIconContentColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color = leadingIconContentColor.copy(alpha = ContentAlpha.disabled * LeadingIconOpacity)` | the color of this chip's start icon when not enabled |

### outlinedFilterChipColors

Cmn Added in [1.10.0](https://developer.android.com/jetpack/androidx/releases/compose-material#1.10.0)

```
@Composable
fun outlinedFilterChipColors(
    backgroundColor: Color = MaterialTheme.colors.surface,
    contentColor: Color = MaterialTheme.colors.onSurface.copy(ContentOpacity),
    leadingIconColor: Color = contentColor.copy(LeadingIconOpacity),
    disabledBackgroundColor: Color = backgroundColor,
    disabledContentColor: Color = contentColor.copy(alpha = ContentAlpha.disabled * ContentOpacity),
    disabledLeadingIconColor: Color = leadingIconColor.copy(alpha = ContentAlpha.disabled * LeadingIconOpacity),
    selectedBackgroundColor: Color = MaterialTheme.colors.onSurface
                .copy(alpha = SelectedOverlayOpacity)
                .compositeOver(backgroundColor),
    selectedContentColor: Color = MaterialTheme.colors.onSurface
                .copy(alpha = SelectedOverlayOpacity)
                .compositeOver(contentColor),
    selectedLeadingIconColor: Color = MaterialTheme.colors.onSurface
                .copy(alpha = SelectedOverlayOpacity)
                .compositeOver(leadingIconColor)
): SelectableChipColors
```

Creates a `https://developer.android.com/reference/kotlin/androidx/compose/material/ChipColors` that represents the default background and content colors used in a selectable outlined `https://developer.android.com/reference/kotlin/androidx/compose/material/FilterChip.composable#FilterChip(kotlin.Boolean,kotlin.Function0,androidx.compose.ui.Modifier,kotlin.Boolean,androidx.compose.foundation.interaction.MutableInteractionSource,androidx.compose.ui.graphics.Shape,androidx.compose.foundation.BorderStroke,androidx.compose.material.SelectableChipColors,kotlin.Function0,kotlin.Function0,kotlin.Function0,kotlin.Function1)`.

| Parameters |
|---|---|
| `backgroundColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color = MaterialTheme.colors.surface` | the background color of this chip when enabled |
| `contentColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color = MaterialTheme.colors.onSurface.copy(ContentOpacity)` | the content color of this chip when enabled |
| `leadingIconColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color = contentColor.copy(LeadingIconOpacity)` | the color of this chip's start icon when enabled |
| `disabledBackgroundColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color = backgroundColor` | the background color of this chip when not enabled |
| `disabledContentColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color = contentColor.copy(alpha = ContentAlpha.disabled * ContentOpacity)` | the content color of this chip when not enabled |
| `disabledLeadingIconColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color = leadingIconColor.copy(alpha = ContentAlpha.disabled * LeadingIconOpacity)` | the color of this chip's start icon when not enabled |
| `selectedBackgroundColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color = MaterialTheme.colors.onSurface .copy(alpha = SelectedOverlayOpacity) .compositeOver(backgroundColor)` | the background color of this chip when selected |
| `selectedContentColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color = MaterialTheme.colors.onSurface .copy(alpha = SelectedOverlayOpacity) .compositeOver(contentColor)` | the content color of this chip when selected |
| `selectedLeadingIconColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color = MaterialTheme.colors.onSurface .copy(alpha = SelectedOverlayOpacity) .compositeOver(leadingIconColor)` | the color of this chip's start icon when selected |

## Public properties

### LeadingIconSize

Cmn Added in [1.2.0](https://developer.android.com/jetpack/androidx/releases/compose-material#1.2.0)

```
val LeadingIconSize: Dp
```

The size of a chip's leading icon

### MinHeight

Cmn Added in [1.2.0](https://developer.android.com/jetpack/androidx/releases/compose-material#1.2.0)

```
val MinHeight: Dp
```

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

### OutlinedBorderSize

Cmn Added in [1.2.0](https://developer.android.com/jetpack/androidx/releases/compose-material#1.2.0)

```
val OutlinedBorderSize: Dp
```

The outlined chip's border size

### SelectedIconSize

Cmn Added in [1.2.0](https://developer.android.com/jetpack/androidx/releases/compose-material#1.2.0)

```
val SelectedIconSize: Dp
```

The size of a standalone selected icon

### outlinedBorder

Cmn Added in [1.2.0](https://developer.android.com/jetpack/androidx/releases/compose-material#1.2.0)

```
val outlinedBorder: BorderStroke
```

The border used by all types of outlined chips