Development Navbar

About this block

Development NavbarPRO

A calm sticky navbar for a property development: a text wordmark, five quiet links, a phone link and a compact pill button that rise in on mount, a hairline under the bar that fades in once the page has scrolled, and an always-mounted mobile panel toggled by the menu button whose links settle in one after another.

Realestate73: Development Navbar

A calm sticky navbar for a property development's sales site: a text wordmark on the left, five quiet links in the middle, a phone link and a compact pill button on the right, all rising in on mount. A hairline under the bar stays hidden at the top of the page and fades in once you have scrolled, and on small screens the menu button opens an always-mounted panel whose links, phone and button settle in one after another.

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://beste.dev/r/realestate73?email=YOUR_EMAIL&license_key=YOUR_KEY"

Base UI flavor

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

This installs the block to components/beste/block/realestate73.tsx plus the Button25 pill it uses for the call to action and the shadcn/ui button primitive behind it.

Quick start

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

tsx
import { Realestate73, realestate73Demo } from "@/components/beste/block/realestate73";

export default function Page() {
  return <Realestate73 {...realestate73Demo} />;
}

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

tsx
import { Realestate73 } from "@/components/beste/block/realestate73";

export default function Page() {
  return (
    <Realestate73
      brand="Alder Row"
      items={[
        { label: "Residences", href: "/residences" },
        { label: "Location", href: "/location" },
        { label: "Buying", href: "/buying" },
      ]}
      phone={{ label: "+44 20 7946 0000", href: "tel:+442079460000" }}
      button={{ label: "Register your interest", href: "/register" }}
      labels={{ open: "Open menu", close: "Close menu" }}
    />
  );
}

Props

PropTypeDefaultDescription
brandstring–Text wordmark on the left, linked to the home page.
itemsNavItem[][]Links shown in the bar on desktop and in the panel on small screens.
phoneNavItem–Phone link with a small handset icon; shown from the lg breakpoint and inside the mobile panel.
buttonActionButton–Compact pill button on the right; tone falls back to dark.
labels{ open?: string; close?: string }{}Accessible names for the menu button in its two states.
classNamestring–Extra classes merged onto the header.
ts
type NavItem = { label: string; href: string };

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

Behavior notes

  • Everything in the bar rises in on mount with staggered delays: the wordmark first, then each link 60 ms apart, then the phone link and the button.
  • The hairline under the bar is driven by useScroll: it fades in once the page has scrolled more than 8 px, and also while the mobile panel is open so the panel reads as attached to the bar.
  • The mobile panel is always in the markup and is toggled with CSS visibility and opacity, so its links are in the server HTML; the menu button carries aria-expanded and swaps its label between labels.open and labels.close.
  • Inside the open panel each link slides up with a CSS transition delayed by its index, and the phone and button follow after the last link. Choosing any link closes the panel.
  • With prefers-reduced-motion the mount entrances are skipped and the hairline switches without a fade.

More Real Estate blocks

View all Real Estate
PRO

realestate74

Navbar with Residences Panel

PRO

realestate75

Navbar with Info Bar

PRO

realestate28

Development Location Map

Get Pro