Actions

DropdownMenu

Group secondary commands in a menu opened by click, tap, or keyboard.

Basic usage

Give each item a unique value and handle its action in onSelect. Use disabled for unavailable items and destructive to signal destructive actions.

API

Key props and defaults.

PropValues and behaviorDefault
Root.defaultOpenbooleanfalse
Item.valuestring—
Item.disabledbooleanfalse
Item.destructivebooleanfalse
Item.closeOnSelectbooleantrue