The classic layout in the language: serif wordmark on the left, uppercase letter-spaced links in the middle that underline from the left on hover, a quiet text link and a sliding-marker pill on the right, and a light full-height mobile menu whose links settle in one by one.
The classic arrangement: wordmark left, small-caps links centre, then a quiet text link and a pill, with a light full-screen menu on a phone that repeats both actions at its foot.
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://ui.beste.co/r/navbar78?email=YOUR_EMAIL&license_key=YOUR_KEY"Base UI flavor
npx shadcn add "https://ui.beste.co/r-base/navbar78?email=YOUR_EMAIL&license_key=YOUR_KEY"This installs the block to components/beste/block/navbar78.tsx plus the button22 sliding-marker pill it uses.
The installed file exports navbar78Demo alongside the block: the exact props behind the preview above. Spread it to get a working navbar in one line.
import { Navbar78, navbar78Demo } from "@/components/beste/block/navbar78";
export default function Page() {
return <Navbar78 {...navbar78Demo} />;
}Then replace the demo with your own props. Written out, a trimmed setup looks like this:
import { Navbar78 } from "@/components/beste/block/navbar78";
export default function Page() {
return (
<Navbar78
brand="Altair"
items={[
{ label: "Therapy", href: "/therapy" },
{ label: "Coaching", href: "/coaching" },
{ label: "Fees", href: "/pricing" },
]}
link={{ label: "Sign in", href: "/sign-in" }}
button={{ label: "Book a call", href: "/call" }}
labels={{ open: "Open menu", close: "Close menu" }}
/>
);
}| Prop | Type | Default | Description |
|---|---|---|---|
brand | string | – | Wordmark on the left |
items | NavItem[] | [] | Navigation links |
link | NavItem | – | Quiet text link before the pill, for a sign-in or similar |
button | ActionButton | – | Pill action |
labels | { open?: string; close?: string } | {} | Accessible names for the menu toggle |
className | string | – | Extra classes for the outer <header> |
type NavItem = {
label: string;
href: string;
};
type ActionButton = {
label: string;
href: string;
tone?: "primary" | "light" | "dark" | "outline";
};link is kept separate from items on purpose: a sign-in is not a section of the site, and putting it in the nav list would give it the same weight as the pages.transitionDelay values from the index, reset to 0ms on close so the menu collapses at once instead of unwinding.aria-hidden.top-20, exactly the bar's height, so the wordmark and the close button stay in place while it is open.