A menu of actions anchored to a button.
Copy the command below and run it in your terminal.
Import Dropdown Menu and compose it with sub-components:
Dropdown menus in common patterns and real-world use cases.
DropdownMenu.Root - Provides dropdown menu state.
DropdownMenu.Trigger - Opens the dropdown menu.
DropdownMenu.Label - Labels a menu section.
DropdownMenu.Item - Renders a menu action.
DropdownMenu.Content - Renders the menu surface.
DropdownMenu.Separator - Separates menu items.
DropdownMenu.Sub - Provides submenu state.
DropdownMenu.SubContent - Renders a submenu surface.
DropdownMenu.SubTrigger - Opens a submenu.