Page sections / Heroes

Two-Tone Split Hero

Left-aligned two-line headline where the first line is near-black and the second is emerald, with a muted paragraph offset to the right column and a button pair beneath (solid emerald + white outlined). Generous whitespace on a near-white canvas.

Rebuilt from supabase.com in the Emerald Paper Precision style.

npx shadcn@latest add https://yoink-app.fly.dev/r/emerald-paper-precision/blocks/two-tone-split-hero.json

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

Usage

Props: headlineTop, headlineAccent, description, primaryLabel/primaryHref, secondaryLabel/secondaryHref. All have defaults, so it renders with no props.

components/two-tone-split-hero.tsx
export default function TwoToneSplitHero({
  headlineTop = "Draft in an afternoon",
  headlineAccent = "Grow without limits",
  description = "Launch your product on a reliable relational database. Add sign-in, instant APIs, serverless functions, live updates, file storage and search in a single workspace.",
  primaryLabel = "Get started",
  primaryHref = "#",
  secondaryLabel = "Book a walkthrough",
  secondaryHref = "#",
}: {
  headlineTop?: string;
  headlineAccent?: string;
  description?: string;
  primaryLabel?: string;
  primaryHref?: string;
  secondaryLabel?: string;
  secondaryHref?: string;
}) {
  return (
    <section className="bg-canvas px-6 py-24 md:py-32">
      <div className="mx-auto grid max-w-[1088px] gap-10 md:grid-cols-2 md:items-center md:gap-16">
        <div>
          <h1 className="font-display text-[40px] font-medium leading-[1.1] tracking-[-0.03em] md:text-[48px]">
            <span className="block text-ink">{headlineTop}</span>
            <span className="block text-brand">{headlineAccent}</span>
          </h1>
          <div className="mt-8 flex flex-wrap gap-2">
            <a
              href={primaryHref}
              className="relative inline-flex h-[38px] items-center rounded-lg border border-brand bg-brand px-4 font-sans text-sm font-medium text-white 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="inline-flex h-[38px] items-center rounded-lg border border-hairline bg-surface px-4 font-sans text-sm font-medium 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>
        <p className="max-w-[540px] font-sans text-base leading-6 text-ink-muted md:pt-2">
          {description}
        </p>
      </div>
    </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

Hairline Bento Product Grid

Feature sections

Greyscale Logo Cloud Grid

Logo clouds