Word Menu Panel

About this block

Word Menu PanelPRO

A minimal bar with the brand on the left and a single Menu word beside a CTA on the right; the word drops a full-width panel of three link columns over a bottom row of office locations and social links. The same panel serves every viewport and stays in the markup, toggled with CSS.

A minimal bar with the brand on the left and a single Menu word next to a CTA on the right. The word drops a full-width panel with three link columns and a bottom row of office locations and social links, and the same panel serves phones and desktops alike.

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

Base UI flavor

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

This installs the block to components/beste/block/navbar104.tsx plus the shadcn button primitive it uses.

Quick start

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

tsx
import { Navbar104, navbar104Demo } from "@/components/beste/block/navbar104";

export default function Page() {
  return <Navbar104 {...navbar104Demo} />;
}

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

tsx
import { Navbar104 } from "@/components/beste/block/navbar104";

export default function Page() {
  return (
    <Navbar104
      brand="Meridian"
      columns={[
        {
          title: "Studio",
          links: [
            { label: "Work", href: "/work" },
            { label: "Services", href: "/services" },
          ],
        },
        {
          title: "Company",
          links: [
            { label: "About", href: "/about" },
            { label: "Careers", href: "/careers" },
          ],
        },
      ]}
      locations={[
        { city: "Lisbon", address: "Rua da Prata 12" },
        { city: "Berlin", address: "Torstrasse 140" },
      ]}
      socials={[
        { label: "Instagram", href: "https://instagram.com" },
        { label: "LinkedIn", href: "https://linkedin.com" },
      ]}
      button={{ label: "Start a project", href: "/contact" }}
      labels={{ menu: "Menu", close: "Close", locations: "Locations", socials: "Follow" }}
    />
  );
}

Props

PropTypeDefaultDescription
brandstring–Wordmark on the left
columnsLinkColumn[][]Three link columns inside the panel
locationsLocation[][]City and address pairs in the bottom row
socialsNavItem[][]Social links in the bottom row, each with an arrow
buttonActionButton–CTA beside the Menu word; moves into the panel below sm
labels{ menu?: string; close?: string; locations?: string; socials?: string }{}The toggle word in both states and the two bottom row headings
classNamestring–Extra classes for the outer <header>
ts
type LinkColumn = {
  title: string;
  links: NavItem[];
};

type Location = {
  city: string;
  address: string;
};

type NavItem = {
  label: string;
  href: string;
};

type ActionButton = {
  label: string;
  href: string;
  variant?: "default" | "outline" | "ghost" | "secondary";
};

Behavior notes

  • The panel is server-rendered and always in the markup; it is revealed with CSS (invisible opacity-0 to visible opacity-100, with a small motion-safe: lift), so every link is in the HTML before any script runs.
  • One toggle for every viewport: the Menu word carries aria-expanded, aria-controls pointing at the panel and an aria-label from labels, and it opens on hover as well as on click.
  • The toggle swaps its text between labels.menu and labels.close by stacking both words in one grid cell and cross-fading them, so the button never changes width.
  • Escape, a click outside the header and the pointer leaving the header all close the panel; any link inside closes it on click.
  • The panel is capped at calc(100vh - 4rem) and scrolls on its own, which is what lets the same full-width panel work under the bar on a phone.
  • The CTA is hidden from the bar below sm and repeated inside the panel instead, so it stays reachable without crowding the bar.

More Navigation blocks

View all Navigation
PRO

navbar103

Single Menu Tabs Panel

PRO

navbar59

Studio Bar Navbar

PRO

navbar108

Numbered Index Menu

Get Pro