WEB DESIGN TRENDS / 19 OF 20
Contextual Mega-Menu
A mega-menu can change its featured links and supporting content when a visitor selects a category. The source example uses four groups—layout, motion, visual aesthetics, and performance.
DESCRIPTION & USE
How the trend works
A mega-menu can change its featured links and supporting content when a visitor selects a category. The source example uses four groups—layout, motion, visual aesthetics, and performance.
Where to use it
Use a contextual menu for a large information architecture with clear categories. Keep it keyboard-operable, easy to dismiss, and compact enough to work on mobile.
Bootstrap's navbar, dropdown, collapse, and grid utilities provide useful navigation primitives. The dynamic category panel and desktop positioning need application logic and custom CSS.
Useful classes.navbar, .nav, .nav-link, .dropdown-menu, .dropdown-item, .collapse, .row, .col-*FROM THE ATTACHED HTML
The original example
Layout & structure
A PRACTICAL EXTENSION
One more way to use it
On small screens, turn the mega-panel into a normal collapsible list rather than forcing a wide flyout.