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.
Full mega-menu navbar where bold top-level items expand into three-column panels: each column carries a parenthetical-badge title over a stack of link cards with descriptions, and the panel can end in a footer strip with a single arrow link. The panels are SSR-mounted (always rendered in the markup, toggled with CSS visibility) rather than conditionally mounted, so the full menu content is present in the server HTML.
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.
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
npx shadcn add "https://ui.beste.co/r/navbar60?email=YOUR_EMAIL&license_key=YOUR_KEY"Base UI flavor
npx shadcn add "https://ui.beste.co/r-base/navbar60?email=YOUR_EMAIL&license_key=YOUR_KEY"This installs the block to components/beste/block/navbar60.tsx, the badge7 and button12 components it uses for column labels and its CTA, and its dependencies.
The installed file exports navbar60Demo alongside the block: the exact props behind the preview above. Spread it to get a working navbar in one line.
import { Navbar60, navbar60Demo } from "@/components/beste/block/navbar60";
export default function Layout() {
return <Navbar60 {...navbar60Demo} />;
}Then replace the demo with your own props. Written out, a trimmed setup looks like this:
import { Navbar60 } from "@/components/beste/block/navbar60";
export default function Layout() {
return (
<Navbar60
brand="Northwind"
items={[
{ label: "Work", href: "/work" },
{
label: "Capabilities",
href: "/capabilities",
footerLabel: "See the full practice",
footerHref: "/capabilities",
columns: [
{
title: "Shape",
links: [
{ label: "Brand Systems", description: "Naming and voice", href: "/brand" },
{ label: "Identity Design", description: "Marks and type", href: "/identity" },
],
},
{
title: "Build",
links: [
{ label: "Web Engineering", description: "Fast front-ends", href: "/web" },
],
},
],
},
{ label: "Journal", href: "/journal" },
]}
button={{ label: "Start a project", href: "/contact" }}
/>
);
}| Prop | Type | Default | Description |
|---|---|---|---|
brand | string | – | Wordmark text; omitted entirely when not set |
items | NavItem[] | [] | Top-level nav entries, plain links or mega-menu triggers |
button | { label: string; href: string } | – | Pill CTA next to the items; hidden entirely when not set |
className | string | – | Extra classes for the outer <header> |
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 };An item only opens a mega panel when columns is non-empty; otherwise it renders as a plain link.
columns render as a button: hovering it (onMouseEnter) or clicking it opens its panel; clicking again while open closes it. Hovering a plain link resets activeIndex to null, closing any open panel.invisible/visible plus an opacity/translate transition, rather than conditionally rendered — this is the "SSR-mounted" behavior called out in the block's title/description.Escape, via a document-level listener attached only while a panel is open.absolute inset-x-0) containing a md:grid-cols-3 grid of columns; a column's title is rendered inside a Badge7.footerLabel/footerHref) shown as a single bold link with an arrow icon beneath the column grid.lg) flattens every column's links into one indented list under each item's own link, rather than reproducing the column layout.navbar47
Studio navbar whose Work item opens a full-width mega panel with category links and three featured project thumbnails.
navbar53
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.
navbar66
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.
navbar54
Navbar where multiple items each open their own mega panel — three eyebrow-titled columns of described links with a view-all footer strip.
navbar70
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.
navbar19
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.