Guides / Navigation

Mega Menu / Hover Dropdown

Mega menu: hover a nav item and a wide multi-column panel opens below with grouped links, images or featured picks. Add a small close delay so diagonal mouse movement doesn't dismiss it, and switch to tap-to-open on touch devices.

Live demo

LOGO

Implementation prompts

Standard

Navbar mega menu: hovering or keyboard-focusing 'Products' opens a full-width panel with 3 columns of grouped links plus one featured card; 150ms close delay and a hover bridge so diagonal mouse paths don't close it; opens on tap for touch; Esc closes; use aria-expanded and aria-controls; animate with opacity and translateY(8px) over 200ms.

With motion

Mega menu panel fades and slides down 8px over 200ms, columns stagger in 40ms apart, the nav underline slides to the active item; instant with prefers-reduced-motion.
Design spec entry
### Mega Menu / Hover Dropdown (#mega-menu)

Category: Navigation

Mega menu: hover a nav item and a wide multi-column panel opens below with grouped links, images or featured picks. Add a small close delay so diagonal mouse movement doesn't dismiss it, and switch to tap-to-open on touch devices.

- Do: Navbar mega menu: hovering or keyboard-focusing 'Products' opens a full-width panel with 3 columns of grouped links plus one featured card

- Do: 150ms close delay and a hover bridge so diagonal mouse paths don't close it

- Do: opens on tap for touch

- Do: Esc closes

- Do: use aria-expanded and aria-controls

- Do: animate with opacity and translateY(8px) over 200ms

With motion: Mega menu panel fades and slides down 8px over 200ms, columns stagger in 40ms apart, the nav underline slides to the active item; instant with prefers-reduced-motion.

Live demo: https://uidesignmd.com/guides/mega-menu/