Skip to documentation content

Footer blocks

Minimal, directory, and studio footers that keep their structure on small screens.

Footers are often the most visited part of a page. Links have their own label, targets grow to 44 pixels on touch screens, and long names wrap.

The brand with a line of links, then the legal line. Two rows and one rule.

npx honestui@latest add footer-minimal
footer-minimal.tsx
import * as React from "react"

import { SpoolLogo } from "@/components/marketing/foundation/example-brands"
import {
  MarketingContainer,
  MarketingSection,
  type Surface,
} from "@/components/marketing/foundation/section"
import type { MarketingLink } from "@/components/marketing/foundation/types"

interface FooterMinimalProps {
  logo?: React.ReactNode
  homeHref?: string
  description?: React.ReactNode
  links?: MarketingLink[]
  copyright?: React.ReactNode
  legalLinks?: MarketingLink[]
  surface?: Surface
  /** An anchor for links within the page. */
  id?: string
  className?: string
}

const DEFAULT_LINKS: MarketingLink[] = [
  { label: "Docs", href: "#docs" },
  { label: "Pricing", href: "#pricing" },
  { label: "Status", href: "#status" },
  { label: "Changelog", href: "#changelog" },
  { label: "GitHub", href: "#github" },
]

const DEFAULT_LEGAL: MarketingLink[] = [
  { label: "Privacy", href: "#privacy" },
  { label: "Terms", href: "#terms" },
]

/** Two calm rows: the brand with its links, then the legal line. */
export function FooterMinimal({
  logo = <SpoolLogo />,
  homeHref = "/",
  description = "Webhooks that arrive once, in order.",
  links = DEFAULT_LINKS,
  copyright = "© 2026 Spool Systems",
  legalLinks = DEFAULT_LEGAL,
  surface = "plain",
  id,
  className,
}: FooterMinimalProps) {
  return (
    <MarketingSection
      as="footer"
      surface={surface}
      id={id}
      className={className}
      style={{ paddingBottom: 0 }}
    >
      <MarketingContainer>
        <div className="grid gap-x-12 gap-y-9 border-t-[0.5px] border-(--mkt-line-strong) pt-12 pb-12 md:grid-cols-[1fr_auto] md:pt-14">
          <div>
            <a href={homeHref} className="mkt-link inline-flex" data-touch="">
              {logo}
            </a>
            {description && <p className="mkt-meta mt-3 max-w-[22rem]">{description}</p>}
          </div>
          <nav aria-label="Footer">
            <ul className="m-0 grid list-none grid-cols-2 gap-x-8 p-0 sm:flex sm:flex-wrap">
              {links.map((link) => (
                <li key={link.label}>
                  <a
                    href={link.href}
                    className="mkt-link inline-flex min-h-11 items-center text-[0.9375rem] leading-6 tracking-[-0.008em] md:min-h-0"
                  >
                    {link.label}
                  </a>
                </li>
              ))}
            </ul>
          </nav>
        </div>
        <div className="flex flex-wrap items-center justify-between gap-x-8 gap-y-1 border-t-[0.5px] border-(--mkt-line) py-5">
          <p className="mkt-meta">{copyright}</p>
          <ul className="m-0 flex list-none gap-6 p-0">
            {legalLinks.map((link) => (
              <li key={link.label}>
                <a
                  href={link.href}
                  className="mkt-link mkt-meta inline-block py-1"
                  data-tone="soft"
                  data-touch=""
                >
                  {link.label}
                </a>
              </li>
            ))}
          </ul>
        </div>
      </MarketingContainer>
    </MarketingSection>
  )
}

export type { FooterMinimalProps }
DetailGuidance
Use it forSmall products, developer tools, and personal sites.
ContentUp to six links and two or three legal links.
OptionalThe description.
StatesLinks show a focus ring.
RequiresFoundation, Button
Goes well withEditorial closing statement, Usage-based pricing

A brand column of four and four link groups of two on a twelve-column grid. Groups become two columns on a phone.

npx honestui@latest add footer-directory
footer-directory.tsx
import * as React from "react"

import { RectoLogo } from "@/components/marketing/foundation/example-brands"
import {
  MarketingContainer,
  MarketingSection,
  type Surface,
} from "@/components/marketing/foundation/section"
import type {
  MarketingLink,
  MarketingLinkGroup,
} from "@/components/marketing/foundation/types"

interface FooterDirectoryProps {
  logo?: React.ReactNode
  homeHref?: string
  description?: React.ReactNode
  /** Four groups. */
  groups?: MarketingLinkGroup[]
  copyright?: React.ReactNode
  /** Legal pages, a status page, or a language. */
  utilityLinks?: MarketingLink[]
  surface?: Surface
  /** An anchor for links within the page. */
  id?: string
  className?: string
}

const link = (label: string): MarketingLink => ({
  label,
  href: `#${label.toLowerCase().replace(/[^a-z]+/g, "-")}`,
})

const DEFAULT_GROUPS: MarketingLinkGroup[] = [
  {
    label: "Product",
    links: ["Documents", "Approvals", "Versions", "Search", "Pricing"].map(link),
  },
  {
    label: "Resources",
    links: ["Guides", "Templates", "Changelog", "Status"].map(link),
  },
  {
    label: "Company",
    links: ["About", "Customers", "Careers", "Press"].map(link),
  },
  {
    label: "Support",
    links: ["Help center", "Contact", "Security", "Data regions"].map(link),
  },
]

/** A brand column and four link groups on one twelve-column grid. */
export function FooterDirectory({
  logo = <RectoLogo />,
  homeHref = "/",
  description = "Document approval for teams whose words have to be right.",
  groups = DEFAULT_GROUPS,
  copyright = "© 2026 Recto Software AB",
  utilityLinks = ["Privacy", "Terms", "Cookies"].map(link),
  surface = "wash",
  id,
  className,
}: FooterDirectoryProps) {
  return (
    <MarketingSection
      as="footer"
      surface={surface}
      id={id}
      className={className}
      style={{ paddingTop: "clamp(4rem, 3.2rem + 2.6vw, 6rem)", paddingBottom: 0 }}
    >
      <MarketingContainer>
        <div className="grid gap-x-(--mkt-column-gap) gap-y-12 lg:grid-cols-12">
          <div className="lg:col-span-4">
            <a href={homeHref} className="mkt-link inline-flex" data-touch="">
              {logo}
            </a>
            {description && <p className="mkt-body mt-4 max-w-[17rem]">{description}</p>}
          </div>
          <div className="grid grid-cols-2 gap-x-6 gap-y-10 sm:grid-cols-4 lg:col-span-8 lg:gap-x-(--mkt-column-gap)">
            {groups.map((group) => (
              <nav key={group.label} aria-label={group.label}>
                <p className="mkt-meta">{group.label}</p>
                <ul className="m-0 mt-2.5 list-none p-0">
                  {group.links.map((item) => (
                    <li key={item.label}>
                      <a
                        href={item.href}
                        className="mkt-link inline-block py-1 text-[0.9375rem] leading-6 tracking-[-0.008em] pointer-coarse:py-2.5"
                      >
                        {item.label}
                      </a>
                    </li>
                  ))}
                </ul>
              </nav>
            ))}
          </div>
        </div>

        <div className="mt-[clamp(3.5rem,2.5rem+3vw,6rem)] flex flex-wrap items-center justify-between gap-x-8 gap-y-2 border-t-[0.5px] border-(--mkt-line-strong) py-6">
          <p className="mkt-meta">{copyright}</p>
          <ul className="m-0 flex list-none flex-wrap gap-x-6 p-0">
            {utilityLinks.map((item) => (
              <li key={item.label}>
                <a
                  href={item.href}
                  className="mkt-link mkt-meta inline-block py-1"
                  data-tone="soft"
                  data-touch=""
                >
                  {item.label}
                </a>
              </li>
            ))}
          </ul>
        </div>
      </MarketingContainer>
    </MarketingSection>
  )
}

export type { FooterDirectoryProps }
DetailGuidance
Use it forSoftware with product, resource, company, and support pages.
ContentFour groups of three to six links.
OptionalThe description, the utility links, and the surface.
StatesLinks show a focus ring.
RequiresFoundation, Button
Goes well withClosing message with product crop, Editorial closing statement

The invitation is the footer. A wordmark runs from one edge of the content to the other, with the same space below it as beside it. Set wordmarkWidth so yours meets both edges.

npx honestui@latest add footer-studio
footer-studio.tsx
import * as React from "react"

import { cn } from "@/lib/utils"

import {
  MarketingContainer,
  MarketingSection,
  type Surface,
} from "@/components/marketing/foundation/section"
import { MarketingHeading } from "@/components/marketing/foundation/section-heading"
import type { MarketingLinkGroup } from "@/components/marketing/foundation/types"

interface FooterStudioProps {
  title?: React.ReactNode
  email?: string
  /** Address, hours, or a phone number. */
  details?: { label: string; lines: string[] }[]
  linkGroups?: MarketingLinkGroup[]
  /** Set large across the bottom. Pass null to leave it out. */
  wordmark?: string | null
  /** The wordmark's width in ems. Lower it until the word meets both edges. */
  wordmarkWidth?: number
  legal?: React.ReactNode
  surface?: Surface
  /** An anchor for links within the page. */
  id?: string
  className?: string
}

const DEFAULT_DETAILS = [
  {
    label: "Studio",
    lines: ["Rua do Almada 412", "4050-034 Porto, Portugal"],
  },
]

const DEFAULT_GROUPS: MarketingLinkGroup[] = [
  {
    label: "Pages",
    links: [
      { label: "Work", href: "#work" },
      { label: "Studio", href: "#studio" },
      { label: "Journal", href: "#journal" },
    ],
  },
  {
    label: "Elsewhere",
    links: [
      { label: "Instagram", href: "#instagram" },
      { label: "Are.na", href: "#arena" },
      { label: "LinkedIn", href: "#linkedin" },
    ],
  },
]

/** The invitation is the footer. Everything else is small and well aligned. */
export function FooterStudio({
  title = "Tell us about the place.",
  email = "hello@ferrow.example",
  details = DEFAULT_DETAILS,
  linkGroups = DEFAULT_GROUPS,
  wordmark = "Ferrow",
  wordmarkWidth = 2.803,
  legal = "© 2026 Ferrow",
  surface = "inverse",
  id,
  className,
}: FooterStudioProps) {
  return (
    <MarketingSection
      as="footer"
      surface={surface}
      id={id}
      className={className}
      style={{ paddingTop: "clamp(4.5rem, 3rem + 5vw, 8rem)", paddingBottom: 0 }}
    >
      <MarketingContainer size="wide">
        <MarketingHeading size="hero" className="-ms-[0.04em] max-w-[12em] [overflow-wrap:anywhere]">
          {title}
        </MarketingHeading>
        {email && (
          <a
            href={`mailto:${email}`}
            className="mkt-link mt-4 inline-block py-2 text-(length:--mkt-size-quote) leading-[1.2] tracking-[-0.03em] [overflow-wrap:anywhere]"
            data-underline=""
          >
            {email}
          </a>
        )}

        <div className="mt-[clamp(4rem,2rem+7vw,9rem)] grid grid-cols-2 gap-x-(--mkt-column-gap) gap-y-10 lg:grid-cols-12">
          <div className="col-span-2 flex flex-wrap gap-x-14 gap-y-8 lg:col-span-8">
            {details.map((detail) => (
              <div key={detail.label}>
                <p className="mkt-meta">{detail.label}</p>
                <address className="mt-3 text-[0.9375rem] leading-6 not-italic">
                  {detail.lines.map((line) => (
                    <span key={line} className="block">
                      {line}
                    </span>
                  ))}
                </address>
              </div>
            ))}
          </div>
          {linkGroups.map((group) => (
            <nav key={group.label} aria-label={group.label} className="lg:col-span-2">
              <p className="mkt-meta">{group.label}</p>
              <ul className="m-0 mt-2 grid list-none p-0">
                {group.links.map((link) => (
                  <li key={link.label}>
                    <a
                      href={link.href}
                      data-touch=""
                      className="mkt-link inline-block py-1 text-[0.9375rem] leading-6 pointer-coarse:py-2.5"
                    >
                      {link.label}
                    </a>
                  </li>
                ))}
              </ul>
            </nav>
          ))}
        </div>

        <div className="mt-10 flex flex-wrap items-center justify-between gap-x-6 gap-y-2 border-t-[0.5px] border-(--mkt-line-strong) py-5">
          <p className="mkt-meta">{legal}</p>
          <a href="#top" className="mkt-link mkt-meta" data-tone="soft" data-touch="">
            Back to top
          </a>
        </div>

        {wordmark && (
          <div aria-hidden="true" className="@container mt-4 overflow-clip pb-(--mkt-gutter)">
            {/* The line ends at the baseline, with room below it only for letters that descend. */}
            <p
              className={cn(
                "m-0 -ms-[0.086em] text-[calc(100cqw/var(--wordmark-width))] leading-[0.75] tracking-[-0.065em] whitespace-nowrap text-(--mkt-ink) [font-weight:500] select-none",
                /[gjpqyQ]/.test(wordmark) && "pb-[0.22em]"
              )}
              style={{ "--wordmark-width": wordmarkWidth } as React.CSSProperties}
            >
              {wordmark}
            </p>
          </div>
        )}
      </MarketingContainer>
    </MarketingSection>
  )
}

export type { FooterStudioProps }
DetailGuidance
Use it forStudios, portfolios, and strongly branded products.
ContentA headline of three to six words, one address, and two short link groups.
OptionalThe email, the details, and the wordmark. Pass null to leave it out.
StatesLong emails and names wrap anywhere they need to.
RequiresFoundation, Button
Goes well withEditorial statement hero, Studio inquiry

Usage

Every prop has a default, so a block renders as soon as it is installed. Pass your own content to replace it.

import { FooterDirectory } from "@/components/marketing/footer-directory"

<FooterDirectory
  logo={<Logo />}
  groups={[{ label: "Product", links: [{ label: "Pricing", href: "/pricing" }] }]}
/>

FooterStudio

PropTypeDefaultDescription
emailstring–Set large under the headline.
wordmarkstring | null"Ferrow"Drawn across the bottom of the footer, hidden from assistive technology.
wordmarkWidthnumber2.803The width of the word in ems. Lower it until the word meets both edges.
surfaceplain|wash|inverse"inverse"The ground the footer sits on.