Menu that drops from the top
A panel drops down and the columns come in one by one.
UniversalUsed in production
Install
npx finepieces add drop-menuOr with the shadcn CLI ›
npx shadcn@latest add https://finepieces.net/r/drop-menu.jsonClick Menu
example.tsx
import { DropMenu } from "@/components/fine-pieces/drop-menu";
export default function Example() {
return (
<DropMenu
brand="Studio Nord"
columns={[
{ title: "Work", links: ["Homes", "Interiors", "Offices", "All"].map((label) => ({ label, href: "#" })) },
{ title: "Studio", links: ["About", "Process", "Careers"].map((label) => ({ label, href: "#" })) },
{ title: "Contact", links: ["hello@studionord.com", "+31 20 123 45 67", "Instagram"].map((label) => ({ label, href: "#" })) },
]}
image={"/images/interieur-1.webp"}
>
<img src={"/images/architectuur-2.webp"} alt="" className="absolute inset-0 h-full w-full object-cover opacity-55" />
</DropMenu>
);
}