Photo Mega Navbar

About this block

Photo Mega NavbarPRO

A sticky frosted navbar whose first item opens a full-width panel: a ruled list of serif services on the left that brightens and slides an arrow in on hover while the photograph on the right blurs to the matching room, plus plain links, a sliding-marker pill and a light mobile menu. The panel is always in the markup and shown with CSS.

A sticky frosted navbar whose first item opens a full-width panel: a ruled list of serif services on the left brightens and slides an arrow in on hover while the photograph on the right blurs to the matching room, plus plain links, a pill and a light mobile menu.

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

Base UI flavor

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

This installs the block to components/beste/block/navbar80.tsx plus the button22 sliding-marker pill it uses.

Quick start

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

tsx
import { Navbar80, navbar80Demo } from "@/components/beste/block/navbar80";

export default function Page() {
  return <Navbar80 {...navbar80Demo} />;
}

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

tsx
import { Navbar80 } from "@/components/beste/block/navbar80";

export default function Page() {
  return (
    <Navbar80
      brand="Altair"
      mega={{
        label: "Ways we work",
        href: "/work",
        entries: [
          {
            title: "Individual therapy",
            description: "Weekly, with one steady person.",
            meta: "60 or 75 minutes",
            href: "/therapy",
            image: { src: "/rooms/bench.jpg", alt: "A sunlit room with a low timber bench" },
          },
        ],
      }}
      items={[{ label: "Fees", href: "/pricing" }]}
      button={{ label: "First call", href: "/call" }}
      labels={{ open: "Open menu", close: "Close menu" }}
    />
  );
}

Props

PropTypeDefaultDescription
brandstringWordmark on the left
megaMegaThe one item that opens the photo panel
itemsNavItem[][]Plain links beside it
buttonActionButtonPill action, repeated at the foot of the mobile menu
labels{ open?: string; close?: string }{}Accessible names for the menu toggle
classNamestringExtra classes for the outer <header>
ts
type Mega = {
  label: string;
  href: string;
  entries: MegaEntry[];
};

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

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

type ActionButton = {
  label: string;
  href: string;
  tone?: "primary" | "light" | "dark" | "outline";
};

Behavior notes

  • The panel is always in the markup and shown with CSS (visible/invisible plus opacity and a small translate), never mounted on open, so every service link is in the server-rendered HTML for crawlers and for a reader whose JavaScript has not arrived.
  • The preview swaps on onMouseEnter and onFocus together, so tabbing through the list changes the photograph exactly as hovering does.
  • That photograph is keyed on the active index inside AnimatePresence, so the outgoing image blurs out under the incoming one rather than snapping.
  • The arrow at the end of each row animates on opacity and translate rather than being mounted and unmounted, so the row's width does not change as the selection moves.
  • Escape closes both the panel and the mobile menu, and moving the pointer off the whole header closes the panel, so it never stays open behind the page.
  • Hovering any plain link closes the panel, so moving along the bar past the mega item does not leave it hanging open.
  • Only the panel is md:block; on a phone the same entries appear as serif links in the mobile menu, with the descriptions and previews dropped.

More Navigation blocks

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

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

navbar82

Full Screen Menu Navbar

A minimal bar with a wordmark, a sliding-marker pill and a two-line menu toggle that turns into a cross, opening a full-screen ink menu with film grain: numbered oversized serif links settle in one after another on the left, the photograph and description on the right blur to whichever link is hovered, and a ruled foot carries contact details, social links and the pill. The menu is always in the markup and shown with CSS.

PRO

navbar79

Announcement Navbar

A sticky navbar topped by a thin ink announcement bar with a small-caps link, then a frosted bar with the serif wordmark, uppercase links that underline from the left on hover, a sliding-marker pill, and a light full-height mobile menu whose links settle in one after another.

PRO

navbar77

Centred Wordmark Navbar

A sticky, frosted navbar with the serif wordmark in the centre, uppercase letter-spaced links split to either side that underline from the left on hover, a small sliding-marker pill, and a full-height light mobile menu whose links settle in one after another.

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.