Page sections / Heroes

Signature Scatter Hero

Near-black full-width hero with a centered serif headline, light subhead, muted paragraph and a dark pill button. Dozens of handwritten signature images are scattered at 12–26% opacity around the edges. The bottom edge is a scalloped, zig-zag white border.

Rebuilt from arc.net in the Obsidian Farewell Editorial style.

npx shadcn@latest add https://yoink-app.fly.dev/r/obsidian-farewell-editorial/blocks/signature-scatter-hero.json

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

Usage

Props: title, subhead, body, buttonLabel. Signatures are drawn as faint script text that fades in with staggered delays on load; the button toggles its chevron rotation on click.

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

type Sig = { t: string; x: number; y: number; o: number; r: number; s: number; f: number };

const SIGS: Sig[] = [
  { t: "Mara", x: 10, y: 8, o: 0.21, r: -6, s: 26, f: 0 },
  { t: "Odin", x: 25, y: 14, o: 0.13, r: 4, s: 22, f: 1 },
  { t: "Lena", x: 3, y: 30, o: 0.23, r: -3, s: 28, f: 0 },
  { t: "Kiri", x: 18, y: 42, o: 0.15, r: 8, s: 30, f: 1 },
  { t: "Tove", x: 8, y: 62, o: 0.26, r: -8, s: 24, f: 0 },
  { t: "Ines", x: 22, y: 76, o: 0.13, r: 3, s: 30, f: 1 },
  { t: "Bram", x: 4, y: 86, o: 0.2, r: -4, s: 22, f: 0 },
  { t: "Sol", x: 33, y: 88, o: 0.15, r: 5, s: 26, f: 1 },
  { t: "Yara", x: 74, y: 10, o: 0.2, r: 3, s: 24, f: 1 },
  { t: "Dex", x: 84, y: 22, o: 0.23, r: -5, s: 30, f: 0 },
  { t: "Noor", x: 90, y: 6, o: 0.13, r: 6, s: 26, f: 1 },
  { t: "Samir", x: 76, y: 44, o: 0.3, r: 2, s: 28, f: 0 },
  { t: "Hugo", x: 89, y: 52, o: 0.15, r: -7, s: 24, f: 1 },
  { t: "Mina", x: 80, y: 68, o: 0.23, r: 4, s: 30, f: 0 },
  { t: "Elio", x: 68, y: 84, o: 0.2, r: -3, s: 28, f: 1 },
  { t: "Faye", x: 88, y: 86, o: 0.13, r: 5, s: 26, f: 0 },
];

export default function SignatureScatterHero({
  title = "A quiet goodbye to Meridian",
  subhead = "Meridian is closing its doors in 27 days",
  body = "Meridian, the notebook app from Northwind Labs, will be retired on June 3, 2026. Scroll to read what comes next and where your notes can go.",
  buttonLabel = "Read the note",
}: {
  title?: string;
  subhead?: string;
  body?: string;
  buttonLabel?: string;
}) {
  const [open, setOpen] = useState(false);
  const [shown, setShown] = useState(false);
  useEffect(() => {
    const id = requestAnimationFrame(() => setShown(true));
    return () => cancelAnimationFrame(id);
  }, []);

  return (
    <section className="relative overflow-hidden bg-canvas-dark text-white">
      <div aria-hidden="true" className="absolute inset-0">
        {SIGS.map((g, i) => (
          <span
            key={i}
            className="absolute select-none whitespace-nowrap font-display italic text-white transition-opacity duration-[700ms] ease-out motion-reduce:transition-none hidden sm:block"
            style={{
              left: `${g.x}%`,
              top: `${g.y}%`,
              fontSize: g.s,
              transform: `rotate(${g.r}deg)`,
              opacity: shown ? g.o : 0,
              transitionDelay: `${i * 50}ms`,
              fontFamily: g.f ? "cursive" : undefined,
            }}
          >
            {g.t}
          </span>
        ))}
      </div>
      <div className="relative mx-auto flex max-w-3xl flex-col items-center px-6 pb-28 pt-24 text-center md:pt-28">
        <h1 className="font-display text-5xl font-semibold leading-none tracking-[-0.03em] text-white md:text-7xl">{title}</h1>
        <p className="mt-8 text-xl text-white md:text-2xl">{subhead}</p>
        <p className="mt-4 max-w-md text-base leading-7 text-on-dark-muted md:text-lg">{body}</p>
        <button
          type="button"
          aria-expanded={open}
          onClick={() => setOpen(!open)}
          className="mt-10 inline-flex items-center gap-2 rounded-pill bg-surface-pill-dark px-6 py-3.5 text-sm font-medium text-white transition-colors hover:bg-white/15 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-focus-ring"
        >
          {buttonLabel}
          <svg width="12" height="12" viewBox="0 0 12 12" fill="none" stroke="currentColor" strokeWidth="1.5" strokeLinecap="round" strokeLinejoin="round" className={`transition-transform duration-[250ms] ${open ? "rotate-180" : ""}`} aria-hidden="true">
            <path d="M2.5 4.5 6 8l3.5-3.5" />
          </svg>
        </button>
      </div>
      <div
        aria-hidden="true"
        className="absolute inset-x-0 bottom-0 h-2 bg-canvas"
        style={{
          WebkitMask: "conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 14px 100%",
          mask: "conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 14px 100%",
        }}
      />
    </section>
  );
}

Quality checks

Automated, in a real browser · 4d ago
—

More from Obsidian Farewell Editorial

The whole style →

Hairline FAQ Accordion

Accordions

Sticky Glass Promo Banner

Toasts & snackbars

Fading Vertical Timeline

Lists

Centered Serif Section Header

Other

Pill Tab Switcher

Tab bars

Frosted Browser Mockup Card

Media & mockups