A sticky, frosted navbar with the serif wordmark in the centre, uppercase letter-spaced links split to either side that underline from the left on hover, a small sliding-marker pill, and a full-height light mobile menu whose links settle in one after another.
A centred wordmark navbar: links split either side of the brand on a three-column grid, a pill at the right end, and a light full-screen menu on a phone that merges both link sets in order.
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/navbar77?email=YOUR_EMAIL&license_key=YOUR_KEY"Base UI flavor
npx shadcn add "https://ui.beste.co/r-base/navbar77?email=YOUR_EMAIL&license_key=YOUR_KEY"This installs the block to components/beste/block/navbar77.tsx plus the button22 sliding-marker pill it uses.
The installed file exports navbar77Demo alongside the block: the exact props behind the preview above. Spread it to get a working navbar in one line.
import { Navbar77, navbar77Demo } from "@/components/beste/block/navbar77";
export default function Page() {
return <Navbar77 {...navbar77Demo} />;
}Then replace the demo with your own props. Written out, a trimmed setup looks like this:
import { Navbar77 } from "@/components/beste/block/navbar77";
export default function Page() {
return (
<Navbar77
brand="Altair"
leftItems={[
{ label: "Therapy", href: "/therapy" },
{ label: "Coaching", href: "/coaching" },
]}
rightItems={[
{ label: "Practitioners", href: "/team" },
{ label: "Fees", href: "/pricing" },
]}
button={{ label: "Book", href: "/book" }}
labels={{ open: "Open menu", close: "Close menu" }}
/>
);
}| Prop | Type | Default | Description |
|---|---|---|---|
brand | string | – | Wordmark, centred in the bar |
leftItems | NavItem[] | [] | Links left of the wordmark |
rightItems | NavItem[] | [] | Links right of the wordmark |
button | ActionButton | – | Pill action at the right end |
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";
};grid-cols-[1fr_auto_1fr], so the wordmark is centred against the viewport rather than against the links; an uneven number of links on either side does not pull it off centre.leftItems and rightItems into one list in that order, so nothing is lost on a phone where the split has no meaning.transitionDelay values from the index, reset to 0ms on close so the menu collapses at once.md, because the centred grid keeps room for it beside the toggle.NavLinks helper renders both sets, so the hover underline and the type are defined once rather than duplicated for each side.top-20, exactly the bar's height, so the wordmark and the close button stay in place while it is open.navbar78
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.
navbar79
A sticky navbar topped by a thin ink announcement bar with a small-caps link, then a frosted bar with the serif wordmark, uppercase links that underline from the left on hover, a sliding-marker pill, and a light full-height mobile menu whose links settle in one after another.
navbar44
Symmetric navbar with links on the left, a square-mark wordmark centered and a seal CTA on the right, plus a tile-grid mobile menu.
navbar72
A minimal navbar with a lowercase wordmark, absolutely centered uppercase text links, an accent call to action, and a collapsing mobile menu.