Navigation
Mega Menu Morph
A top icon bar of three items shares one dropdown panel that slides, resizes and moves its notch to each item; hover, tap or arrow keys open it.
csslight complexitymoderate motionpointer+keyboardaccessible
Open on the canvas to copy the code → Free account · 3 copies a day · membership goes unlimited
1
When to use it
Working with an AI agent
Every component ships agent-ready metadata. An example instruction for this one:
Keep the single shared panel, the measured left, width and height transitions, and the notch. Safe to change item icons and names in ICONS, row labels and widths in DATA.
Safe to edit
- tokens
- labels
- menu data
Keep intact
- demo-v1 idle demo and takeover
- theme hook
- reduced-motion and visibilitychange guards
- nx07- prefix
More Navigation components
- Magnify DockmacOS-style frosted-glass dock of six gradient tiles that scale up and lift toward the cursor; idle sweep that stops at first deliberate input keeps it…
- Hamburger MorphThree-line hamburger button spring-morphs into a glowing teal X on click; button border gains teal glow when open. Auto-cycles as demo.
- Radial Fan MenuA core button rotates to an X and fans five glowing stone-toned icon petals outward in a staggered spring arc; auto-cycles open/close as a demo.
- Slide-in DrawerHamburger icon morphs to an X while a side panel slides in over a dark scrim, revealing four nav items with staggered fade-in animations.
- Underline FollowA flat saffron underline slides and resizes to follow hovered nav links; wanders until first deliberate input across links when unhovered.
- Sliding PillA 3-segment Day/Week/Month toggle where a raised cobalt-glaze thumb with contact and ambient shadows slides between options with a spring bounce in a…