---
title: "Navbar with mega menu"
description: "A site header whose sections open wide panels of linked pages in columns, with a Sheet on phones."
plan: Pro
docs: https://ui.edbn.me/docs/blocks/navbar-with-mega-menu
---

# Navbar with mega menu

A site header whose sections open wide panels of linked pages in columns, with a Sheet on phones.

Product, Solutions and Resources open one panel that glides and resizes between them; each page is a title over one line about it, grouped in columns. Arrow keys move along the bar, Enter opens a panel and Esc closes it back to its trigger. Below 1024px the bar folds into a Sheet where each section is a row that expands in place.

A Pro block built on Base UI and Tailwind CSS v4.

## Installation

This is a Pro item. Once per project, create a token at https://ui.edbn.me/dashboard/tokens, put it in `.env.local` as `EDBN_TOKEN`, and add the registry to `components.json`:

```json
{
  "registries": {
    "@edbn": {
      "url": "https://ui.edbn.me/r/{name}.json",
      "headers": { "Authorization": "Bearer ${EDBN_TOKEN}" }
    }
  }
}
```

Then install:

```bash
npx shadcn@4.19.0 add @edbn/navbar-with-mega-menu
```

## Dependencies
- npm: lucide-react@^1.33.0
- edbn: edbn-base, button, collapsible, navigation-menu, sheet

## Source

The source is part of Pro (https://ui.edbn.me/pricing). The install above adds it to the project, ready to edit.

## More navbars blocks

All 3, with install commands: https://ui.edbn.me/docs/blocks/navbars · https://ui.edbn.me/docs/blocks/navbars.md

## For agents
- Base theme, once per project: npx shadcn@4.19.0 add https://ui.edbn.me/r/edbn-base.json
- MCP server with search, items, examples and source: https://ui.edbn.me/mcp
- Every page and item: https://ui.edbn.me/llms.txt
