Displays an icon-only trigger that opens a single-selection menu.
Use this form in toolbars where the icon and surrounding context communicate the menu's purpose.
icon: @Composable () -> Unit
trigger icon
items: PersistentList
immutable snapshot of menu items
onItemSelected: (DropdownItem) -> Unit
callback receiving the selected item
modifier: Modifier
modifier applied to the full trigger target
filled: Boolean
whether to use the filled rather than borderless default treatment
enabled: Boolean
whether the trigger accepts input
selectedItem: DropdownItem?
current selection matched to items by
DropdownItem.key, or
nullshowDividers: Boolean
whether menu items are separated by dividers instead of spacing
colors: DropdownColors
trigger, menu, selection, divider, and disabled colors
dimensions: DropdownDimensions
trigger, menu, item, icon, and spacing geometry
shape: Shape
trigger shape
menuShape: Shape
popup menu shape
interactionSource: MutableInteractionSource
interaction stream shared with callers observing trigger state
indication: UiSetIndicationSpec?
interaction feedback split around trigger and menu-item clipping boundaries