Masthead Navigation With Mega PanelPRO

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.

A publication masthead where one section link opens a full width panel, split by hairlines into the newest issue and two indexed columns. The panel is always in the markup and revealed with CSS, so its links are readable without JavaScript.

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

Base UI flavor

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

This installs the block to components/beste/block/navbar75.tsx and the button1 component it uses for the subscribe pill (installed to components/beste/component/button1.tsx).

Quick start

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

tsx
import { Navbar75, navbar75Demo } from "@/components/beste/block/navbar75";

export default function Layout({ children }: { children: React.ReactNode }) {
  return (
    <>
      <Navbar75 {...navbar75Demo} />
      {children}
    </>
  );
}

Then replace the demo with your own props. Only the link that should open a panel carries mega:

tsx
import { Navbar75 } from "@/components/beste/block/navbar75";

export default function SiteHeader() {
  return (
    <Navbar75
      wordmark="Polaris"
      links={[
        {
          label: "Writing",
          href: "/writing",
          mega: {
            feature: {
              image: { src: "/issues/042.jpg", alt: "Issue 042" },
              meta: "Issue 042 · out this morning",
              title: "The quote we lost on purpose",
              href: "/letters/042",
            },
            columns: [
              {
                title: "By format",
                links: [
                  { label: "Essays", description: "86 published", href: "/essays" },
                  { label: "Templates", description: "14 published", href: "/templates" },
                ],
              },
            ],
            footnote: "186 pieces published since 2023.",
          },
        },
        { label: "Archive", href: "/archive" },
      ]}
      button={{ label: "Subscribe", href: "/subscribe" }}
    />
  );
}

Props

PropTypeDefaultDescription
wordmarkstringPublication name at the left of the row
linksNavLink[][]Section links, any one of which may carry a mega panel
buttonActionButtonSeal button at the right, rendered through Button1
classNamestringExtra classes for the outer header
ts
type NavLink = {
  label: string;
  href: string;
  mega?: MegaMenu;
};

type MegaMenu = {
  feature?: MegaFeature;
  columns?: MegaColumn[];
  footnote?: string;
};

type MegaFeature = {
  image: { src: string; alt: string };
  meta: string;
  title: string;
  href: string;
};

type MegaColumn = {
  title: string;
  links: MegaLink[];
};

type MegaLink = {
  label: string;
  description?: string;
  href: string;
};

type ActionButton = {
  label: string;
  href: string;
};

Behavior notes

More Navigation blocks

View all Navigation
PRO

navbar55

Editorial Mega Menu Navbar

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.

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

navbar47

Mega Menu Navbar

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

PRO

navbar48

Masthead Navbar

Print-inspired masthead navbar with a giant centered wordmark flanked by studio meta and contact, over a ruled row of spread-out links with an inline seal CTA.

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.