---
title: "ListItemShapes"
description: "Represents the shapes of a list item in different states."
type: "class"
---

<div class='type'>Class</div>


<a id='references'></a>

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


```kotlin
@ExperimentalMaterial3ExpressiveApi
class ListItemShapes(
    val shape: Shape,
    val selectedShape: Shape,
    val pressedShape: Shape,
    val focusedShape: Shape,
    val hoveredShape: Shape,
    val draggedShape: Shape,
)
```


Represents the shapes of a list item in different states.

#### Parameters

| | |
| --- | --- |
| shape | the default shape of the list item. |
| selectedShape | the shape of the list item when selected. |
| pressedShape | the shape of the list item when pressed. |
| focusedShape | the shape of the list item when focused. |
| hoveredShape | the shape of the list item when hovered. |
| draggedShape | the shape of the list item when dragged. |



## Functions

```kotlin
fun copy(
        shape: Shape? = this.shape,
        selectedShape: Shape? = this.selectedShape,
        pressedShape: Shape? = this.pressedShape,
        focusedShape: Shape? = this.focusedShape,
        hoveredShape: Shape? = this.hoveredShape,
        draggedShape: Shape? = this.draggedShape,
    ): ListItemShapes
```


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



