---
title: "ChipShapes"
description: "The shapes that will be used in chips."
type: "class"
lastmod: "2026-04-23T11:19:39.095107Z"
---
## API Reference

> Source set: Common

```kotlin
@Material3ExpressiveApi
class ChipShapes(
    val shape: Shape,
    val selectedShape: Shape,
    val pressedShape: Shape = selectedShape,
)
```

The shapes that will be used in chips. Chip will morph between these shapes depending on the
state of the chip, assuming all of the shapes are [CornerBasedShape](/jetpack-compose/androidx.compose.foundation/foundation/classes/CornerBasedShape)s.

## Functions

### copy

```kotlin
fun copy(
        shape: Shape? = this.shape,
        selectedShape: Shape? = this.selectedShape,
        pressedShape: Shape? = this.pressedShape,
    ) =
        ChipShapes(
            shape = shape.takeOrElse { this.shape },
            selectedShape = selectedShape.takeOrElse { this.selectedShape },
            pressedShape = pressedShape.takeOrElse { this.pressedShape },
        )
```

Returns a copy of this ChipShapes, optionally overriding some of the values.
