Morph Menu

A hamburger that morphs into a cross, opening a panel of rising links.

no dependenciesMIT · free
ombak

Installation

npx shadcn@latest add https://ombakui.com/r/morph-menu.json

Usage

import { MorphMenu } from "@/components/morph-menu";

<MorphMenu links={[{ label: "Work", href: "/work" }, { label: "Contact", href: "/contact" }]} />

Props

PropTypeDefaultDescription
links*MorphMenuLink[]–Links shown in the menu.
align"left" | "right""right"Panel position relative to the button.
classNamestring–