Promo Mega Navbar

Airy navbar with one mega item and two plain links — its panel pairs grouped link columns with a featured promo card. A primary pill CTA plus an expanding search field that swaps in over the actions. Closes on outside click or Escape.

PRO

Airy navbar with one mega-menu item and plain links either side; its panel pairs badge-labeled link columns with a featured promo card (heading, link and square image). The header also carries a primary pill CTA plus a search trigger that, on click, swaps the CTA/search icon pair out (kept mounted but invisible so the layout never shifts) for an absolutely positioned expanding search field anchored to the right edge, which auto-focuses itself and closes on outside click or Escape.

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.

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

Base UI flavor

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

This installs the block to components/beste/block/navbar69.tsx, the badge7 and button12 components it uses for the panel's group titles and the CTA pill, and its dependencies.

Quick start

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

tsx
import { Navbar69, navbar69Demo } from "@/components/beste/block/navbar69";

export default function Layout() {
  return <Navbar69 {...navbar69Demo} />;
}

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

tsx
import { Navbar69 } from "@/components/beste/block/navbar69";

export default function Layout() {
  return (
    <Navbar69
      brand="Auralis"
      items={[
        { label: "How we work", href: "/how-we-work" },
        {
          label: "What we make",
          href: "/services",
          panel: {
            groups: [
              {
                title: "Disciplines",
                links: [
                  { label: "Brand foundations", href: "/services/brand" },
                  { label: "Interfaces & UI", href: "/services/ui" },
                ],
              },
            ],
            featured: {
              heading: "Two seats left in our spring cohort.",
              linkLabel: "See what's involved",
              href: "/cohort",
              image: { src: "/cohort.jpg", alt: "Designer reviewing brand boards" },
            },
          },
        },
      ]}
      button={{ label: "See if we fit", href: "/contact" }}
      searchPlaceholder="Find work, notes or people…"
    />
  );
}

Props

PropTypeDefaultDescription
brandstringWordmark text, linked home
itemsNavItem[][]Top-level nav entries; entries with a panel open the mega menu, others behave as plain links
button{ label: string; href: string }Primary pill CTA rendered with button12
searchPlaceholderstringPlaceholder text for both the desktop overlay and mobile search inputs
classNamestringExtra classes for the outer <header>
ts
type NavItem = { label: string; href: string; panel?: MegaPanel };

type MegaPanel = {
  groups: LinkGroup[];
  featured: Featured;
};

type LinkGroup = { title: string; links: NavLink[] };

type Featured = {
  heading: string;
  linkLabel: string;
  href: string;
  image: { src: string; alt: string };
};

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

Behavior notes

Wiring the form up

This block ships the form markup only; state, validation, and submit are yours to add. Our guide wires the shadcn Field primitives to React Hook Form, TanStack Form, and Formisch on one field system.

More Navigation blocks

View all Navigation
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

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

navbar61

Use-Case Mega Navbar

Navbar with a marked wordmark and a pill-highlighted trigger that drops a floating rounded mega panel — a parenthetical label over a 3x2 grid of icon use-case cards. Sign-in pill plus a primary CTA.

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

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

navbar70

Dark Three-Column Mega Navbar

Inverted bg-foreground navbar with a three-column mega panel — an intro pitch, a numbered index list and a full-color featured image tile, divided by hairline rules. Outline pill CTAs throughout. Closes on outside click or Escape.