Pill Menu Navbar

About this block

Pill Menu NavbarPRO

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.

A light editorial navbar built around soft muted pills instead of plain text links: each top-level item sits in a rounded bg-muted pill, and items that carry a links array grow a chevron and reveal a floating dropdown card on hover. A lowercase wordmark sits on the left and a solid accent call-to-action sits on the right, with everything collapsing into a stacked mobile menu below the lg breakpoint.

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/navbar71?email=YOUR_EMAIL&license_key=YOUR_KEY"

Base UI flavor

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

This installs the block to components/beste/block/navbar71.tsx, the button21 component it uses for its call-to-action, and its dependencies.

Quick start

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

tsx
import { Navbar71, navbar71Demo } from "@/components/beste/block/navbar71";

export default function Layout() {
  return <Navbar71 {...navbar71Demo} />;
}

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

tsx
import { Navbar71 } from "@/components/beste/block/navbar71";

export default function Layout() {
  return (
    <Navbar71
      brand="Acme"
      items={[
        {
          label: "Platform",
          href: "/platform",
          links: [
            { label: "Scheduling", href: "/platform/scheduling" },
            { label: "Billing", href: "/platform/billing" },
          ],
        },
        { label: "Pricing", href: "/pricing" },
      ]}
      button={{ label: "Request access", href: "/signup" }}
    />
  );
}

Props

PropTypeDefaultDescription
brandstringWordmark text, rendered lowercase, linked to https://beste.co
itemsNavItem[][]Top-level nav pills, in order
buttonActionLinkAccent call-to-action rendered via Button21; omit to hide it
classNamestringExtra classes for the outer <header>
ts
type NavItem = { label: string; href: string; links?: NavLink[] };
type NavLink = { label: string; href: string };
type ActionLink = { label: string; href: string };

Behavior notes

  • An item's dropdown only renders when its links array is non-empty; otherwise the pill is a plain link with no chevron.
  • Dropdowns are always mounted in the DOM (so they render on the server) and revealed with an opacity/pointer-events hover transition on the pill's wrapper, not a JS-driven open state.
  • The chevron next to a dropdown-bearing pill rotates 180 degrees on hover to indicate the open state.
  • The mobile menu (below lg) is a single toggled panel; any item's sub-links are shown fully expanded underneath it, not as a nested accordion.
  • The call-to-action button is hidden on mobile inline and instead rendered full-width at the bottom of the open mobile menu.

More Navigation blocks

View all Navigation
PRO

navbar63

Floating Pill Navbar

A floating rounded-full navbar island resting on a muted band — wordmark, quiet links and a pill CTA, with a rounded mobile menu card that drops below.

PRO

navbar74

Floating Capsule Navbar

A navbar contained in a softly rounded, bordered capsule with a lowercase wordmark, uppercase links, an accent call to action, and a matching mobile panel.

PRO

navbar59

Studio Bar Navbar

Editorial single-row navbar — bold wordmark, quiet bold links, and an outline pill CTA. Collapses to a clean full-height mobile menu.

PRO

navbar73

Announcement Bar Navbar

A navbar with a dark announcement strip above a hairline-bordered row carrying a lowercase wordmark, uppercase links, a sign-in link, an accent call to action, and a mobile menu.

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

navbar37

Floating Pill Navbar

Centered floating navbar with rounded pill shape, backdrop blur effect, and compact layout. Perfect for modern landing pages and portfolios wanting a minimal floating navigation style.