Back to Components
Components

Menu Dropdown

Hover or click dropdown menu with nested submenus and accessible focus states.

Dependencies

  • clsx
  • tailwind-merge

Files

  • components/ui/menu-dropdown.tsx

Installation

Using shadcn CLI

npx shadcn add menu-dropdown --url https://ui.hampton.io

Manual installation

Copy the component file to your project and install dependencies:

npm install clsx tailwind-merge