Skip to content

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.

minimal/section/hero-metrics
Open ↗

Source

import { ArrowUpRight } from "lucide-react";
import { cn } from "@/lib/utils";

export interface HeroMetricsProps {
  title?: string;
  description?: string;
  primaryCta?: { label: string; href: string };
  secondaryCta?: { label: string; href: string };
  metrics?: { value: string; label: string }[];
  logos?: string[];
  logosLabel?: string;
  className?: string;
}

/** Left-aligned editorial hero: huge headline, a row of hairline-separated metrics and a customer wordmark strip. */
export function HeroMetrics({
  title = "The calm way to run on-call.",
  description = "2,400 engineering teams use Tracewise to cut alert noise, share the pager fairly and learn from every incident.",
  primaryCta = { label: "Start free trial", href: "#signup" },
  secondaryCta = { label: "See customer stories", href: "#customers" },
  metrics = [
    { value: "−63%", label: "alert noise in 30 days" },
    { value: "4.2 min", label: "median time to acknowledge" },
    { value: "99.99%", label: "notification delivery SLA" },
  ],
  logos = ["Northwind", "Lumen", "Heliograph", "Parcel", "Quanta", "Oakridge"],
  logosLabel = "Trusted by on-call teams at",
  className,
}: HeroMetricsProps) {
  return (
    <section className={cn("bg-da-bg pt-20 pb-14 text-da-fg sm:pt-28", className)}>
      <div className="da-container">
        <h1 className="max-w-4xl text-[clamp(2.75rem,8vw,6rem)] leading-[0.95] font-semibold tracking-[-0.045em] text-balance">{title}</h1>
        <div className="mt-8 flex flex-col gap-6 md:flex-row md:items-end md:justify-between">
          <p className="max-w-md text-[17px] leading-relaxed text-pretty text-da-muted-fg">{description}</p>
          <div className="flex flex-wrap gap-3">
            <a
              href={primaryCta.href}
              className="da-focus da-transition inline-flex h-10 items-center rounded-da-md bg-da-primary px-4 text-sm font-medium text-da-primary-fg shadow-da-sm hover:bg-da-primary/90"
            >
              {primaryCta.label}
            </a>
            <a
              href={secondaryCta.href}
              className="da-focus da-transition group inline-flex h-10 items-center gap-1 rounded-da-md px-3 text-sm font-medium text-da-muted-fg hover:text-da-fg"
            >
              {secondaryCta.label}
              <ArrowUpRight aria-hidden className="da-transition size-4 group-hover:translate-x-0.5 group-hover:-translate-y-0.5" />
            </a>
          </div>
        </div>

        <dl className="mt-14 grid border-y border-da-border sm:grid-cols-3">
          {metrics.map((m, i) => (
            <div key={m.label} className={cn("py-6 sm:px-6", i > 0 && "border-t border-da-border sm:border-t-0 sm:border-l", i === 0 && "sm:pl-0")}>
              <dt className="text-sm text-da-muted-fg">{m.label}</dt>
              <dd className="mt-1 font-da-mono text-3xl font-medium tracking-tight tabular-nums">{m.value}</dd>
            </div>
          ))}
        </dl>

        <div className="mt-10 flex flex-col gap-4 sm:flex-row sm:items-center">
          <p className="shrink-0 text-[13px] text-da-muted-fg">{logosLabel}</p>
          <ul className="flex flex-wrap items-center gap-x-8 gap-y-3">
            {logos.map((l) => (
              <li key={l} className="text-[15px] font-semibold tracking-tight text-da-muted-fg">
                {l}
              </li>
            ))}
          </ul>
        </div>
      </div>
    </section>
  );
}

export default HeroMetrics;

modules/minimal/section/hero-metrics/index.tsx

Props

PropTypeDefaultDescription
title / descriptionstring—Copy.
primaryCta / secondaryCta{ label, href }—Actions.
metrics{ value, label }[]—Key numbers (3 recommended).
logos / logosLabelstring[] / string—Customer names rendered as wordmarks.
classNamestring—Classes on the section.

Other hero variants in Minimal

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 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 Arch

Split hero: eyebrow with sprout icon, large serif headline with an italic sage highlight, calm copy, pill CTAs; on the right a tall arch-topped illustration (sun + rolling hills) with a floating stat chip.

Organic SoftHero

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 SoftHero

Hero Editorial

Magazine-style hero: oversized serif headline across the width with an italic line, a collage of three organic shapes (arch, circle with leaf, pebble) and a pull-quote column; scroll cue.

Organic SoftHero

Hero Footprint

Product hero: copy + CTAs on the left, a soft rounded footprint card on the right with a donut chart of emissions by source, legend with percentages and a gentle “biggest lever” tip.

Organic SoftHero

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