Skip to Content

dropdown-menu

ui

Displays a menu to the user triggered by a button.

Use cases

  • Action menus on buttons
  • User account menus
  • Sort/filter options
  • More options (ellipsis) menus

Features

  • Submenus
  • Checkbox and radio items
  • Keyboard shortcuts display
  • Separator and label groups

Preview

Interactive preview with light/dark mode toggle. Switch to Code tab to view the full source.

Installation

npx shadcn@latest add https://registry.mukoko.com/api/v1/ui/dropdown-menu

Dependencies

radix-uilucide-react

API

Fetch this component's metadata and source code from the registry API.

GET/api/v1/ui/dropdown-menu

Source

components/ui/dropdown-menu.tsx