Table-inspired navbar with full-height bordered link cells, an availability cell and a dark full-height seal CTA cell.
Table-inspired navbar built from full-height, border-divided cells: the wordmark, each nav link, an availability cell and a dark seal CTA cell all sit flush against one another, sharing borders like spreadsheet columns. The CTA cell inverts to bg-foreground with an arrow icon that slides right on hover; below lg the cell row collapses to a hamburger-triggered mobile menu.
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/navbar42?email=YOUR_EMAIL&license_key=YOUR_KEY"Base UI flavor
npx shadcn add "https://ui.beste.co/r-base/navbar42?email=YOUR_EMAIL&license_key=YOUR_KEY"This installs the block to components/beste/block/navbar42.tsx and the button1 component it uses for its call-to-action.
The installed file exports navbar42Demo alongside the block: the exact props behind the preview above. Spread it to get a working navbar in one line.
import { Navbar42, navbar42Demo } from "@/components/beste/block/navbar42";
export default function Layout() {
return <Navbar42 {...navbar42Demo} />;
}Then replace the demo with your own props. Written out, a trimmed setup looks like this:
import { Navbar42 } from "@/components/beste/block/navbar42";
export default function Layout() {
return (
<Navbar42
brand="Polaris"
statusLabel="Open for work"
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 | – | Wordmark, rendered in its own bordered cell |
statusLabel | string | – | Availability text in a bordered cell, hidden below lg |
links | NavLink[] | [] | Nav links, each rendered as its own full-height bordered cell |
cta | CtaLink | – | Dark full-height seal cell with an arrow icon, hidden below lg |
className | string | – | Extra classes for the outer <header> |
NavLink / CtaLink: { label: string; href: string }.
bg-foreground/text-background with an arrow icon inside a primary-colored circle that shifts right on hover.{open && ...}) via the toggle state.lg: the status cell, link cells and CTA cell are all hidden below it in favor of the hamburger toggle.navbar45
Dark navbar with a hamburger menu cell that opens a fullscreen overlay — the panel and its centered links cascade down from the top, with a contact footer.
navbar51
Two-row navbar with brand, availability status and seal CTA on top, and an underlined active-tab link row that scrolls horizontally on mobile.
navbar59
Editorial single-row navbar — bold wordmark, quiet bold links, and an outline pill CTA. Collapses to a clean full-height mobile menu.
navbar60
Full mega-menu navbar — bold links open three-column panels with parenthetical section labels, descriptions and a footer link. SSR-mounted panels, pill CTA and a stacked mobile menu.