Page sections / Heroes

Mono Eyebrow Centered Hero

Centered page hero used on solution pages: emerald uppercase monospace eyebrow, Manrope headline, soft grey paragraph and a button pair, followed by a row of small greyscale partner logos.

Rebuilt from supabase.com/solutions/ai-builders in the Emerald Paper Precision style.

npx shadcn@latest add https://justyoink.it/r/emerald-paper-precision/blocks/centered-eyebrow-hero.json

Looks exactly like supabase.com: brings its fonts and colours, namespaced so your own theme stays untouched.

Usage

Props: eyebrow, title, description, primaryLabel/Href, secondaryLabel/Href, logos (name + shape) and interval (ms) for the logo blur-rise cycle. Renders standalone with defaults.

components/centered-eyebrow-hero.tsx
import { useEffect, useState } from "react";

type Logo = { name: string; shape: "circle" | "square" | "diamond" };

type Props = {
  eyebrow?: string;
  title?: string;
  description?: string;
  primaryLabel?: string;
  primaryHref?: string;
  secondaryLabel?: string;
  secondaryHref?: string;
  logos?: Logo[];
  interval?: number;
};

const defaultLogos: Logo[] = [
  { name: "Northwind", shape: "circle" },
  { name: "Altura", shape: "square" },
  { name: "Kitefield", shape: "diamond" },
];

function Mark({ shape }: { shape: Logo["shape"] }) {
  const c = "h-5 w-5 bg-ink-faint";
  if (shape === "circle") return <span className={c + " rounded-pill"} aria-hidden />;
  if (shape === "square") return <span className={c + " rounded-xs"} aria-hidden />;
  return <span className={c + " rotate-45 scale-75 rounded-xs"} aria-hidden />;
}

export default function MonoEyebrowCenteredHero({
  eyebrow = "DATA TEAMS",
  title = "Northgate for Analytics Teams",
  description = "Northgate is the managed database workspace that powers a new wave of reporting tools. Give your customers a reliable, scalable foundation so they can concentrate on insight instead of upkeep.",
  primaryLabel = "Start a workspace",
  primaryHref = "#",
  secondaryLabel = "Explore the docs",
  secondaryHref = "#",
  logos = defaultLogos,
  interval = 3200,
}: Props) {
  const [shown, setShown] = useState(true);

  useEffect(() => {
    const t = setInterval(() => setShown((s) => !s), interval);
    return () => clearInterval(t);
  }, [interval]);

  return (
    <section className="bg-canvas border-t border-hairline px-6 py-24 text-center">
      <div className="mx-auto flex max-w-[680px] flex-col items-center">
        <p className="font-mono text-eyebrow-mono uppercase text-brand">{eyebrow}</p>
        <h1 className="mt-4 font-display text-h1 tracking-[-0.02em] text-ink">{title}</h1>
        <p className="mt-4 text-lead text-ink-soft">{description}</p>
        <div className="mt-8 flex flex-wrap justify-center gap-2">
          <a
            href={primaryHref}
            className="relative rounded-md bg-brand px-4 py-2 text-label text-surface transition-colors duration-hover-color ease-hover-color hover:bg-brand-hover focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-brand"
          >
            {primaryLabel}
          </a>
          <a
            href={secondaryHref}
            className="rounded-md border border-hairline bg-surface px-4 py-2 text-label text-ink transition-colors duration-hover-color ease-hover-color hover:border-hairline-strong focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-brand"
          >
            {secondaryLabel}
          </a>
        </div>
      </div>
      <ul className="mx-auto mt-24 flex flex-wrap items-center justify-center gap-10">
        {logos.map((l, i) => (
          <li key={l.name}>
            <a
              href="#"
              aria-label={l.name}
              style={{ transitionDelay: `${i * 180}ms` }}
              className={
                "flex h-8 items-center gap-2 text-ink-faint transition-all duration-500 ease-linear motion-reduce:transition-none " +
                (shown ? "translate-y-0 opacity-100 blur-0" : "-translate-y-8 opacity-0 blur-[4px]")
              }
            >
              <Mark shape={l.shape} />
              <span className="font-display text-lead tracking-[-0.02em]">{l.name}</span>
            </a>
          </li>
        ))}
      </ul>
    </section>
  );
}

Quality checks

Automated, in a real browser · 4d ago
—

More from Emerald Paper Precision

The whole style →

Hairline Site Header

Headers & nav bars

Framework Icon Tab Code Panel

Code blocks

Gradient Customer Story Strip

Testimonials

Compute Pricing Calculator

Forms

Two-Tone Split Hero

Heroes

Hairline Bento Product Grid

Feature sections