Dropdown Menu

Displays a menu to the user or functions.

The Dropdown Menu component displays a menu when the user clicks on a trigger element. It supports keyboard shortcuts, separators, icons, and disabled items. Built from scratch using React and native HTML elements. No dependencies on any UI library.

Quick Install

Install via shadcn/ui CLI

Examples

Default