Classic Navbar

About this block

Classic NavbarPRO

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.

The classic arrangement: wordmark left, small-caps links centre, then a quiet text link and a pill, with a light full-screen menu on a phone that repeats both actions at its 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.

Upgrade Now

Installation

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

bash
npx shadcn add "https://ui.beste.co/r/navbar78?email=YOUR_EMAIL&license_key=YOUR_KEY"

Base UI flavor

bash
npx shadcn add "https://ui.beste.co/r-base/navbar78?email=YOUR_EMAIL&license_key=YOUR_KEY"

This installs the block to components/beste/block/navbar78.tsx plus the button22 sliding-marker pill it uses.

Quick start

The installed file exports navbar78Demo alongside the block: the exact props behind the preview above. Spread it to get a working navbar in one line.

tsx
import { Navbar78, navbar78Demo } from "@/components/beste/block/navbar78";

export default function Page() {
  return <Navbar78 {...navbar78Demo} />;
}

Then replace the demo with your own props. Written out, a trimmed setup looks like this:

tsx
import { Navbar78 } from "@/components/beste/block/navbar78";

export default function Page() {
  return (
    <Navbar78
      brand="Altair"
      items={[
        { label: "Therapy", href: "/therapy" },
        { label: "Coaching", href: "/coaching" },
        { label: "Fees", href: "/pricing" },
      ]}
      link={{ label: "Sign in", href: "/sign-in" }}
      button={{ label: "Book a call", href: "/call" }}
      labels={{ open: "Open menu", close: "Close menu" }}
    />
  );
}

Props

PropTypeDefaultDescription
brandstringWordmark on the left
itemsNavItem[][]Navigation links
linkNavItemQuiet text link before the pill, for a sign-in or similar
buttonActionButtonPill action
labels{ open?: string; close?: string }{}Accessible names for the menu toggle
classNamestringExtra classes for the outer <header>
ts
type NavItem = {
  label: string;
  href: string;
};

type ActionButton = {
  label: string;
  href: string;
  tone?: "primary" | "light" | "dark" | "outline";
};

Behavior notes

  • link is kept separate from items on purpose: a sign-in is not a section of the site, and putting it in the nav list would give it the same weight as the pages.
  • Both the quiet link and the pill are repeated at the foot of the mobile menu, so nothing that is reachable on a desktop is missing on a phone.
  • The mobile menu is always in the markup and toggled with CSS, so every link is in the server-rendered HTML rather than appearing only once the menu is opened.
  • Its items stagger through inline transitionDelay values from the index, reset to 0ms on close so the menu collapses at once instead of unwinding.
  • Unlike the ink overlay used elsewhere in this family, this menu stays on the page background, so the block drops into a light site without a colour change at the top.
  • The underline under each link is a scaled span with a left origin, so it draws in rather than fading, and it is aria-hidden.
  • The overlay starts at top-20, exactly the bar's height, so the wordmark and the close button stay in place while it is open.

More Navigation blocks

View all Navigation
PRO

navbar77

Centred Wordmark Navbar

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.

PRO

navbar82

Full Screen Menu Navbar

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.

PRO

navbar79

Announcement Navbar

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.

PRO

navbar56

Giant Wordmark Navbar

Typographic statement navbar — a hairline row of index-numbered links and availability above a giant wordmark with a primary square, studio meta and seal CTA.

PRO

navbar58

Monogram Navbar

Minimal stacked navbar — a large primary logo square with the wordmark tucked into its corner, over a quiet ruled row of uppercase links. No buttons, no hamburger.

PRO

navbar71

Pill Menu Navbar

A light editorial navbar with a lowercase wordmark, soft muted nav pills that reveal hover dropdowns, a solid accent call to action, and a collapsing mobile menu.