Mega menu morph

Pro

Top navigation with one shared dropdown panel that springs to each trigger's size and position while content slides in the direction you moved, with safe-triangle hover intent and an accordion sheet on mobile.

A recording of the component itself. With Pro you get its full source and it runs in your app.

What you get

  • One panel morphs size, position and caret
  • Content slides in the direction of travel
  • Safe-triangle intent: diagonal moves never switch menus
  • Arrows, Tab and Escape with focus returned to the trigger
  • One TypeScript file in your project, yours to edit. No runtime package.
  • Keyboard, screen reader and reduced motion support; light and dark; your shadcn theme.

Install

npx shadcn@latest add @goodui-pro/mega-menu-morph

Needs a Pro license key in your registry config: two-minute setup. The file lands in components/goodui/mega-menu-morph.tsx.

More Pro components

Dynamic island

A black pill that hosts live activities and springs between shapes: compact, split with a bubble, and an expanded panel for a timer, music with a waveform, a call or a toast.

Pro

Gooey nav

Liquid navigation: the active blob stretches with its speed and trails a neck that thins and snaps, and menu items pinch off the main button through an SVG metaball filter.

Pro

Radial menu

A pie menu under the pointer: press, drag toward a slice and release. Slices swell as the pointer nears, and submenus fan out of their slice as a second ring.

Pro