Skip to content

Footer Newsletter

Footer with an inline journal signup: logo + rounded email form in a sage-tinted card on the left, two link columns on the right, and a sand-colored bottom strip.

organic-soft/section/footer-newsletter
Open ↗

Source

"use client";

import { useId, useState, type FormEvent } from "react";
import { cn } from "@/lib/utils";

export interface FooterNewsletterProps {
  brand?: string;
  brandHref?: string;
  columns?: { title: string; links: { label: string; href: string }[] }[];
  onSubscribe?: (email: string) => void;
  className?: string;
}

const DEFAULT_COLUMNS = [
  {
    title: "Product",
    links: [
      { label: "Measure", href: "#measure" },
      { label: "Reduce", href: "#reduce" },
      { label: "Report", href: "#report" },
    ],
  },
  {
    title: "Company",
    links: [
      { label: "About", href: "#about" },
      { label: "Careers", href: "#careers" },
      { label: "Contact", href: "#contact" },
    ],
  },
];

function GroveMark({ className }: { className?: string }) {
  return (
    <svg aria-hidden viewBox="0 0 32 32" className={cn("size-8 shrink-0", className)}>
      <circle cx="16" cy="16" r="16" fill="var(--da-primary)" />
      <path d="M16 25V13" stroke="var(--da-primary-fg)" strokeWidth="2" strokeLinecap="round" />
      <path d="M16 17c-4 0-6.5-2.6-6.5-6.5 4 0 6.5 2.6 6.5 6.5Z" fill="var(--da-primary-fg)" opacity=".85" />
      <path d="M16 14c3.6 0 6-2.3 6-6-3.6 0-6 2.3-6 6Z" fill="var(--da-primary-fg)" />
    </svg>
  );
}

/** Footer with an inline journal signup: logo + rounded email form in a sage-tinted card on the left, two link columns on the right, and a sand-colored bottom strip. */
export function FooterNewsletter({ brand = "Grove", brandHref = "/", columns = DEFAULT_COLUMNS, onSubscribe, className }: FooterNewsletterProps) {
  const id = useId();
  const [done, setDone] = useState(false);
  const submit = (e: FormEvent<HTMLFormElement>) => {
    e.preventDefault();
    onSubscribe?.(String(new FormData(e.currentTarget).get("email")));
    setDone(true);
  };
  return (
    <footer className={cn("bg-da-bg text-da-fg", className)}>
      <div className="da-container grid gap-10 py-14 lg:grid-cols-[1.4fr_1fr]">
        <div className="rounded-da-lg bg-da-accent p-8 text-da-accent-fg">
          <a href={brandHref} className="da-focus inline-flex items-center gap-2.5 rounded-da-pill font-da-display text-2xl">
            <GroveMark />
            {brand}
          </a>
          <p className="mt-4 max-w-sm">A calm monthly letter on climate work inside companies.</p>
          {done ? (
            <p role="status" className="mt-6 font-da-display text-xl">
              You’re in. Thank you!
            </p>
          ) : (
            <form onSubmit={submit} className="mt-6 flex max-w-md flex-col gap-2 sm:flex-row">
              <label htmlFor={id} className="sr-only">
                Email
              </label>
              <input
                id={id}
                name="email"
                type="email"
                required
                autoComplete="email"
                placeholder="you@company.com"
                className="da-focus h-12 min-w-0 rounded-da-pill bg-da-surface px-5 text-da-surface-fg placeholder:text-da-muted-fg sm:flex-1"
              />
              <button type="submit" className="da-focus h-12 rounded-da-pill bg-da-primary px-6 font-medium text-da-primary-fg hover:bg-da-primary/90">
                Subscribe
              </button>
            </form>
          )}
        </div>
        <div className="grid grid-cols-2 gap-8 self-center">
          {columns.map((c) => (
            <nav key={c.title} aria-label={c.title}>
              <h2 className="font-da-display text-lg">{c.title}</h2>
              <ul className="mt-4 space-y-2.5">
                {c.links.map((l) => (
                  <li key={l.label}>
                    <a href={l.href} className="da-focus rounded-da-sm text-da-muted-fg hover:text-da-fg">
                      {l.label}
                    </a>
                  </li>
                ))}
              </ul>
            </nav>
          ))}
        </div>
      </div>
      <p className="bg-da-surface-2 py-5 text-center text-sm text-da-muted-fg">© 2026 {brand} SAS · Privacy · Terms · Imprint</p>
    </footer>
  );
}

export default FooterNewsletter;

modules/organic-soft/section/footer-newsletter/index.tsx

Props

PropTypeDefaultDescription
brandstring—Brand name.
brandHrefstring—Brand link target.
columns{ title: string; links: { label: string; href: string }[] }[]—Columns.
onSubscribe(email: string) => void—Callback.
classNamestring—Extra classes on the root.

Other footer variants in Organic Soft

Footer in other art directions

Footer Bar

Single-row ruled footer for apps and docs: wordmark, link cells that flood yellow on hover, green status square and copyright, each separated by vertical strokes; stacks on mobile.

BrutalistFooter

Footer CTA

Footer that opens with a full-bleed yellow call-to-action band (huge headline + ink button), then brand with social chips, three link columns and a copyright line on paper.

BrutalistFooter

Footer Mega

Inverted ink footer with brand + status pill, three link columns, a viewport-wide wordmark and a legal bar. Link hover paints a yellow highlight.

BrutalistFooter

Footer Sitemap

Dense sitemap footer: boxed newsletter strip with success state, five ruled link columns with pink badges (New, hiring count), then brand, legal links and a language select.

BrutalistFooter

Footer Cta

Glass footer panel that opens with a gradient CTA band (headline + white button), then brand, tagline, three link columns and a legal row.

GlassFooter

Footer Glass

Inset frosted footer panel with brand, tagline, pill newsletter form (success state), three link columns and a legal bar.

GlassFooter

Footer Pill

Compact floating glass pill footer: gradient dot brand with copyright, inline links and round social buttons; becomes a stacked rounded card on mobile.

GlassFooter

Footer Wordmark

A giant gradient brand wordmark sits behind a frosted glass panel holding three link columns and the legal line, so the letters glow through the blur.

GlassFooter

Footer Minimal

Single-row footer: small square mark, brand and copyright, a handful of links and a live ‘All systems normal’ status pill. Stacks on mobile.

MinimalFooter

Footer Newsletter

Tinted footer with brand, tagline and an inline newsletter form on the left, three link columns on the right and a legal row below.

MinimalFooter

Footer Simple

Quiet footer: brand, one-line description and a live status pill with pulsing dot, three link columns in muted text, and a hairline bottom bar with copyright and social links.

MinimalFooter

Footer Wordmark

Footer with a row of links, address and socials, ending on a giant edge-to-edge lowercase brand wordmark that fades into the page and is cropped by the bottom edge.

MinimalFooter

Footer Columns

Footer with a newsletter: underline-input “Studio notes” signup in the first half, link columns in the second, all on a hairline grid; mono copyright row.

Mono CleanFooter

Footer Giant

Signature footer: small link rows above, and the brand name set enormous across the full width at the bottom, clipped by the page edge; inverted (ink) background.

Mono CleanFooter

Footer Minimal

One-line footer: logo mark, copyright, and links separated by slashes — all in mono caps on a single hairline row; wraps gracefully on mobile.

Mono CleanFooter

Footer Mono

Grid footer: ink top rule, logo + one-line description in the first columns, three mono-headed link columns, and a bottom row of legal links and a live-status signal dot.

Mono CleanFooter

Footer Compact

Single-row compact footer: logo mark + copyright on the left, inline links on the right, hairline top border; stacks on mobile.

Neo CorporateFooter

Footer Enterprise

Large enterprise footer on surface-2: brand + tagline + region selector on the left, five link columns, then a bottom bar with legal links, compliance chips and copyright.

Neo CorporateFooter

Footer Newsletter

Footer led by a newsletter band (“The Finance Brief”) with an inline email form, then three link columns and a copyright line.

Neo CorporateFooter

Footer Status

Developer-oriented dark footer (fg/bg inverted): brand, live system-status pill with pulsing dot, API version in mono, and three link columns.

Neo CorporateFooter

Footer Columns

Classic footer on a soft panel with big rounded top corners: shape logo and tagline, three link columns in rounded headings, and a legal row with a language pill.

Soft FlatFooter

Footer Cta

Footer opening with a lavender CTA card that overlaps the top of a soft bottom band holding the brand, inline links and legal line.

Soft FlatFooter

Footer Pastel

Playful footer where each link column is its own pastel tile (peach, mint, lavender) plus a butter brand tile with round emoji social buttons and the legal line.

Soft FlatFooter

Footer Simple

Centered minimal footer: rounded wordmark with a periwinkle dot, a row of soft pill links and a small “made with care” line.

Soft FlatFooter