A portal-backed dropdown for action menus, separators, nested dropdowns, and custom overlay content.
Anatomy
<Dropdown.Root>
<Dropdown.Trigger />
<Dropdown.Content>
<Dropdown.Item />
<Dropdown.Separator />
</Dropdown.Content>
</Dropdown.Root>Examples
Variants
Dropdown content supports solid, outlined, and muted variants.
Nested Dropdowns
Render a child Dropdown.Root inside another dropdown to create a submenu. Selecting a leaf item closes the full dropdown chain.
Custom Content
Dropdown content defaults to menu behavior. Use mode="custom" for arbitrary content.