Mega Menu

Large navigation menus, mega-menu design, and complex navigation patterns.

dragoon0x d820578 941 B Updated

File contents

Mega Menu Design

When to Use

  • 20+ navigation items that can't fit in a simple nav bar
  • E-commerce with many categories
  • Enterprise apps with many feature areas

Design

  • Full-width or large dropdown panel
  • Organized in columns by category
  • Category headers as section labels
  • Max 3-4 columns
  • Featured content or promotions on the right (optional)
  • Close on click outside or Escape

Interaction

  • Desktop: hover to open (with 200ms delay to prevent accidental triggers)
  • Mobile: convert to accordion or drill-down navigation
  • Diagonal tolerance: allow mouse to move diagonally toward submenu

Rules

  1. Keep items scannable (short labels, clear hierarchy)
  2. Don't put everything in the mega menu
  3. Highlight current section
  4. Keyboard navigable (arrow keys, Enter, Escape)
  5. Test with screen readers

dragoon0x/everything-design-taste/tree/main/skills/mega-menu commit d820578530

Frequently asked questions

npx skillmds@latest add dragoon0x/mega-menu