Skip to content

Navbar Meta

Two-tier editorial header: a mono meta strip (version, status with signal dot, changelog link) over a nav bar closed by a full-ink rule; oversize logo wordmark on desktop; stacked menu on mobile.

mono-clean/section/navbar-meta
Open ↗

Source

"use client";

import { useEffect, useId, useState } from "react";
import { cn } from "@/lib/utils";

export interface NavbarMetaProps {
  brand?: string;
  brandHref?: string;
  meta?: string[];
  links?: { label: string; href: string }[];
  cta?: { label: string; href: string };
  className?: string;
}

function FrameMark({ className }: { className?: string }) {
  return (
    <svg aria-hidden viewBox="0 0 24 24" className={cn("size-6 shrink-0", className)}>
      <rect x="1" y="1" width="22" height="22" fill="none" stroke="currentColor" strokeWidth="2" />
      <path d="M7 1v22M1 7h22" stroke="currentColor" strokeWidth="2" />
      <rect x="15" y="15" width="4" height="4" fill="var(--da-accent)" />
    </svg>
  );
}

/** Two-tier editorial header: a mono meta strip (version, status with signal dot, changelog link) over a nav bar closed by a full-ink rule; oversize logo wordmark on desktop; stacked menu on mobile. */
export function NavbarMeta({
  brand = "Frame",
  brandHref = "/",
  meta = ["Frame 4.2 is live", "Status: all systems normal", "Changelog ↗"],
  links = [
    { label: "Product", href: "#product" },
    { label: "Templates", href: "#templates" },
    { label: "Customers", href: "#customers" },
    { label: "Pricing", href: "#pricing" },
  ],
  cta = { label: "Build your site", href: "#start" },
  className,
}: NavbarMetaProps) {
  const [open, setOpen] = useState(false);
  const id = useId();
  useEffect(() => {
    if (!open) return;
    const onKey = (e: KeyboardEvent) => e.key === "Escape" && setOpen(false);
    window.addEventListener("keydown", onKey);
    return () => window.removeEventListener("keydown", onKey);
  }, [open]);
  return (
    <header className={cn("bg-da-bg text-da-fg", className)}>
      <div className="border-b border-da-border">
        <ul className="da-container flex h-9 items-center gap-6 overflow-x-auto font-da-mono text-[11px] tracking-da-label whitespace-nowrap text-da-muted-fg uppercase">
          {meta.map((m, i) => (
            <li key={m} className="flex items-center gap-2">
              {i === 1 && <span aria-hidden className="size-1.5 rounded-full bg-da-accent" />}
              {m}
            </li>
          ))}
        </ul>
      </div>
      <nav aria-label="Main" className="da-container flex items-end gap-10 border-b border-da-border-strong pt-6 pb-4">
        <a
          href={brandHref}
          className="da-focus flex items-center gap-3 rounded-da-sm font-da-display text-3xl leading-none font-semibold tracking-da-display sm:text-4xl"
        >
          <FrameMark className="size-7" />
          {brand}
        </a>
        <ul className="ml-auto hidden gap-8 md:flex">
          {links.map((l) => (
            <li key={l.href}>
              <a href={l.href} className="da-focus rounded-da-sm text-[15px] hover:underline hover:underline-offset-4">
                {l.label}
              </a>
            </li>
          ))}
        </ul>
        <a
          href={cta.href}
          className="da-focus da-transition hidden h-10 items-center rounded-da-sm bg-da-primary px-4 text-[15px] font-medium text-da-primary-fg hover:opacity-85 md:inline-flex"
        >
          {cta.label}
        </a>
        <button
          type="button"
          aria-expanded={open}
          aria-controls={id}
          onClick={() => setOpen(!open)}
          className="da-focus ml-auto rounded-da-sm font-da-mono text-xs tracking-da-label uppercase md:hidden"
        >
          {open ? "Close" : "Menu"}
        </button>
      </nav>
      <div id={id} hidden={!open} className="border-b border-da-border md:hidden">
        <ul className="da-container py-2">
          {links.map((l) => (
            <li key={l.href}>
              <a href={l.href} className="da-focus block rounded-da-sm py-3 text-lg">
                {l.label}
              </a>
            </li>
          ))}
          <li className="pb-3">
            <a href={cta.href} className="da-focus mt-2 flex h-12 items-center justify-center rounded-da-sm bg-da-primary font-medium text-da-primary-fg">
              {cta.label}
            </a>
          </li>
        </ul>
      </div>
    </header>
  );
}

export default NavbarMeta;

modules/mono-clean/section/navbar-meta/index.tsx

Props

PropTypeDefaultDescription
brandstring—Brand name.
brandHrefstring—Brand link target.
metastring[]—Meta.
links{ label: string; href: string }[]—Links.
cta{ label: string; href: string }—Cta.
classNamestring—Extra classes on the root.

Other navbar variants in Mono Clean

Navbar in other art directions

Navbar Bold

Sticky top bar with square logo mark, mono uppercase links, underlined login and a pressable yellow CTA. Collapses into a full-width stacked menu on mobile.

BrutalistNavbar

Navbar Centered

Boxed navbar card with a hard shadow: links split left and right around a tilted yellow wordmark sticker in the center, ink CTA pressing into its shadow. Mobile opens a two-column ruled menu grid.

BrutalistNavbar

Navbar Overlay

Minimal bar (wordmark + ink MENU button with animated burger) that opens a full-screen yellow overlay with giant numbered links sliding on hover, a contact line and CTA. Same menu on every screen size.

BrutalistNavbar

Navbar Ticker

Two-tier sticky header: a scrolling ink announcement ticker on top, then a ruled bar where every link is a full-height cell that floods yellow on hover and a blue CTA block on the right.

BrutalistNavbar

Navbar Bar

Full-width sticky frosted bar with a Features dropdown that opens a glass panel of four icon cards, plain links and a gradient pill CTA; stacked mobile menu.

GlassNavbar

Navbar Dock

macOS-style floating bottom dock: a glass pill of round icon links that magnify with a spring when hovered (neighbours too), tooltips, a gradient active item with dot and an ink CTA.

GlassNavbar

Navbar Floating

Floating frosted pill navbar detached from the top edge: gradient orb logo, centered links, gradient CTA. On mobile the pill opens a frosted dropdown panel that fades in.

GlassNavbar

Navbar Islands

Three separate floating glass islands — brand pill, centered links pill, actions pill with gradient CTA — that merge into a single button and frosted panel on mobile.

GlassNavbar

Navbar Announcement

Two-tier header: a dismissible ink announcement bar with a link, above a hairline navbar with links, a ⌘K search trigger (wired to onSearch) and log in / demo actions.

MinimalNavbar

Navbar Blur

Sticky 56px top bar that is transparent at the top of the page and turns into a translucent blurred bar with a hairline once scrolled. Muted links, ink CTA, compact mobile menu.

MinimalNavbar

Navbar Mega

Navbar with a full-width Product mega menu: six icon + description items in a 3-column grid and a featured launch card, closes on outside click and Escape; grouped mobile menu.

MinimalNavbar

Navbar Pill

Floating, centered pill navbar with backdrop blur: logo, links with a shared hover/active pill indicator, ink CTA; collapses into a dropdown sheet with Escape support on mobile.

MinimalNavbar

Navbar Corporate

Corporate navbar: logo, two dropdown menus (items with descriptions), plain links, “Sign in”, bordered “Contact sales” and a blue primary; mobile accordion menu.

Neo CorporateNavbar

Navbar Mega

Navbar with a wide “Platform” mega menu: three titled columns of icon links plus a navy promo card, closing on Escape/outside click; stacked on mobile.

Neo CorporateNavbar

Navbar Scroll

Sticky navbar that starts tall and transparent and condenses on scroll into a white bordered bar with a subtle shadow and a smaller CTA.

Neo CorporateNavbar

Navbar Utility

Two-tier enterprise header: a slim surface-2 utility bar (system status, sales phone, language select, support/login) above the main navbar.

Neo CorporateNavbar

Navbar Announce

Sage announcement strip (leaf icon, message, link, dismiss) above a simple cream navbar with a terracotta-tinted secondary pill and sage primary pill; drop-down menu on mobile.

Organic SoftNavbar

Navbar Floating

Floating pill navbar: a rounded, softly blurred surface bar detached from the top edge, with centered links and an arrow CTA; expands into a rounded panel on mobile.

Organic SoftNavbar

Navbar Organic

Calm cream navbar: round leaf logo + serif wordmark, links with a hand-drawn underline on the active one, text sign-in and a sage pill CTA; rounded sheet menu on mobile.

Organic SoftNavbar

Navbar Split

Editorial symmetric navbar: links split on both sides of a centered logo + large serif wordmark, a thin warm rule below, outlined pill CTA; full-width stacked menu on mobile.

Organic SoftNavbar

Navbar Centered

Symmetric navbar inside a soft rounded well: links split left and right of a centered wordmark with two overlapping dots, ink pill CTA at the far right; stacked sheet on mobile.

Soft FlatNavbar

Navbar Sheet

Minimal bar with a wordmark and a big “Menu” pill that unfolds a grid of pastel link tiles (title, description, arrow) with a staggered bouncy entrance, on every screen size.

Soft FlatNavbar

Navbar Soft

Friendly sticky navbar: rounded pastel logo mark, pill links with a soft lavender active fill, text log-in and a periwinkle pill CTA; rounded drop-down sheet on mobile.

Soft FlatNavbar

Navbar Tabs

Two-row header: brand and CTA on top, then a horizontally scrollable strip of pill tabs with emoji where the active tab is an ink-filled pill.

Soft FlatNavbar