Dropdown menu
Dropdown menu: A focused list of actions anchored to a trigger. Free MIT React & Next.js source with Motion and Tailwind CSS, live preview, CLI install and docs.
Install Dropdown menu
npx motion-ui-skill add dropdown-menuComponents install as source into your project. The interactive page also includes preview, code, documentation and install tabs.
Dependencies
@radix-ui/react-dropdown-menuclsxlucide-reactmotionreactreact-domtailwind-merge
Source files
Dropdown menu
A focused list of actions anchored to a trigger.
Install
npx motion-ui-skill add dropdown-menu
Dependencies
@radix-ui/react-dropdown-menuclsxlucide-reactmotionreacttailwind-merge
Usage
"use client";
import { DropdownMenu as DropdownMenu } from "@/components/motion/dropdown-menu";
export function Example() {
return (
<div className="p-6">
<DropdownMenu />
</div>
);
}