Editorial Mega Menu Navbar

About this block

Editorial Mega Menu NavbarPRO

Navbar with an editorial split mega panel — eyebrow statement and seal CTA on the left, a numbered two-column project index in the middle and a tall studio image on the right.

Light navbar whose single "Work" item opens an editorial, three-column split panel: an eyebrow badge and statement heading with a closing CTA on the left, a numbered two-column index of project links in the middle, and a tall studio photograph on the right at wider breakpoints.

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/navbar55?email=YOUR_EMAIL&license_key=YOUR_KEY"

Base UI flavor

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

This installs the block to components/beste/block/navbar55.tsx, the button1 and badge6 components it uses for the CTAs and the panel's eyebrow badge.

Quick start

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

tsx
import { Navbar55, navbar55Demo } from "@/components/beste/block/navbar55";

export default function Layout() {
  return <Navbar55 {...navbar55Demo} />;
}

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

tsx
import { Navbar55 } from "@/components/beste/block/navbar55";

export default function Layout() {
  return (
    <Navbar55
      brand="Polaris"
      megaMenu={{
        label: "Work",
        eyebrow: "Selected Work",
        heading: "Nine years of brands worth remembering.",
        cta: { label: "All Projects", href: "/work" },
        links: [
          { label: "Lumen Rebrand", href: "/work/lumen" },
          { label: "Verdant App", href: "/work/verdant" },
        ],
        image: { src: "/studio.jpg", alt: "Polaris studio workspace" },
      }}
      links={[
        { label: "Studio", href: "/studio" },
        { 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
megaMenuMegaMenuMega trigger and editorial panel content; hidden entirely when omitted
linksNavLink[][]Plain nav links rendered after the mega trigger
ctaCtaLinkPrimary button, rendered via button1; hidden when omitted
classNamestringExtra classes for the outer <header>
ts
type NavLink = { label: string; href: string };

type MegaMenu = {
  label: string;
  eyebrow: string;
  heading: string;
  cta: { label: string; href: string };
  links: NavLink[];
  image?: { src: string; alt: string };
};

Behavior notes

  • The mega trigger opens on onMouseEnter and also toggles on click; moving off the whole <header> closes it via onMouseLeave.
  • The panel is always mounted and hidden through visibility/opacity/translate transition classes rather than being conditionally rendered, matching the SSR-mounted mega pattern used across this set.
  • The project index numbers links 01, 02, … in source order via String(index + 1).padStart(2, "0"); it is not a links.length dependent prop.
  • The studio image only renders at the xl breakpoint and above; it stays hidden on smaller desktop widths even when the mega panel is open.
  • Below lg, the mobile panel shows the mega menu's cta.href as a large heading-style link followed by its links list, then the plain links, then the full-width cta button.

More Navigation blocks

View all Navigation
PRO

navbar54

Multi Mega Menu Navbar

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

PRO

navbar59

Studio Bar Navbar

Editorial single-row navbar — bold wordmark, quiet bold links, and an outline pill CTA. Collapses to a clean full-height mobile menu.

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

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

navbar41

Editorial Studio Navbar

Two-tier studio navbar with an availability utility strip, square-mark wordmark, index-numbered links and a seal CTA.

PRO

navbar75

Masthead Navigation With Mega Panel

A publication masthead whose first section opens a full width panel split by hairlines into the newest issue and two indexed columns, always in the markup and revealed with CSS.