The menu button has a small pearl rivet. Open it and the links swing out as plates, one after another, clicking into place with a slight overshoot. Hover a plate and it slides out along its length. Pick one and the plates fold home and draw back into the button, the chosen one last.
npx shadcn@latest add https://clickworks.dev/r/multitool-menu.jsonThe files land in components/clickworks/multitool-menu/. No other packages are added.
import { MultitoolMenu } from "@/components/clickworks/multitool-menu/react/MultitoolMenu"
export function Nav() {
return (
<MultitoolMenu
items={[
{ label: "Work", href: "/work" },
{ label: "Services", href: "/services" },
{ label: "About", href: "/about" },
{ label: "Journal", href: "/journal" },
{ label: "Contact", href: "/contact" },
]}
/>
)
}The links, in order. Five reads best.
Button text.
Default "Menu"
White plates with a pearl rim, dark plates, or frosted plates for use over photos.
Default "pearl"
Picks the pearl finish in light and the ink finish in dark. Auto follows the page, then the device.
Which way the plates fan out. Left suits a button on the right of the nav.
Default "left"
Plate length in px from the rivet. Shortens itself on narrow screens.
Default 252
Plate height in px.
Default 38
Angle of the first plate, in degrees below the button line.
Default 12
Degrees between plates.
Default 12
Controlled open state. Leave it out and the menu manages itself.
A link was picked. Return false to stop navigation, for client-side routing. The menu closes either way.
The menu opened or closed.
Set these custom properties on the component or any parent. Every shade and shadow is mixed from them, so any palette still looks lit.