Lyse UI GitHub

DropdownMenu

The DropdownMenu component is an action menu triggered by a button or control. It organizes contextual actions into a structured overlay, helping users access commands without leaving their current view.

Add to v0.dev
tsx

Default

Basic dropdown menu triggered by a button.

With Icons

Leading icons for visual context.

With Shortcuts

Display keyboard shortcut hints on the trailing side.

Destructive

Red styling for dangerous actions like delete or remove.

Grouped

Organize items with groups, labels, and separators.

Disabled Items

Non-interactive items with muted styling.