Skip to content

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.

minimal/section/hero-split
Open ↗

Source

import { ArrowRight, Check } from "lucide-react";
import { cn } from "@/lib/utils";

export interface HeroSplitEvent {
  time: string;
  actor: string;
  text: string;
  kind: "alert" | "page" | "action" | "resolved";
}

export interface HeroSplitProps {
  eyebrow?: string;
  title?: string;
  description?: string;
  bullets?: string[];
  primaryCta?: { label: string; href: string };
  secondaryCta?: { label: string; href: string };
  incidentTitle?: string;
  timeline?: HeroSplitEvent[];
  className?: string;
}

const DOT: Record<HeroSplitEvent["kind"], string> = {
  alert: "bg-da-danger",
  page: "bg-da-warning",
  action: "bg-da-primary",
  resolved: "bg-da-success",
};

const DEFAULT_TIMELINE: HeroSplitEvent[] = [
  { time: "14:02:11", actor: "Datadog", text: "p99 latency > 2s on payments-api", kind: "alert" },
  { time: "14:02:14", actor: "Tracewise", text: "Paged Maya Chen (primary, Payments)", kind: "page" },
  { time: "14:03:40", actor: "Maya Chen", text: "Acknowledged · opened #inc-2481", kind: "action" },
  { time: "14:09:02", actor: "Maya Chen", text: "Rolled back deploy a41f9c2", kind: "action" },
  { time: "14:11:37", actor: "Tracewise", text: "Resolved · status page updated", kind: "resolved" },
];

/** Two-column hero: copy + checklist on the left, a live incident timeline card on the right. */
export function HeroSplit({
  eyebrow = "Incident response",
  title = "From alert to all-clear in minutes, not hours",
  description = "Tracewise pages the right engineer, opens the war room and writes the timeline for you — so your team fixes the problem instead of coordinating it.",
  bullets = ["Setup in 10 minutes with 60+ integrations", "Slack and Microsoft Teams native", "SOC 2 Type II and GDPR ready"],
  primaryCta = { label: "Start for free", href: "#signup" },
  secondaryCta = { label: "Talk to sales", href: "#sales" },
  incidentTitle = "INC-2481 · Payments degraded",
  timeline = DEFAULT_TIMELINE,
  className,
}: HeroSplitProps) {
  return (
    <section className={cn("bg-da-bg py-16 text-da-fg sm:py-24", className)}>
      <div className="da-container grid items-center gap-12 lg:grid-cols-[1.05fr_1fr] lg:gap-16">
        <div>
          <p className="font-da-mono text-xs text-da-accent-fg">{eyebrow}</p>
          <h1 className="mt-4 text-[clamp(2.25rem,5vw,3.75rem)] leading-[1.04] font-semibold tracking-da-display text-balance">{title}</h1>
          <p className="mt-5 max-w-lg text-[17px] leading-relaxed text-pretty text-da-muted-fg">{description}</p>
          <ul className="mt-6 space-y-2.5">
            {bullets.map((b) => (
              <li key={b} className="flex items-center gap-2.5 text-[15px]">
                <span className="grid size-5 shrink-0 place-items-center rounded-full bg-da-accent text-da-accent-fg">
                  <Check aria-hidden className="size-3" strokeWidth={3} />
                </span>
                {b}
              </li>
            ))}
          </ul>
          <div className="mt-8 flex flex-wrap gap-3">
            <a
              href={primaryCta.href}
              className="da-focus da-transition group inline-flex h-10 items-center gap-1.5 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}
              <ArrowRight aria-hidden className="da-transition size-4 group-hover:translate-x-0.5" />
            </a>
            <a
              href={secondaryCta.href}
              className="da-focus da-transition da-stroke inline-flex h-10 items-center rounded-da-md bg-da-surface px-4 text-sm font-medium text-da-surface-fg hover:bg-da-muted"
            >
              {secondaryCta.label}
            </a>
          </div>
        </div>

        <figure className="relative">
          <div aria-hidden className="absolute -inset-6 -z-0 rounded-[28px] bg-da-primary/10 blur-2xl" />
          <div className="da-stroke relative overflow-hidden rounded-da-lg bg-da-surface text-da-surface-fg shadow-da-lg">
            <div className="flex items-center justify-between gap-3 border-b border-da-border px-4 py-3">
              <p className="truncate text-[13px] font-medium">{incidentTitle}</p>
              <span className="inline-flex shrink-0 items-center gap-1.5 rounded-da-pill bg-da-success/12 px-2 py-0.5 text-[11px] font-medium text-da-success">
                <span className="size-1.5 rounded-full bg-da-success" /> Resolved in 9m 26s
              </span>
            </div>
            <ol className="relative px-4 py-4">
              <span aria-hidden className="absolute top-6 bottom-6 left-[calc(1rem+3.5px)] w-px bg-da-border" />
              {timeline.map((e) => (
                <li key={e.time} className="relative flex gap-3 py-2">
                  <span aria-hidden className={cn("mt-1.5 size-2 shrink-0 rounded-full ring-4 ring-da-surface", DOT[e.kind])} />
                  <div className="min-w-0 flex-1">
                    <p className="text-[13px]">
                      <span className="font-medium">{e.actor}</span> <span className="text-da-muted-fg">{e.text}</span>
                    </p>
                  </div>
                  <time className="shrink-0 font-da-mono text-[11px] text-da-muted-fg">{e.time}</time>
                </li>
              ))}
            </ol>
          </div>
          <figcaption className="sr-only">Example incident timeline handled by Tracewise</figcaption>
        </figure>
      </div>
    </section>
  );
}

export default HeroSplit;

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

Props

PropTypeDefaultDescription
eyebrow / title / descriptionstring—Copy.
bulletsstring[]—Checklist items.
primaryCta / secondaryCta{ label, href }—Actions.
incidentTitlestring—Card title.
timeline{ time, actor, text, kind }[]—kind: alert | page | action | resolved.
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