Navbar where multiple items each open their own mega panel — three eyebrow-titled columns of described links with a view-all footer strip.
Light navbar where more than one top-level item can carry its own mega panel: any items entry with a non-empty columns array becomes a hover/click trigger, while entries without columns render as plain links. Each panel lists eyebrow-titled columns of described links and an optional "view all" footer strip with an arrow.
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/navbar54?email=YOUR_EMAIL&license_key=YOUR_KEY"Base UI flavor
npx shadcn add "https://ui.beste.co/r-base/navbar54?email=YOUR_EMAIL&license_key=YOUR_KEY"This installs the block to components/beste/block/navbar54.tsx and the button1 component it uses for the CTA.
The installed file exports navbar54Demo alongside the block: the exact props behind the preview above. Spread it to get a working navbar in one line.
import { Navbar54, navbar54Demo } from "@/components/beste/block/navbar54";
export default function Layout() {
return <Navbar54 {...navbar54Demo} />;
}Then replace the demo with your own props. Written out, a trimmed setup looks like this:
import { Navbar54 } from "@/components/beste/block/navbar54";
export default function Layout() {
return (
<Navbar54
brand="Polaris"
items={[
{ label: "Work", href: "/work" },
{
label: "Services",
href: "/services",
footerLabel: "Explore all services",
footerHref: "/services",
columns: [
{
title: "Design",
links: [
{ label: "Brand Identity", description: "Naming and systems", href: "/services/brand" },
],
},
{
title: "Build",
links: [
{ label: "Web Engineering", description: "Fast front-ends", href: "/services/web" },
],
},
],
},
{ label: "Journal", href: "/journal" },
]}
cta={{ label: "Start a Project", href: "/contact" }}
/>
);
}| Prop | Type | Default | Description |
|---|---|---|---|
brand | string | – | Wordmark text next to the leading square accent; hidden entirely when omitted |
items | NavItem[] | [] | Top-level nav entries; any entry with a non-empty columns array becomes a mega trigger instead of a plain link |
cta | CtaLink | – | Primary button, rendered via button1; hidden when omitted |
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 };
type CtaLink = { label: string; href: string };onMouseEnter over its trigger and toggles on click; moving the mouse off the whole header closes whichever panel is open, tracked by a single activeIndex state.visibility/opacity/translate classes, so panels are SSR-present rather than conditionally rendered — only one is visible at a time via activeIndex.footerLabel and footerHref are set on that item.lg breakpoint the desktop items and hamburger swap in; the mobile panel flattens each item's columns links into a bordered sublist directly under that item's own link.navbar47
Studio navbar whose Work item opens a full-width mega panel with category links and three featured project thumbnails.
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.
navbar60
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.
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.
navbar55
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.