Mega Menu
A wide panel dropping from the header with several columns of links, as on big store sites.
<nav> + disclosure buttonsWhen to use it
For sites with many sections and subsections.
Common mistake
Don’t open it on hover alone; it triggers by accident.
Accessibility
Open on click or Enter, not hover alone, and close on Esc.
Name in code
| HTML/CSS | <nav> + disclosure buttons |
|---|---|
| React | <NavigationMenu> |
| Jetpack Compose | n/a (web pattern) |
| SwiftUI | n/a (web pattern) |
Ready prompt for your coding agent
Add a Mega Menu to this screen.
What it is: A wide panel dropping from the header with several columns of links, as on big store sites.
Implement with: <nav> + disclosure buttons (HTML/CSS).
Accessibility: Open on click or Enter, not hover alone, and close on Esc.
When to use it: For sites with many sections and subsections.
Avoid: Don’t open it on hover alone; it triggers by accident.
Reuse the project's existing design tokens, spacing and component conventions.
Or compose a whole page from this element and others →
Prompts are in English for the most precise results with coding agents.