Evening sessions now run until nine, Monday to Thursday.
Reserve oneA 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.
A navbar with an announcement rail above it: an ink strip carrying one line and a link with a lifting arrow, then the frosted bar with the wordmark, links and a pill.
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/navbar79?email=YOUR_EMAIL&license_key=YOUR_KEY"Base UI flavor
npx shadcn add "https://ui.beste.co/r-base/navbar79?email=YOUR_EMAIL&license_key=YOUR_KEY"This installs the block to components/beste/block/navbar79.tsx plus the button22 sliding-marker pill it uses.
The installed file exports navbar79Demo alongside the block: the exact props behind the preview above. Spread it to get a working navbar in one line.
import { Navbar79, navbar79Demo } from "@/components/beste/block/navbar79";
export default function Page() {
return <Navbar79 {...navbar79Demo} />;
}Then replace the demo with your own props. Written out, a trimmed setup looks like this:
import { Navbar79 } from "@/components/beste/block/navbar79";
export default function Page() {
return (
<Navbar79
announcement={{
text: "Evening sessions now run until nine, Monday to Thursday.",
link: { label: "Reserve one", href: "/evenings" },
}}
brand="Altair"
items={[
{ label: "Ways we work", href: "/work" },
{ label: "Fees", href: "/pricing" },
]}
button={{ label: "First call", href: "/call" }}
labels={{ open: "Open menu", close: "Close menu" }}
/>
);
}| Prop | Type | Default | Description |
|---|---|---|---|
announcement | { text: string; link: NavItem } | – | Ink strip above the bar; the whole rail is dropped when unset |
brand | string | – | Wordmark on the left |
items | NavItem[] | [] | Navigation links |
button | ActionButton | – | Pill action, repeated at the foot of the mobile menu |
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";
};top-[7.5rem], the height of the rail plus the bar, so it clears both. If you remove the announcement in your own copy of the file, that offset is the one value to change.motion-safe:, so the affordance is dropped for reduced motion while the link keeps working.background tokens rather than the adaptive ones the bar below uses.transitionDelay stagger that resets to 0ms on close.