Logo and links left-aligned with one outline button on the right. The Solutions item opens a panel with vertical tabs on the left, moved by hover, click or the arrow keys, and a link grid on the right that swaps per tab while every grid stays mounted. The phone menu is a drill-down overlay whose groups slide left to reveal a sub-list with a Back button. Panels stay in the markup and are toggled with CSS.
A sticky bar with the logo and links left-aligned and one outline button on the right. The Solutions item opens a panel with vertical tabs on the left and a grid of six links on the right that swaps per tab; on a phone the menu becomes a drill-down overlay where each group slides in with a Back button.
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.
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://beste.dev/r/navbar84?email=YOUR_EMAIL&license_key=YOUR_KEY"Base UI flavor
npx shadcn add "https://beste.dev/r-base/navbar84?email=YOUR_EMAIL&license_key=YOUR_KEY"This installs the block to components/beste/block/navbar84.tsx plus the shadcn button primitive it uses.
The installed file exports navbar84Demo alongside the block: the exact props behind the preview above. Spread it to get a working navbar in one line.
import { Navbar84, navbar84Demo } from "@/components/beste/block/navbar84";
export default function Page() {
return <Navbar84 {...navbar84Demo} />;
}Then replace the demo with your own props. Written out, a trimmed setup looks like this:
import { Navbar84 } from "@/components/beste/block/navbar84";
export default function Page() {
return (
<Navbar84
brand="Northwind"
mega={{
label: "Solutions",
tabs: [
{
label: "By industry",
links: [
{ title: "Retail", description: "Stock, stores and online in one view.", href: "/retail" },
{ title: "Finance", description: "Reporting without the spreadsheets.", href: "/finance" },
],
},
{
label: "By team",
links: [{ title: "Marketing", description: "Campaign pages in hours.", href: "/marketing" }],
},
],
}}
links={[
{ label: "Pricing", href: "/pricing" },
{ label: "Company", href: "/company" },
]}
button={{ label: "Talk to sales", href: "/contact", variant: "outline" }}
labels={{ open: "Open menu", close: "Close menu", back: "Back" }}
/>
);
}| Prop | Type | Default | Description |
|---|---|---|---|
brand | string | – | Wordmark on the left |
mega | Mega | – | The item that opens the vertical tabs panel |
links | NavItem[] | [] | Plain links beside it |
button | ActionButton | – | Button on the right, repeated at the foot of the mobile menu |
labels | { open?: string; close?: string; back?: string } | {} | Accessible names for the mobile toggle and the Back button text |
className | string | – | Extra classes for the outer <header> |
type Mega = {
label: string;
tabs: SolutionTab[];
};
type SolutionTab = {
label: string;
links: SolutionLink[];
};
type SolutionLink = {
title: string;
description: string;
href: string;
};
type NavItem = {
label: string;
href: string;
};
type ActionButton = {
label: string;
href: string;
variant?: "default" | "outline" | "ghost" | "secondary";
};aria-hidden and inert, which keeps their links out of the tab order.aria-expanded and aria-controls; the panel closes when the pointer leaves the header, on Escape and on a pointer down outside the header.aria-selected, a roving tabIndex, and Arrow Up or Arrow Down move both the selection and the focus, wrapping at the ends. Hovering or focusing a tab also selects it.