A full-width dropdown menu panel used for top-level site navigation. The panel automatically positions itself beneath the trigger and spans the full width of the screen.
Unlock it plus 89 pro blocks, widgets & layouts — $99 one-time. Lifetime updates, 14-day money-back guarantee.
Wrap your trigger element with [mega-menu-trigger] inside the <base-mega-menu> component.
You can embed any content inside a Mega Menu, including images, cards, and promotional banners.
Run the following command to add this component to your project:
npx base-ui-cli add mega-menu
For AI agents
Copy a prompt with the registry name, CLI install, and import — or add the Base UI MCP server.
npx -y base-ui-mcp
Base UI provides standalone components. Import the exact elements you want to use into your component.
// Install: npx base-ui-cli add mega-menu
// Paths are relative to aliases.components (default: src/app/components)
import { MegaMenuComponent } from './mega-menu/mega-menu.component';
@Component({
selector: 'app-your-component',
imports: [
MegaMenuComponent
],
template: `...`
})
export class YourComponent {} API for mega-menu — generated from JSDoc in the library source.
| API | Member | Type | Default | Description |
|---|---|---|---|---|
base-mega-menu | class | string | '' | Additional host CSS classes (merged via cn()). |
base-mega-menu | menuLabel | unknown | 'Mega menu' | — |
Content