<div class='type'>Composable Component</div>



Menus display a list of choices on a temporary surface. They appear when users interact with a
button, action, or other control.

<img loading='lazy' class='hero-img' alt='Exposed dropdown menu image' src='/static/images/material3/exposed-dropdown-menu.png'>

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



<h2 id="exposeddropdownmenubox-expanded-onexpandedchange-modifier-content">ExposedDropdownMenuBox</h2>

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


```kotlin
@ExperimentalMaterial3Api
@Composable
fun ExposedDropdownMenuBox(
    expanded: Boolean,
    onExpandedChange: (Boolean) -> Unit,
    modifier: Modifier = Modifier,
    content: @Composable ExposedDropdownMenuBoxScope.() -> Unit,
)
```


#### Parameters

| | |
| --- | --- |
| expanded | whether the menu is expanded or not |
| onExpandedChange | called when the exposed dropdown menu is clicked and the expansion state changes. |
| modifier | the `Modifier` to be applied to this ExposedDropdownMenuBox |
| content | the content of this ExposedDropdownMenuBox, typically a `TextField` and an `ExposedDropdownMenu`. |