Studio navbar whose Work item opens a full-width mega panel with category links and three featured project thumbnails.
Studio navbar where the desktop "Work" item opens a full-width mega panel on hover or click: a left column of category links plus an "All projects" link, and a right grid of three featured project thumbnails with title and category. Below lg it collapses into a hamburger-triggered mobile menu that nests the mega menu's links under its own heading.
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/navbar47?email=YOUR_EMAIL&license_key=YOUR_KEY"Base UI flavor
npx shadcn add "https://ui.beste.co/r-base/navbar47?email=YOUR_EMAIL&license_key=YOUR_KEY"This installs the block to components/beste/block/navbar47.tsx and the button1 component it uses for its call-to-action.
The installed file exports navbar47Demo alongside the block: the exact props behind the preview above. Spread it to get a working navbar in one line.
import { Navbar47, navbar47Demo } from "@/components/beste/block/navbar47";
export default function Layout() {
return <Navbar47 {...navbar47Demo} />;
}Then replace the demo with your own props. Written out, a trimmed setup looks like this:
import { Navbar47 } from "@/components/beste/block/navbar47";
export default function Layout() {
return (
<Navbar47
brand="Polaris"
megaMenu={{
label: "Work",
overviewLabel: "All projects",
overviewHref: "/work",
links: [
{ label: "Brand Identity", href: "/work/brand" },
{ label: "Product Design", href: "/work/product" },
],
projects: [
{
title: "Lumen Rebrand",
category: "Brand Identity",
href: "/work/lumen",
image: { src: "/projects/lumen.jpg", alt: "Lumen rebrand poster wall" },
},
],
}}
links={[
{ label: "Studio", href: "/studio" },
{ label: "Journal", href: "/journal" },
]}
cta={{ label: "Start a Project", href: "/contact" }}
/>
);
}| Prop | Type | Default | Description |
|---|---|---|---|
brand | string | – | Wordmark text; the brand link is skipped if omitted |
megaMenu | MegaMenu | – | Optional mega menu item rendered before links; drives the hover/click panel |
links | NavLink[] | [] | Regular nav links rendered after the mega menu item |
cta | CtaLink | – | Call-to-action rendered as a button1 seal on desktop and full-width in the mobile menu |
className | string | – | Extra classes for the outer <header> |
type NavLink = { label: string; href: string };
type FeaturedProject = {
title: string;
category: string;
href: string;
image: { src: string; alt: string };
};
type MegaMenu = {
label: string;
overviewLabel: string;
overviewHref: string;
links: NavLink[];
projects: FeaturedProject[];
};
type CtaLink = { label: string; href: string };<header> (onMouseLeave) or moves onto a regular nav link.megaMenu is set; open and closed states are pure CSS transitions (visible/invisible plus translate and opacity), not a conditional render, so it stays SSR-friendly.ChevronDown next to the trigger rotates 180 degrees while the panel is open.open state) is conditionally rendered and toggled by the hamburger button; it lists the mega menu's overview link and its links in an indented sublist above the regular links, followed by a full-width CTA.navbar54
Navbar where multiple items each open their own mega panel — three eyebrow-titled columns of described links with a view-all footer strip.
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.
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.
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.