Skip to content

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.

brutalist/section/hero-stacked
Open ↗

Source

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

export interface HeroStackedCta {
  label: string;
  href: string;
}

export interface HeroStackedStat {
  value: string;
  label: string;
}

export interface HeroStackedRelease {
  version: string;
  date: string;
  tag: "new" | "improved" | "fixed";
  title: string;
}

export interface HeroStackedProps {
  kicker?: string;
  /** Each line is rendered on its own row; the `highlight` line gets the yellow block. */
  headline?: string[];
  highlight?: number;
  description?: string;
  primaryCta?: HeroStackedCta;
  secondaryCta?: HeroStackedCta;
  stats?: HeroStackedStat[];
  releases?: HeroStackedRelease[];
  sticker?: string;
  className?: string;
}

const TAG_STYLES: Record<HeroStackedRelease["tag"], string> = {
  new: "bg-da-success text-da-success-fg",
  improved: "bg-da-secondary text-da-secondary-fg",
  fixed: "bg-da-accent text-da-accent-fg",
};

export function HeroStacked({
  kicker = "v4.2 — AI release summaries are live",
  headline = ["Ship it.", "Say it.", "Loud."],
  highlight = 2,
  description = "Shipyard turns merged pull requests into changelogs, release notes and in-app announcements your users actually read. No more stale “What's new” pages.",
  primaryCta = { label: "Start free", href: "#signup" },
  secondaryCta = { label: "See a live changelog", href: "#demo" },
  stats = [
    { value: "2,400+", label: "teams shipping" },
    { value: "38k", label: "releases / month" },
    { value: "4.9/5", label: "on G2" },
  ],
  releases = [
    { version: "v4.2.0", date: "Today", tag: "new", title: "AI summaries for every release" },
    { version: "v4.1.3", date: "2 days ago", tag: "fixed", title: "Slack digest skipped weekend merges" },
    { version: "v4.1.0", date: "Last week", tag: "improved", title: "Widget loads 3× faster on mobile" },
  ],
  sticker = "Free for OSS",
  className,
}: HeroStackedProps) {
  return (
    <section className={cn("da-section da-stroke-b relative overflow-hidden bg-da-bg text-da-fg", className)}>
      <div className="da-container grid items-center gap-12 lg:grid-cols-[1.15fr_1fr]">
        <div>
          <p className="da-stroke inline-flex items-center gap-2 bg-da-surface px-3 py-1.5 font-da-mono text-xs font-bold tracking-da-label text-da-surface-fg uppercase">
            <span aria-hidden className="size-2 bg-da-success" />
            {kicker}
          </p>
          <h1 className="mt-6 font-da-display text-[clamp(3rem,9vw,6.5rem)] leading-[0.92] tracking-da-display uppercase">
            {headline.map((line, i) => (
              <span key={line} className="block">
                <span className={cn(i === highlight && "da-stroke -mx-1 inline-block bg-da-primary px-2 text-da-primary-fg shadow-da-md")}>{line}</span>
              </span>
            ))}
          </h1>
          <p className="mt-8 max-w-xl text-lg leading-relaxed text-da-muted-fg">{description}</p>
          <div className="mt-8 flex flex-wrap gap-4">
            <a
              href={primaryCta.href}
              className="da-focus da-transition da-stroke inline-flex items-center gap-2 bg-da-fg px-6 py-3.5 text-base font-bold text-da-bg shadow-da-md hover:translate-x-[6px] hover:translate-y-[6px] hover:shadow-none"
            >
              {primaryCta.label}
              <ArrowRight aria-hidden className="size-5" />
            </a>
            <a
              href={secondaryCta.href}
              className="da-focus da-transition da-stroke inline-flex items-center gap-2 bg-da-surface px-6 py-3.5 text-base font-bold text-da-surface-fg hover:bg-da-accent hover:text-da-accent-fg"
            >
              {secondaryCta.label}
            </a>
          </div>
          <dl className="mt-10 grid max-w-lg grid-cols-3 da-stroke-t">
            {stats.map((s, i) => (
              <div key={s.label} className={cn("flex flex-col-reverse justify-end pt-4", i > 0 && "da-stroke-l pl-4")}>
                <dt className="mt-1 font-da-mono text-[11px] tracking-da-label text-da-muted-fg uppercase">{s.label}</dt>
                <dd className="font-da-display text-2xl tracking-da-display sm:text-3xl">{s.value}</dd>
              </div>
            ))}
          </dl>
        </div>

        <div className="relative">
          <div className="da-stroke bg-da-surface text-da-surface-fg shadow-da-lg">
            <div className="da-stroke-b flex items-center justify-between bg-da-secondary px-4 py-2.5 text-da-secondary-fg">
              <span className="font-da-mono text-xs font-bold tracking-da-label uppercase">shipyard.dev/changelog</span>
              <span aria-hidden className="flex gap-1.5">
                <span className="da-stroke size-3 bg-da-primary" />
                <span className="da-stroke size-3 bg-da-accent" />
                <span className="da-stroke size-3 bg-da-surface" />
              </span>
            </div>
            <ol className="[&>li+li]:da-stroke-t">
              {releases.map((r) => (
                <li key={r.version} className="flex items-start gap-4 p-4 sm:p-5">
                  <GitCommitHorizontal aria-hidden className="mt-0.5 size-5 shrink-0" />
                  <div className="min-w-0 flex-1">
                    <div className="flex flex-wrap items-center gap-2">
                      <span className="font-da-mono text-xs font-bold">{r.version}</span>
                      <span className={cn("da-stroke px-1.5 py-0.5 font-da-mono text-[10px] font-bold tracking-da-label uppercase", TAG_STYLES[r.tag])}>
                        {r.tag}
                      </span>
                      <span className="ml-auto font-da-mono text-[11px] text-da-muted-fg">{r.date}</span>
                    </div>
                    <p className="mt-1.5 font-bold leading-snug">{r.title}</p>
                  </div>
                </li>
              ))}
            </ol>
          </div>
          {sticker && (
            <p className="da-stroke absolute -top-5 -right-2 rotate-6 bg-da-accent px-3 py-2 font-da-display text-sm tracking-da-display text-da-accent-fg uppercase shadow-da-sm sm:-right-5">
              {sticker}
            </p>
          )}
        </div>
      </div>
    </section>
  );
}

export default HeroStacked;

modules/brutalist/section/hero-stacked/index.tsx

Props

PropTypeDefaultDescription
kickerstring"v4.2 — AI release summaries are live"Small announcement label above the headline.
headlinestring[]["Ship it.", "Say it.", "Loud."]Headline lines, one per row.
highlightnumber2Index of the headline line boxed in the primary color (-1 for none).
descriptionstring—Supporting paragraph.
primaryCta{ label: string; href: string }Start freeMain CTA (ink button).
secondaryCta{ label: string; href: string }See a live changelogSecondary CTA (outlined).
statsHeroStackedStat[]—Up to 3 { value, label } shown under the CTAs.
releasesHeroStackedRelease[]—Rows of the changelog mock ({ version, date, tag: new|improved|fixed, title }).
stickerstring"Free for OSS"Rotated sticker on the mock; empty string hides it.
classNamestring—Extra classes on the <section>.

Other hero variants in Brutalist

Hero in other art directions

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