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-soft/section/hero-footprintSource
import { ArrowRight, Factory, Plane, Truck, Zap } from "lucide-react";
import { cn } from "@/lib/utils";
export interface HeroFootprintProps {
eyebrow?: string;
title?: string;
description?: string;
primary?: { label: string; href: string };
secondary?: { label: string; href: string };
total?: string;
breakdown?: { label: string; value: number; tone: "primary" | "accent" | "secondary" | "warning" }[];
className?: string;
}
const TONE = {
primary: "var(--da-primary)",
accent: "color-mix(in oklab, var(--da-primary) 45%, var(--da-accent))",
secondary: "var(--da-secondary-fg)",
warning: "var(--da-warning)",
} as const;
const ICON = [Truck, Zap, Plane, Factory];
/** 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. */
export function HeroFootprint({
eyebrow = "Your footprint, in plain sight",
title = "Know exactly where your emissions come from",
description = "Connect accounting, cloud and travel tools. Grove turns every invoice into tonnes of CO₂e — and tells you which lever to pull first.",
primary = { label: "Connect your tools", href: "#connect" },
secondary = { label: "Watch a 2-min tour", href: "#tour" },
total = "284 tCO₂e",
breakdown = [
{ label: "Suppliers & logistics", value: 46, tone: "primary" },
{ label: "Energy & cloud", value: 24, tone: "accent" },
{ label: "Business travel", value: 19, tone: "secondary" },
{ label: "Offices", value: 11, tone: "warning" },
],
className,
}: HeroFootprintProps) {
const c = 2 * Math.PI * 42;
const segments = breakdown.map((b, i) => ({
...b,
len: (b.value / 100) * c,
offset: breakdown.slice(0, i).reduce((sum, x) => sum + (x.value / 100) * c, 0),
}));
return (
<section aria-labelledby="os-fp-title" className={cn("da-section bg-da-bg text-da-fg", className)}>
<div className="da-container grid items-center gap-12 lg:grid-cols-2">
<div>
<p className="text-sm font-medium text-da-primary">{eyebrow}</p>
<h1 id="os-fp-title" className="mt-4 font-da-display text-[clamp(2.5rem,5.5vw,4.25rem)] leading-[1.05] tracking-da-display text-balance">
{title}
</h1>
<p className="mt-6 max-w-lg text-lg text-da-muted-fg">{description}</p>
<div className="mt-9 flex flex-wrap gap-3">
<a
href={primary.href}
className="da-focus da-transition inline-flex h-12 items-center gap-2 rounded-da-pill bg-da-primary px-6 font-medium text-da-primary-fg hover:bg-da-primary/90"
>
{primary.label} <ArrowRight aria-hidden className="size-4" />
</a>
<a
href={secondary.href}
className="da-focus da-transition inline-flex h-12 items-center rounded-da-pill bg-da-surface-2 px-6 font-medium hover:bg-da-muted"
>
{secondary.label}
</a>
</div>
</div>
<figure className="rounded-da-lg bg-da-surface p-6 text-da-surface-fg shadow-da-lg sm:p-8">
<figcaption className="flex items-baseline justify-between gap-4">
<span className="font-da-display text-xl">2026 footprint</span>
<span className="font-da-mono text-sm text-da-muted-fg">Jan – Sep</span>
</figcaption>
<div className="mt-6 grid items-center gap-8 sm:grid-cols-[180px_1fr]">
<div className="relative mx-auto size-44">
<svg
viewBox="0 0 100 100"
className="size-full -rotate-90"
role="img"
aria-label={`Total ${total}: ${breakdown.map((b) => `${b.label} ${b.value}%`).join(", ")}`}
>
<circle cx="50" cy="50" r="42" fill="none" stroke="var(--da-surface-2)" strokeWidth="12" />
{segments.map((b) => (
<circle
key={b.label}
cx="50"
cy="50"
r="42"
fill="none"
stroke={TONE[b.tone]}
strokeWidth="12"
strokeDasharray={`${b.len - 1.5} ${c - b.len + 1.5}`}
strokeDashoffset={-b.offset}
/>
))}
</svg>
<div className="absolute inset-0 grid place-content-center text-center">
<span className="font-da-display text-2xl">{total.split(" ")[0]}</span>
<span className="font-da-mono text-xs text-da-muted-fg">{total.split(" ")[1]}</span>
</div>
</div>
<ul className="space-y-3">
{breakdown.map((b, i) => {
const Icon = ICON[i % ICON.length]!;
return (
<li key={b.label} className="flex items-center gap-3 text-sm">
<span
aria-hidden
className="grid size-8 place-items-center rounded-full"
style={{ background: `color-mix(in oklab, ${TONE[b.tone]} 18%, transparent)`, color: TONE[b.tone] }}
>
<Icon className="size-4" />
</span>
<span className="flex-1">{b.label}</span>
<span className="font-da-mono">{b.value}%</span>
</li>
);
})}
</ul>
</div>
<p className="mt-6 rounded-da-md bg-da-accent px-4 py-3 text-sm text-da-accent-fg">
<strong className="font-medium">Biggest lever:</strong> switching 3 freight lanes to rail could save ~38 tCO₂e a year.
</p>
</figure>
</div>
</section>
);
}
export default HeroFootprint;
modules/organic-soft/section/hero-footprint/index.tsx
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| eyebrow | string | — | Small label above the heading. |
| title | string | — | Heading. |
| description | string | — | Supporting text. |
| primary | { label: string; href: string } | — | Primary. |
| secondary | { label: string; href: string } | — | Secondary. |
| total | string | — | Total. |
| breakdown | { label: string; value: number; tone: "primary" | "accent" | "secondary" | "warning" }[] | — | Breakdown. |
| className | string | — | Extra classes on the root. |
Other hero variants in Organic Soft
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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).
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.
Hero Proof
Centered proof-first hero on a faint grid: announcement badge, headline, CTAs, a four-stat bordered strip and a customer wordmark row.
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.
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).
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.
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.