Skip to content

Product launch hero

Version chip, product name, one-line promise, one action, and a three-figure fact strip.

Headersstarterherolaunchreleaseversion

Live preview

full widthLive preview — open it in a new tab for the full-height version.
Open the preview in a new tab

Source

This exact file renders the preview above.

import { ArrowRight, Sparkles } from 'lucide-react'
import { Badge } from '@/components/ui/badge'
import { ButtonLink } from '@/components/ui/button'
import { Container } from '@/components/ui/layout'

/**
 * Product launch header
 *
 * Built around a single moment: version, name, one-line promise, one action.
 * The version chip is a real piece of information rather than decoration —
 * launch pages that hide the version are usually hiding the fact that nothing
 * changed.
 */
const highlights = [
  { label: 'Composition levels', value: '4' },
  { label: 'Theme palettes', value: '5' },
  { label: 'Density modes', value: '3' },
]

export default function ProductLaunchHeader() {
  return (
    <header className="relative overflow-hidden border-b border-line bg-canvas py-section">
      <div
        className="pointer-events-none absolute inset-x-0 top-0 h-64 bg-gradient-to-b from-accent-soft to-transparent"
        aria-hidden="true"
      />
      <Container className="relative text-center">
        <Badge
          tone="accent"
          appearance="solid"
          icon={<Sparkles className="size-3" />}
          className="mx-auto"
        >
          Version 1.0
        </Badge>

        <h1 className="display-type mx-auto mt-6 max-w-3xl text-4xl leading-tight font-semibold text-ink-strong sm:text-5xl lg:text-6xl">
          Foundry
        </h1>
        <p className="mx-auto mt-4 max-w-xl text-lg text-ink-muted">
          The complete frontend building-block library. Build faster. Ship better.
        </p>

        <div className="mt-8">
          <ButtonLink href="/components" size="lg" trailingIcon={<ArrowRight className="size-4" />}>
            See what shipped
          </ButtonLink>
        </div>

        <dl className="mx-auto mt-14 grid max-w-2xl grid-cols-3 divide-x divide-[var(--color-border)] border-y border-line">
          {highlights.map((item) => (
            <div key={item.label} className="px-4 py-6">
              <dd className="display-type text-3xl font-semibold text-ink-strong tabular-nums">
                {item.value}
              </dd>
              <dt className="label-caps mt-1.5 text-ink-subtle">{item.label}</dt>
            </div>
          ))}
        </dl>
      </Container>
    </header>
  )
}

components/blocks/headers/product-launch.tsx

import { ArrowRight, Sparkles } from 'lucide-react'
import { Badge } from '@/components/ui/badge'
import { ButtonLink } from '@/components/ui/button'
import { Container } from '@/components/ui/layout'

/**
 * Product launch header
 *
 * Built around a single moment: version, name, one-line promise, one action.
 * The version chip is a real piece of information rather than decoration —
 * launch pages that hide the version are usually hiding the fact that nothing
 * changed.
 */
const highlights = [
  { label: 'Composition levels', value: '4' },
  { label: 'Theme palettes', value: '5' },
  { label: 'Density modes', value: '3' },
]

export default function ProductLaunchHeader() {
  return (
    <header className="relative overflow-hidden border-b border-line bg-canvas py-section">
      <div
        className="pointer-events-none absolute inset-x-0 top-0 h-64 bg-gradient-to-b from-accent-soft to-transparent"
        aria-hidden="true"
      />
      <Container className="relative text-center">
        <Badge
          tone="accent"
          appearance="solid"
          icon={<Sparkles className="size-3" />}
          className="mx-auto"
        >
          Version 1.0
        </Badge>

        <h1 className="display-type mx-auto mt-6 max-w-3xl text-4xl leading-tight font-semibold text-ink-strong sm:text-5xl lg:text-6xl">
          Foundry
        </h1>
        <p className="mx-auto mt-4 max-w-xl text-lg text-ink-muted">
          The complete frontend building-block library. Build faster. Ship better.
        </p>

        <div className="mt-8">
          <ButtonLink href="/components" size="lg" trailingIcon={<ArrowRight className="size-4" />}>
            See what shipped
          </ButtonLink>
        </div>

        <dl className="mx-auto mt-14 grid max-w-2xl grid-cols-3 divide-x divide-[var(--color-border)] border-y border-line">
          {highlights.map((item) => (
            <div key={item.label} className="px-4 py-6">
              <dd className="display-type text-3xl font-semibold text-ink-strong tabular-nums">
                {item.value}
              </dd>
              <dt className="label-caps mt-1.5 text-ink-subtle">{item.label}</dt>
            </div>
          ))}
        </dl>
      </Container>
    </header>
  )
}

components/ui/badge.tsx

import type { HTMLAttributes, ReactNode } from 'react'
import { variants } from '@/lib/variants'

/**
 * Badge
 *
 * A compact, non-interactive label. Tones map to the status token trios, and
 * because a badge is often the only signal in a dense table, the `dot` option
 * exists to add a second, colour-independent cue alongside the text.
 */
const badgeVariants = variants('inline-flex items-center gap-1.5 whitespace-nowrap font-medium', {
  variants: {
    tone: {
      neutral: 'bg-surface-sunken text-ink-muted border-line',
      accent: 'bg-accent-soft text-accent-soft-ink border-accent-line',
      success: 'bg-success-soft text-success border-success-line',
      warning: 'bg-warning-soft text-warning border-warning-line',
      danger: 'bg-danger-soft text-danger border-danger-line',
      info: 'bg-info-soft text-info border-info-line',
      inverse: 'bg-surface-inverse text-ink-inverse border-transparent',
    },
    appearance: {
      soft: 'border',
      outline: 'border bg-transparent',
      solid: 'border border-transparent',
    },
    size: {
      sm: 'h-4.5 rounded-sm px-1.5 text-2xs',
      md: 'h-5.5 rounded-sm px-2 text-xs',
    },
  },
  defaultVariants: { tone: 'neutral', appearance: 'soft', size: 'md' },
  compound: [
    { appearance: 'solid', tone: 'accent', class: 'bg-accent text-accent-ink' },
    { appearance: 'solid', tone: 'success', class: 'bg-success text-white' },
    { appearance: 'solid', tone: 'warning', class: 'bg-warning text-white' },
    { appearance: 'solid', tone: 'danger', class: 'bg-danger text-white' },
    { appearance: 'solid', tone: 'info', class: 'bg-info text-white' },
    { appearance: 'solid', tone: 'neutral', class: 'bg-ink text-ink-inverse' },
    { appearance: 'outline', tone: 'neutral', class: 'text-ink-muted' },
  ],
})

export type BadgeTone = 'neutral' | 'accent' | 'success' | 'warning' | 'danger' | 'info' | 'inverse'

export interface BadgeProps extends HTMLAttributes<HTMLSpanElement> {
  tone?: BadgeTone
  appearance?: 'soft' | 'outline' | 'solid'
  size?: 'sm' | 'md'
  /** Adds a leading dot so the badge does not rely on hue alone. */
  dot?: boolean
  icon?: ReactNode
}

export function Badge({
  tone = 'neutral',
  appearance = 'soft',
  size = 'md',
  dot = false,
  icon,
  className,
  children,
  ...props
}: BadgeProps) {
  return (
    <span className={badgeVariants({ tone, appearance, size, className })} {...props}>
      {dot ? (
        <span className="size-1.5 shrink-0 rounded-full bg-current" aria-hidden="true" />
      ) : null}
      {icon}
      {children}
    </span>
  )
}

Demo source — adapt to your project. Foundry is not published as a package.

Usage

Built around a single moment. The version chip is information, not decoration — launch pages that hide the version are usually hiding the fact that nothing changed.

  • One action only. A launch page with three calls to action has no launch.
  • The fact strip uses divided cells rather than cards, which keeps it quiet enough to sit under a hero.

Variants and states

Every entry below is a genuine difference in behaviour or layout, and every one of them is visible in the preview above.

  • Version chip
  • Single action
  • Divided fact strip

Accessibility

Definition list
The fact strip is a `<dl>`, pairing each figure with its label programmatically.
Decorative wash
The top gradient is `aria-hidden` and `pointer-events-none`.

Foundry implements published ARIA patterns and is tested against them. No WCAG certification is claimed — see the accessibility documentation for what is and is not covered.