---
title: "MenuGroupShapes"
description: "Represents the shapes used for a [DropdownMenuGroup]."
type: "class"
---

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


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

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


```kotlin
@ExperimentalMaterial3ExpressiveApi
class MenuGroupShapes(val shape: Shape, val inactiveShape: Shape)
```


Represents the shapes used for a `DropdownMenuGroup`.

#### Parameters

| | |
| --- | --- |
| shape | the default `Shape` to use for the group. |
| inactiveShape | the `Shape` to use when the group has stop being hovered. |



## Functions

```kotlin
fun copy(shape: Shape? = this.shape, inactiveShape: Shape? = this.inactiveShape) =
        MenuGroupShapes(
            shape = shape.takeOrElse { this.shape },
            inactiveShape = inactiveShape.takeOrElse { this.inactiveShape },
        )
```


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



