Gooey Menu Free React component
One round button that, when tapped, oozes its menu items out in a sticky, liquid blob, then pulls them back in. Built with Motion and an SVG goo filter.
Original component by Watermelon UI · MIT licence
Get the code
npx shadcn@latest add https://registry.watermelon.sh/r/gooey-menu.jsonInstalls from the Watermelon UI registry through the shadcn CLI. Needs Tailwind CSS and the motion package, which the command adds for you.
import { GooeyMenu } from '../gooey-menu';
const data = [
{
key: 'title',
label: 'Next.js',
value: 'v13.4.8',
labelClass: 'text-sm font-medium text-neutral-500',
valueClass: 'text-sm text-neutral-500',
},
{
key: 'errors',
label: 'Errors',
value: '20',
labelClass: 'text-sm font-medium',
valueClass:
'text-sm flex items-center justify-center rounded-full border border-[#EB5757]/10 bg-[#EB5757]/15 p-1 px-2 font-mono text-red-500 bg-red-500/20',
},
{
key: 'route',
label: 'Route',
value: 'Static',
labelClass: 'text-sm font-medium',
valueClass: 'text-sm text-[#a09f9f]',
},
];
export default function GooeyMenuDemo() {
return <GooeyMenu data={data} />;
}
Paste this into Claude, ChatGPT, Cursor, Lovable or v0 to build it from scratch.
Build a React component called "Gooey Menu" with Tailwind CSS and Motion (motion/react). One round button that, when tapped, oozes its menu items out in a sticky, liquid blob, then pulls them back in. Built with Motion and an SVG goo filter. Use spring transitions, keep it accessible with keyboard focus and aria labels, respect prefers-reduced-motion, and make it work on touch screens. Export it as a single .tsx file with sensible default props so it renders a complete demo on its own.How the gooey menu works
One round button that, when tapped, oozes its menu items out in a sticky, liquid blob, then pulls them back in. Built with Motion and an SVG goo filter. The component is a single TypeScript file built with React, Tailwind CSS and Motion, so the animation runs on springs and shared layouts instead of hand-written keyframes.
It comes from Watermelon UI, an open-source component library released under the MIT licence. Install it with the shadcn command above, or copy the source from the code tab into your project.
Frequently asked questions
Want motion like this on your website?
We design and build custom websites with motion, 3D and SEO built in. Websites from $500.