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.
Symmetric three-column navbar: nav links sit on the left, the square-mark wordmark is centered via a grid-cols-[1fr_auto_1fr] layout, and a seal CTA sits on the right. Below lg the links are replaced by a hamburger toggle and the CTA collapses to an icon-only circular arrow button, and the mobile menu opens as a bordered tile grid.
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/navbar44?email=YOUR_EMAIL&license_key=YOUR_KEY"Base UI flavor
npx shadcn add "https://ui.beste.co/r-base/navbar44?email=YOUR_EMAIL&license_key=YOUR_KEY"This installs the block to components/beste/block/navbar44.tsx and the button1 component it uses for its call-to-action.
The installed file exports navbar44Demo alongside the block: the exact props behind the preview above. Spread it to get a working navbar in one line.
import { Navbar44, navbar44Demo } from "@/components/beste/block/navbar44";
export default function Layout() {
return <Navbar44 {...navbar44Demo} />;
}Then replace the demo with your own props. Written out, a trimmed setup looks like this:
import { Navbar44 } from "@/components/beste/block/navbar44";
export default function Layout() {
return (
<Navbar44
brand="Polaris"
links={[
{ label: "Work", href: "/work" },
{ label: "Studio", href: "/studio" },
{ label: "Journal", href: "/journal" },
]}
cta={{ label: "Start a Project", href: "/contact" }}
/>
);
}| Prop | Type | Default | Description |
|---|---|---|---|
brand | string | – | Centered wordmark |
links | NavLink[] | [] | Left-aligned desktop links, hidden below lg |
cta | CtaLink | – | Full Button1 on desktop (lg); collapses to an icon-only circular arrow link below it |
className | string | – | Extra classes for the outer <header> |
NavLink / CtaLink: { label: string; href: string }.
lg, the CTA doesn't disappear: it collapses to an icon-only circular arrow link (aria-label set from cta.label), while the link list is replaced entirely by the hamburger toggle.bg-border/gap-px trick to draw 1px dividers between cells.{open && ...}) via the toggle state.