NOCTA UI

Dropdown Menu

A dropdown menu component triggered with a standard click, featuring separators, submenus, and disabled states

Installation

Install the Dropdown Menu component using the nocta-ui CLI:

npx @nocta-ui/cli add dropdown-menu

Import the component:

import {
  DropdownMenu,
  DropdownMenuTrigger,
  DropdownMenuContent,
  DropdownMenuItem,
  DropdownMenuSeparator,
} from '@/components/ui/dropdown-menu';

Examples

Default Dropdown Menu

With Separators

With Submenu

Disabled State

API Reference

Prop

Type

Prop

Type

Prop

Type

Prop

Type

Prop

Type

Prop

Type

Prop

Type

Prop

Type