Module
The element that opens the menu. Pass asChild to project the trigger
behaviour onto your own button instead of rendering a nested one.
Portal that lifts the menu out of the DOM position where it was declared and mounts it at the document root.
The menu surface itself — portalled, positioned against the trigger, and styled on the Immersion Cinema panel tokens shared with the dialog and the outline sidebar.
A plain action or navigation entry, exposed as menuitem.
Groups DropdownMenuRadioItems into one single-choice set. Exactly one
item is checked at a time, reflecting value.
One option in a DropdownMenuRadioGroup, exposed as menuitemradio
with its checked state in aria-checked.
Renders its children only while the surrounding item is checked. Place it inside a DropdownMenuRadioItem to mark the current choice.
shadcn/ui
DropdownMenuroot — the state machine behind a menu.