Gooey Menu

A tactile liquid dropdown menu with organic SVG metaball fusion filter and spring-driven extrusion animation.

Installation

Add the component directly to your repository using shadcn CLI:

npx shadcn@latest add Surajmaurya1/easyui/gooey-menu

API Reference

PropTypeDefaultDescription
optionsstring[]['Home', 'About', 'Projects', 'Contact', 'Book a call', 'Follow us']Array of option labels
valuestringundefinedControlled active selected option
defaultValuestringoptions[0]Default selected option if uncontrolled
openbooleanundefinedControlled open dropdown state
defaultOpenbooleanfalseInitial open dropdown state if uncontrolled
onOpenChange(open: boolean) => voidundefinedCallback fired when open state changes
onSelect(option: string, index: number) => voidundefinedCallback fired on option selection
widthnumber306Pixel width of the menu pill and container
classNamestringundefinedCustom CSS class overrides