A minimal bar with a wordmark, a sliding-marker pill and a two-line menu toggle that turns into a cross, opening a full-screen ink menu with film grain: numbered oversized serif links settle in one after another on the left, the photograph and description on the right blur to whichever link is hovered, and a ruled foot carries contact details, social links and the pill. The menu is always in the markup and shown with CSS.
A wordmark and a menu word, and behind them a full-screen ink menu under film grain: numbered serif entries on one side, a photograph and description swapping to match the hovered entry on the other, with contacts and socials across the 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/navbar82?email=YOUR_EMAIL&license_key=YOUR_KEY"Base UI flavor
npx shadcn add "https://ui.beste.co/r-base/navbar82?email=YOUR_EMAIL&license_key=YOUR_KEY"This installs the block to components/beste/block/navbar82.tsx plus the button22 sliding-marker pill it uses.
The installed file exports navbar82Demo alongside the block: the exact props behind the preview above. Spread it to get a working navbar in one line.
import { Navbar82, navbar82Demo } from "@/components/beste/block/navbar82";
export default function Page() {
return <Navbar82 {...navbar82Demo} />;
}Then replace the demo with your own props. Written out, a trimmed setup looks like this:
import { Navbar82 } from "@/components/beste/block/navbar82";
export default function Page() {
return (
<Navbar82
brand="Altair"
entries={[
{
label: "Therapy",
description: "Weekly, with one steady person.",
href: "/therapy",
image: { src: "/rooms/bench.jpg", alt: "A sunlit room with a low timber bench" },
},
]}
contacts={[{ label: "Email", value: "[email protected]" }]}
socials={[{ label: "Instagram", href: "https://instagram.com" }]}
button={{ label: "First call", href: "/call" }}
labels={{ menu: "Menu", close: "Close" }}
/>
);
}| Prop | Type | Default | Description |
|---|---|---|---|
brand | string | – | Wordmark on the left |
entries | MenuEntry[] | [] | Numbered entries in the full-screen menu |
contacts | ContactLine[] | [] | Contact pairs across the foot of the menu |
socials | { label: string; href: string }[] | [] | Social links beside the pill |
button | ActionButton | – | Pill action, hidden in the bar while the menu is open |
labels | { menu?: string; close?: string } | {} | The toggle's two words |
className | string | – | Extra classes for the outer <header> |
type MenuEntry = {
label: string;
description: string;
href: string;
image: { src: string; alt: string };
};
type ContactLine = {
label: string;
value: string;
};
type ActionButton = {
label: string;
href: string;
tone?: "primary" | "light" | "dark" | "outline";
};translate and rotate only, so the same element serves as both the open and close control and never re-mounts.document.body.style.overflow is locked while the menu is open and restored on unmount, so the page behind cannot scroll under it.transitionDelay values from the index, and the foot row waits on 200 + entries.length * 70 so it always arrives after the last entry however many there are.onMouseEnter and onFocus together and is keyed inside AnimatePresence, so tabbing through the entries changes both the photograph and the description with a cross-fade.hidden md:block, so on a phone the menu is just the numbered list and the foot, and every entry closes the menu on click.