About this set
A product header whose Products item opens a full-width mega menu: three labelled columns of links (Build, Ship and Learn), each link with a bold name and a short description, and a purple gradient promo card on the right. The other items, Pricing, Customers and Docs, are plain links with a purple underline on hover and on the current page, and a dark Get started button closes the row. The panel is positioned against the header, so it spans the full width whatever the width of the Products link. With a mouse it opens on hover; it is also a button that opens on click or Enter and closes on Esc, an outside click or when focus moves away. Below 992px the navigation folds behind a menu button, and the mega menu becomes a single stacked column inside that panel, promo card last. Use it for component libraries, SaaS suites and any site with more than a dozen destinations to group. The Bootstrap version uses a .position-static .dropdown so its .dropdown-menu stretches across the .navbar.
What’s included
- Full-width panel with three labelled link columns and a promo card
- Hover to preview, click or Enter to open, Esc to close
- Column titles label their lists with aria-labelledby
- Stacks into one column inside the phone menu
- Purple underline marks hover and the current page
Accessibility
Links are in a nav labelled Main, with aria-current="page" on Customers. Products and the menu button are buttons with aria-expanded and aria-controls; Esc closes the open one and puts focus back on it, and tabbing out of the mega menu closes it. Each column list is labelled by its title, grey text was darkened to reach 4.5:1, and transitions stop under prefers-reduced-motion.
Customise it
Change --hm-accent, --hm-ink, --hm-muted and --hm-line on .hm, and the grid-template-columns of .mega for a different column count. In Bootstrap the same variables sit beside the --bs-navbar-* and --bs-dropdown-* ones; in Tailwind edit the --color-hm-* theme colours and the grid-cols utility on the panel.



















