Dropdown Item
Parameters
Text shown for the item.
Whether the item can be clicked.
Whether the item is selected.
Callback invoked when the item is clicked. Ignored when children is non-null and non-empty (the click is consumed by the cascading layer to expand the submenu).
Optional icon shown before text.
Optional summary shown below text.
Optional submenu items. When non-null and non-empty, this item becomes a submenu trigger: cascading dropdown popups render a chevron and open a child popup on click, recursively. Stabilize this list (e.g. via remember) to avoid unnecessary recomposition.
Optional trailing hint slot rendered between the title block and the selection indicator (COUI popup_list_window_item_hint_layout). Suitable for a badge, a red dot, or a short count; it is width-capped at DropdownDefaults.HintMaxWidth and, matching COUI DefaultAdapter.setHint, hidden entirely while the row is disabled.
Whether this is an alert (destructive) item. Its title is tinted with DropdownColors.alertContentColor (COUI ITEM_TYPE_ALERT → couiColorError).
SpinnerEntry compatibility