Dropdown Menu

Menus & Navigation
Local guide ↗ import { DropdownMenu } from "bits-ui"

Complete menu

Commands, shortcuts, a checkbox, radio choices, and a nested workspace picker

Controlled open state

bind:open lets external controls and the trigger share one source of truth

closed

No command selected

Arrow keys move the highlighted item, Enter or Space selects it, and Escape closes the menu. Set loop on Content to wrap keyboard navigation; it defaults to false. Supply textValue when an item's visible children do not provide a useful label, because that value drives typeahead.

RadioItem must be inside RadioGroup and its value is required. Portal renders Content into document.body by default; pass a target with to or set disabled to keep it in place.