Skip to content

Hero Centered

Centered serif hero floating over two soft organic blobs (sage and clay), a hand-drawn underline under the italic highlight, pill CTAs and a row of three calm stats.

organic-soft/section/hero-centered
Open ↗

Source

import { cn } from "@/lib/utils";

export interface HeroCenteredProps {
  title?: string;
  highlight?: string;
  description?: string;
  primary?: { label: string; href: string };
  secondary?: { label: string; href: string };
  stats?: { value: string; label: string }[];
  className?: string;
}

/** Centered serif hero floating over two soft organic blobs (sage and clay), a hand-drawn underline under the italic highlight, pill CTAs and a row of three calm stats. */
export function HeroCentered({
  title = "Measure what matters. Reduce what you can.",
  highlight = "Reduce",
  description = "The carbon platform that small, ambitious teams actually enjoy using — honest numbers, clear next steps, no consultants.",
  primary = { label: "Start for free", href: "#start" },
  secondary = { label: "Book a walk-through", href: "#demo" },
  stats = [
    { value: "2,300+", label: "companies measuring" },
    { value: "1.2M t", label: "CO₂e tracked" },
    { value: "−21%", label: "average first-year cut" },
  ],
  className,
}: HeroCenteredProps) {
  const parts = highlight && title.includes(highlight) ? title.split(highlight) : [title];
  return (
    <section aria-labelledby="os-center-title" className={cn("relative isolate overflow-hidden bg-da-bg py-[clamp(5rem,12vw,9rem)] text-da-fg", className)}>
      <svg aria-hidden viewBox="0 0 600 600" className="absolute -top-40 -left-40 -z-10 w-[36rem] max-w-none text-da-accent sm:w-[44rem]">
        <path fill="currentColor" d="M421 97c56 44 96 115 90 186-7 71-60 142-128 181s-150 46-218 12S46 364 42 290s31-160 92-205 170-60 287 12Z" />
      </svg>
      <svg aria-hidden viewBox="0 0 600 600" className="absolute -right-48 -bottom-56 -z-10 w-[34rem] max-w-none text-da-secondary sm:w-[42rem]">
        <path fill="currentColor" d="M455 132c45 54 62 131 37 197s-91 121-164 137-151-9-196-64-56-139-21-205 105-114 181-121 118 2 163 56Z" />
      </svg>
      <div className="da-container text-center">
        <h1 id="os-center-title" className="mx-auto max-w-4xl font-da-display text-[clamp(2.75rem,7vw,5.5rem)] leading-[1.02] tracking-da-display text-balance">
          {parts[0]}
          {parts.length > 1 && (
            <em className="relative whitespace-nowrap text-da-primary">
              {highlight}
              <svg aria-hidden viewBox="0 0 200 14" preserveAspectRatio="none" className="absolute -bottom-2 left-0 h-3 w-full text-da-secondary-fg/70">
                <path d="M3 9c40-6 90-8 194-3" fill="none" stroke="currentColor" strokeWidth="3" strokeLinecap="round" />
              </svg>
            </em>
          )}
          {parts[1]}
        </h1>
        <p className="mx-auto mt-7 max-w-xl text-lg text-da-muted-fg">{description}</p>
        <div className="mt-9 flex flex-wrap justify-center gap-3">
          <a
            href={primary.href}
            className="da-focus da-transition inline-flex h-12 items-center rounded-da-pill bg-da-primary px-7 font-medium text-da-primary-fg hover:bg-da-primary/90"
          >
            {primary.label}
          </a>
          <a
            href={secondary.href}
            className="da-focus da-transition inline-flex h-12 items-center rounded-da-pill bg-da-surface px-7 font-medium text-da-surface-fg shadow-da-sm hover:shadow-da-md"
          >
            {secondary.label}
          </a>
        </div>
        <dl className="mx-auto mt-16 grid max-w-2xl gap-8 sm:grid-cols-3">
          {stats.map((s) => (
            <div key={s.label} className="flex flex-col">
              <dt className="order-2 text-sm text-da-muted-fg">{s.label}</dt>
              <dd className="order-1 font-da-display text-4xl">{s.value}</dd>
            </div>
          ))}
        </dl>
      </div>
    </section>
  );
}

export default HeroCentered;

modules/organic-soft/section/hero-centered/index.tsx

Props

PropTypeDefaultDescription
titlestring—Heading.
highlightstring—Highlight.
descriptionstring—Supporting text.
primary{ label: string; href: string }—Primary.
secondary{ label: string; href: string }—Secondary.
stats{ value: string; label: string }[]—Stats.
classNamestring—Extra classes on the root.

Other hero variants in Organic Soft

Hero in other art directions

Hero Poster

Poster-style centered hero: gigantic stacked headline alternating solid and outlined words, colored feature stickers scattered around it, two pressable CTAs and a ruled wordmark strip of customer logos.

BrutalistHero

Hero Signup

Conversion hero with the signup form in the fold: headline with a blue highlighted phrase, boxed email capture with pending/success states, checkmark reassurance list and three staggered colored step cards.

BrutalistHero

Hero Stacked

Split hero with a huge stacked uppercase headline (one line boxed in yellow), two pressable CTAs, a stats strip and a changelog window mock with a rotated sticker.

BrutalistHero

Hero Terminal

Developer-first hero: full-width uppercase headline, copyable install command button, and an ink terminal window that replays a git merge → publish session line by line with a blinking yellow cursor.

BrutalistHero

Hero Centered

Centered hero over the mesh: frosted badge, headline with gradient-text ending, gradient + frosted CTAs, then a wide glass ‘live call’ window with four video tiles, live transcript and an AI capture chip.

GlassHero

Hero Mesh

Split hero over the glass mesh: frosted announcement pill, headline with gradient-text second half, gradient + frosted CTAs, and a layered composition of glass cards (AI meeting recap, floating video update, recording pill) gently bobbing.

GlassHero

Hero Stack

Split hero with a fanned 3D stack of three glass cards (AI recap, async video, synced tasks) tilted in perspective, spreading apart with a spring on hover.

GlassHero

Hero Waitlist

Minimal waitlist hero with a central glow: badge, big headline, a glass pill email form with gradient submit (pending, success, error states) and a stack of gradient avatars with the waitlist count.

GlassHero

Hero Cli

Developer-first centered hero on a dotted grid: version badge, headline, an install command field with copy-to-clipboard, a docs button and a terminal window showing the command output.

MinimalHero

Hero Glow

Centered hero with announcement pill, gradient-ink headline, two CTAs, a single soft indigo glow over a masked hairline grid, and an HTML product window (incident list) fading out at the bottom.

MinimalHero

Hero Metrics

Editorial left-aligned hero with an oversized tight headline, copy and CTAs on one baseline, a row of three hairline-separated mono metrics and a text wordmark strip of customers.

MinimalHero

Hero Split

Two-column hero: eyebrow, headline, copy, checklist and two CTAs on the left; on the right a hairline card showing a live incident timeline with colored status dots and a resolved badge.

MinimalHero

Hero Browser

Split hero: copy on the left, a large monochrome browser frame on the right showing a mock studio portfolio (nav, giant name, image grid with mono captions) and a signal-dot “Published” badge.

Mono CleanHero

Hero Giant

Type-led hero: a mono label, an enormous tightly-tracked headline across the full width, then a 12-col row with copy + ink button on the left and mono key facts on the right, over a full-bleed gray image frame with caption.

Mono CleanHero

Hero Grid

Visible-grid hero: hairline 12-column guides behind the content, headline + copy + ink CTA in the left columns, and a ruled index list of featured templates on the right whose rows invert on hover.

Mono CleanHero

Hero Statement

Quiet manifesto hero: a single large statement set in the display face with generous line height and an orange signal dot after a key word, bottom-anchored mono footnotes and a scroll cue; nearly full-height.

Mono CleanHero

Hero Band

Stripe-style hero on a deep blue gradient band with a slanted bottom edge: headline and CTAs on the left, a stacked pair of payment UI cards (invoice + payment success) on the right.

Neo CorporateHero

Hero Dashboard

Split hero: eyebrow, strong headline, copy, blue + bordered CTAs and a compliance line; on the right a finance dashboard mock (KPIs, bar chart, invoice table).

Neo CorporateHero

Hero Demo

Enterprise demo-request hero: copy + check bullets + quote on the left, a bordered lead form (name, work email, company, size, submit) with validation-ready fields and success state on the right.

Neo CorporateHero

Hero Proof

Centered proof-first hero on a faint grid: announcement badge, headline, CTAs, a four-stat bordered strip and a customer wordmark row.

Neo CorporateHero

Hero Illustrated

Split hero: butter badge, rounded headline, pill CTAs and avatar-dot social proof on the left; a flat pastel kanban illustration made of shapes (columns, tinted cards, circles) with a floating “done” chip on the right.

Soft FlatHero

Hero Planner

Centered hero with a big rounded headline and pill CTAs above a full-width weekly planner mock-up: five day columns with date numbers and pastel task chips (fewer columns on small screens).

Soft FlatHero

Hero Signup

Sign-up hero on a large butter panel: headline with a peach marker-highlighted phrase, white pill email form with success state, check perks and a 5-star rating line.

Soft FlatHero

Hero Tiles

Hero with a left headline block and ink CTA next to a 2×2 grid of pastel feature tiles (peach, mint, lavender, butter) with white icon squares, the right column offset downward.

Soft FlatHero