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.

PRO

A compact navbar that floats off the viewport edge instead of spanning full width: it sits inside a max-w-4xl wrapper with its own margin, and the inner <nav> is a bordered, backdrop-blurred pill (rounded corners on mobile, fully rounded on desktop) rather than a bar with a bottom border. A position prop pins the whole thing near the top or bottom of the viewport, which suits landing pages and portfolios that want a minimal, detached navigation style.

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.

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

Base UI flavor

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

This installs the block to components/beste/block/navbar37.tsx and the shadcn/ui dependencies it needs (button).

Quick start

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

tsx
import { Navbar37, navbar37Demo } from "@/components/beste/block/navbar37";

export default function Layout() {
  return <Navbar37 {...navbar37Demo} />;
}

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

tsx
import { Navbar37 } from "@/components/beste/block/navbar37";

export default function Layout() {
  return (
    <Navbar37
      logo={{ text: "Float", href: "/" }}
      navItems={[
        { label: "Home", href: "/" },
        { label: "Features", href: "/features" },
        { label: "Pricing", href: "/pricing" },
      ]}
      actionButton={{ label: "Get Started", href: "/signup" }}
      position="top"
    />
  );
}

Props

PropTypeDefaultDescription
logo{ text: string; href?: string }Brand text and link, shown at the left
navItemsNavItem[][]Desktop and mobile nav links, in order
actionButton{ label: string; href?: string }Single CTA rendered right of the nav; omit to hide it
position"top" | "bottom""top"Whether the floating pill sticks near the top or bottom of the viewport
classNamestringExtra classes for the outer wrapper <div>
ts
type NavItem = { label: string; href?: string };

Behavior notes

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.

FREE

navbar30

Centered Logo Split Nav

Symmetrical navbar with centered logo flanked by navigation links on both sides and dropdown menus. Perfect for fashion brands and lifestyle sites wanting balanced visual hierarchy.

PRO

navbar50

Floating Card Navbar

Detached floating navbar card with a square-mark wordmark, uppercase links and a compact seal CTA — the mobile menu unfolds inside the card.

PRO

navbar44

Centered Logo Navbar

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.

PRO

navbar36

Tab-Style Navbar

Navbar with tab-style navigation supporting underline or pill active states for app-like navigation. Perfect for dashboards and admin panels with section-based interfaces.

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.