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.
Full-width sticky navbar built for SaaS and enterprise sites with deep product catalogs: any nav item can open a multi-column mega menu with icon-led links plus an optional promo card, while plain items behave as simple links. The mega panel is click-toggled (not hover) and closes on an outside click or when a link inside is chosen.
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/navbar19?email=YOUR_EMAIL&license_key=YOUR_KEY"Base UI flavor
npx shadcn add "https://ui.beste.co/r-base/navbar19?email=YOUR_EMAIL&license_key=YOUR_KEY"This installs the block to components/beste/block/navbar19.tsx and the shadcn/ui dependency it needs (button).
The installed file exports navbar19Demo alongside the block: the exact props behind the preview above. Spread it to get a working navbar in one line.
import { Navbar19, navbar19Demo } from "@/components/beste/block/navbar19";
export default function Layout() {
return <Navbar19 {...navbar19Demo} />;
}Then replace the demo with your own props. Written out, a trimmed setup looks like this:
import { Zap } from "lucide-react";
import { Navbar19 } from "@/components/beste/block/navbar19";
export default function Layout() {
return (
<Navbar19
logo={{ text: "Acme", href: "/" }}
navItems={[
{
label: "Products",
hasMegaMenu: true,
megaMenuColumns: [
{
title: "Platform",
links: [
{
icon: Zap,
title: "Analytics",
description: "Track metrics in real time",
href: "/analytics",
},
],
},
],
promoCard: {
title: "New: AI insights",
description: "Try the beta for free.",
linkText: "Learn more",
href: "/ai",
},
},
{ label: "Pricing", href: "/pricing" },
]}
actionButtons={[
{ label: "Log in", variant: "outline", href: "/login" },
{ label: "Get started", href: "/signup" },
]}
/>
);
}| Prop | Type | Default | Description |
|---|---|---|---|
logo | { text: string; href?: string } | – | Brand text and link; falls back to "Logo" / # when omitted |
navItems | NavItem[] | [] | Top-level nav entries, plain links or mega menu triggers |
actionButtons | ActionButton[] | [] | Buttons rendered at the end of the desktop bar and stacked in the mobile menu |
className | string | – | Extra classes for the outer <nav> |
type NavItem = {
label: string;
href?: string;
hasMegaMenu?: boolean;
megaMenuColumns?: MegaMenuColumn[];
promoCard?: PromoCard;
};
type MegaMenuColumn = { title: string; links: LinkItem[] };
type LinkItem = {
icon: LucideIcon;
title: string;
description: string;
href?: string;
};
type PromoCard = {
title: string;
description: string;
linkText: string;
href?: string;
illustration?: string;
};
type ActionButton = {
label: string;
href?: string;
variant?: "default" | "secondary" | "outline" | "ghost" | "link" | "destructive";
};{activeMegaMenu && ...}), so it is not mounted until opened; it is not SSR-hidden markup.lg (1024px). Below it, a hamburger toggles a separate mobile menu with its own independent open/close state per item (mobileOpenMenus, a Set of labels), so several mega items can be expanded at once on mobile, unlike desktop.sticky top-0 z-50) with a translucent, blurred background (bg-background/95 backdrop-blur).hasMegaMenu render as plain links regardless of any leftover megaMenuColumns/promoCard data.navbar54
Navbar where multiple items each open their own mega panel — three eyebrow-titled columns of described links with a view-all footer strip.
navbar47
Studio navbar whose Work item opens a full-width mega panel with category links and three featured project thumbnails.
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.
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.
navbar69
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.
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.