Multi Mega Menu Navbar

About this block

Multi Mega Menu NavbarPRO

Navbar where multiple items each open their own mega panel — three eyebrow-titled columns of described links with a view-all footer strip.

Light navbar where more than one top-level item can carry its own mega panel: any items entry with a non-empty columns array becomes a hover/click trigger, while entries without columns render as plain links. Each panel lists eyebrow-titled columns of described links and an optional "view all" footer strip with an arrow.

Upgrade to Pro

Pro blocks install through the shadcn CLI with your license key and ship their full source. Docs and live previews stay open to everyone, so you can read every block's details first.

Upgrade Now

Installation

Swap YOUR_EMAIL and YOUR_KEY for the email and license key on your account. Find your license key on your account page.

Radix flavor

bash
npx shadcn add "https://ui.beste.co/r/navbar54?email=YOUR_EMAIL&license_key=YOUR_KEY"

Base UI flavor

bash
npx shadcn add "https://ui.beste.co/r-base/navbar54?email=YOUR_EMAIL&license_key=YOUR_KEY"

This installs the block to components/beste/block/navbar54.tsx and the button1 component it uses for the CTA.

Quick start

The installed file exports navbar54Demo alongside the block: the exact props behind the preview above. Spread it to get a working navbar in one line.

tsx
import { Navbar54, navbar54Demo } from "@/components/beste/block/navbar54";

export default function Layout() {
  return <Navbar54 {...navbar54Demo} />;
}

Then replace the demo with your own props. Written out, a trimmed setup looks like this:

tsx
import { Navbar54 } from "@/components/beste/block/navbar54";

export default function Layout() {
  return (
    <Navbar54
      brand="Polaris"
      items={[
        { label: "Work", href: "/work" },
        {
          label: "Services",
          href: "/services",
          footerLabel: "Explore all services",
          footerHref: "/services",
          columns: [
            {
              title: "Design",
              links: [
                { label: "Brand Identity", description: "Naming and systems", href: "/services/brand" },
              ],
            },
            {
              title: "Build",
              links: [
                { label: "Web Engineering", description: "Fast front-ends", href: "/services/web" },
              ],
            },
          ],
        },
        { label: "Journal", href: "/journal" },
      ]}
      cta={{ label: "Start a Project", href: "/contact" }}
    />
  );
}

Props

PropTypeDefaultDescription
brandstringWordmark text next to the leading square accent; hidden entirely when omitted
itemsNavItem[][]Top-level nav entries; any entry with a non-empty columns array becomes a mega trigger instead of a plain link
ctaCtaLinkPrimary button, rendered via button1; hidden when omitted
classNamestringExtra classes for the outer <header>
ts
type NavItem = {
  label: string;
  href: string;
  columns?: MegaColumn[];
  footerLabel?: string;
  footerHref?: string;
};

type MegaColumn = { title: string; links: SubLink[] };
type SubLink = { label: string; description?: string; href: string };
type CtaLink = { label: string; href: string };

Behavior notes

  • Each item's panel opens on onMouseEnter over its trigger and toggles on click; moving the mouse off the whole header closes whichever panel is open, tracked by a single activeIndex state.
  • Every mega panel is always mounted in the DOM and hidden purely with visibility/opacity/translate classes, so panels are SSR-present rather than conditionally rendered — only one is visible at a time via activeIndex.
  • An item's footer strip (arrow link) only renders when both footerLabel and footerHref are set on that item.
  • Below the lg breakpoint the desktop items and hamburger swap in; the mobile panel flattens each item's columns links into a bordered sublist directly under that item's own link.

More Navigation blocks

View all Navigation
PRO

navbar47

Mega Menu Navbar

Studio navbar whose Work item opens a full-width mega panel with category links and three featured project thumbnails.

PRO

navbar60

Mega Studio Navbar

Full mega-menu navbar — bold links open three-column panels with parenthetical section labels, descriptions and a footer link. SSR-mounted panels, pill CTA and a stacked mobile menu.

PRO

navbar19

Mega Menu Navbar

Full-width mega menu navbar with multi-column product dropdowns, icon-enhanced links, and promotional cards. Perfect for SaaS products and enterprise sites with extensive feature offerings.

PRO

navbar53

Dark Mega Menu Navbar

Dark studio navbar whose Services item opens a mega panel with three eyebrow-titled link columns and a bordered booking card with a seal CTA.

PRO

navbar81

Columns Mega Navbar

A sticky frosted navbar with two mega items, each dropping a full-width panel of three small-caps link groups in serif type beside a soft featured card with a photograph, an eyebrow and a lifting arrow link. Every panel stays in the markup and is shown with CSS; a light mobile menu groups the same links.

PRO

navbar66

Featured Mega Navbar

Mega-menu navbar whose panels lead with a featured project — a full-color image card with a parenthetical category beside a ruled link list. SSR-mounted panels and a stacked mobile menu.