Displays a menu to the user—such as a set of actions or functions—triggered by a button.
Preview
Usage Guide
1. Import the Component
Import the component into your React or Next.js page:
import { DropdownMenu } from "@/components/ui/dropdown-menu";
2. Implementation Example
Render the component and customize its behavior by passing props:
import { DropdownMenu } from "@/components/ui/dropdown-menu";
export default function Example() {
return (
<div className="w-full flex items-center justify-center p-8">
<DropdownMenu
>
<div>Content goes here</div>
</DropdownMenu>
</div>
);
}