Footer

A site's foot, in a footer landmark: its brand and a line about it, columns of links, social links and the fine print.

import { Footer, type FooterColumn } from "@produkto/ui/Footer";
import {
  GithubIcon,
  Hexagon01Icon,
  Linkedin01Icon,
  NewTwitterIcon,
  YoutubeIcon,
} from "@hugeicons/core-free-icons";
import { Icon } from "@produkto/ui/Icon";
import type { BlockLink, BlockSocialLink } from "@produkto/ui/Section";

const columns: FooterColumn[] = [
  {
    title: "Column 1",
    links: [
      { label: "Link 1", link: "#" },
      { label: "Link 2", link: "#" },
      { label: "Link 3", link: "#" },
    ],
  },
  {
    title: "Column 2",
    links: [
      { label: "Link 1", link: "#" },
      { label: "Link 2", link: "#" },
      { label: "Link 3", link: "#" },
    ],
  },
  {
    title: "Column 3",
    links: [
      { label: "Link 1", link: "#" },
      { label: "Link 2", link: "#" },
    ],
  },
  {
    title: "Column 4",
    links: [
      { label: "Link 1", link: "#" },
      { label: "Link 2", link: "#" },
    ],
  },
];

const social: BlockSocialLink[] = [
  { icon: <Icon icon={NewTwitterIcon} />, label: "X", link: "#" },
  { icon: <Icon icon={GithubIcon} />, label: "GitHub", link: "#" },
  { icon: <Icon icon={Linkedin01Icon} />, label: "LinkedIn", link: "#" },
  { icon: <Icon icon={YoutubeIcon} />, label: "YouTube", link: "#" },
];

const legal: BlockLink[] = [
  { label: "Link 1", link: "#" },
  { label: "Link 2", link: "#" },
];

const Example = () => (
  <Footer
    brand={
      <span className="flex items-center gap-2">
        <Icon icon={Hexagon01Icon} size={22} />
        Brand
      </span>
    }
    columns={columns}
    copyright="© 2026 Brand. All rights reserved."
    description="A short line about what the product does goes here."
    legal={legal}
    social={social}
  />
);

export default Example;

Usage

import { Footer, type FooterColumn } from "@produkto/ui/Footer";
import type { BlockLink } from "@produkto/ui/Section";
const columns: FooterColumn[] = [
  {
    title: "Column 1",
    links: [
      { label: "Link 1", link: "#" },
      { label: "Link 2", link: "#" },
    ],
  },
  {
    title: "Column 2",
    links: [
      { label: "Link 1", link: "#" },
      { label: "Link 2", link: "#" },
    ],
  },
];

const legal: BlockLink[] = [
  { label: "Link 1", link: "#" },
  { label: "Link 2", link: "#" },
];

<Footer
  brand="Brand"
  description="A short line about what the product does goes here."
  columns={columns}
  legal={legal}
  copyright="© 2026 Brand. All rights reserved."
/>

Examples

One row

links gives a small site one row of links in the place of columns.

import { Footer } from "@produkto/ui/Footer";
import {
  GithubIcon,
  Hexagon01Icon,
  NewTwitterIcon,
} from "@hugeicons/core-free-icons";
import { Icon } from "@produkto/ui/Icon";
import type { BlockLink, BlockSocialLink } from "@produkto/ui/Section";

const links: BlockLink[] = [
  { label: "Link 1", link: "#" },
  { label: "Link 2", link: "#" },
  { label: "Link 3", link: "#" },
  { label: "Link 4", link: "#" },
];

const social: BlockSocialLink[] = [
  { icon: <Icon icon={NewTwitterIcon} />, label: "X", link: "#" },
  { icon: <Icon icon={GithubIcon} />, label: "GitHub", link: "#" },
];

const Example = () => (
  <Footer
    brand={
      <span className="flex items-center gap-2">
        <Icon icon={Hexagon01Icon} size={22} />
        Brand
      </span>
    }
    copyright="© 2026 Brand. All rights reserved."
    links={links}
    social={social}
  />
);

export default Example;

Centred

align="center" sets everything on one centred axis, for a small site, here on the dark theme that closes a page as a deep band.

import { Footer } from "@produkto/ui/Footer";
import { GithubIcon, NewTwitterIcon } from "@hugeicons/core-free-icons";
import { Icon } from "@produkto/ui/Icon";
import type { BlockLink, BlockSocialLink } from "@produkto/ui/Section";

const links: BlockLink[] = [
  { label: "Link 1", link: "#" },
  { label: "Link 2", link: "#" },
  { label: "Link 3", link: "#" },
  { label: "Link 4", link: "#" },
];

const social: BlockSocialLink[] = [
  { icon: <Icon icon={NewTwitterIcon} />, label: "X", link: "#" },
  { icon: <Icon icon={GithubIcon} />, label: "GitHub", link: "#" },
];

const legal: BlockLink[] = [
  { label: "Link 5", link: "#" },
  { label: "Link 6", link: "#" },
];

const Example = () => (
  <Footer
    align="center"
    brand="Brand"
    copyright="© 2026 Brand. All rights reserved."
    description="A short line about the business goes here."
    legal={legal}
    links={links}
    social={social}
    theme="dark"
  />
);

export default Example;

With a closing line

call sets a last title and its button over the footer, above a rule, so the page ends on its ask.

import { Footer } from "@produkto/ui/Footer";
import { GithubIcon, NewTwitterIcon } from "@hugeicons/core-free-icons";
import { Icon } from "@produkto/ui/Icon";
import type { BlockLink, BlockSocialLink } from "@produkto/ui/Section";

const links: BlockLink[] = [
  { label: "Link 1", link: "#" },
  { label: "Link 2", link: "#" },
  { label: "Link 3", link: "#" },
  { label: "Link 4", link: "#" },
];

const social: BlockSocialLink[] = [
  { icon: <Icon icon={NewTwitterIcon} />, label: "X", link: "#" },
  { icon: <Icon icon={GithubIcon} />, label: "GitHub", link: "#" },
];

const Example = () => (
  <Footer
    brand="Brand"
    call={{
      title: "Your headline goes here",
      actions: [{ label: "Primary action", link: "#" }],
    }}
    copyright="© 2026 Brand. All rights reserved."
    description="A short line about the business goes here."
    links={links}
    social={social}
    theme="dark"
  />
);

export default Example;

The name across

wordmark sets the name large across the footer under its links, between two rules; it is hidden from screen readers, as the page names the business already.

import { Footer } from "@produkto/ui/Footer";
import { GithubIcon, NewTwitterIcon } from "@hugeicons/core-free-icons";
import { Icon } from "@produkto/ui/Icon";
import type { BlockLink, BlockSocialLink } from "@produkto/ui/Section";

const links: BlockLink[] = [
  { label: "Link 1", link: "#" },
  { label: "Link 2", link: "#" },
  { label: "Link 3", link: "#" },
  { label: "Link 4", link: "#" },
];

const social: BlockSocialLink[] = [
  { icon: <Icon icon={NewTwitterIcon} />, label: "X", link: "#" },
  { icon: <Icon icon={GithubIcon} />, label: "GitHub", link: "#" },
];

const Example = () => (
  <Footer
    copyright="© 2026 Brand. All rights reserved."
    description="A short line about the business goes here."
    links={links}
    social={social}
    theme="dark"
    wordmark="Brand"
  />
);

export default Example;

With a sign-up form

children go under the brand, here a Label above an email Input with its button.

import { Label } from "@produkto/ui/Label";
import { Footer, type FooterColumn } from "@produkto/ui/Footer";
import { Button } from "@produkto/ui/Button";
import { Input } from "@produkto/ui/Input";
import { Hexagon01Icon } from "@hugeicons/core-free-icons";
import { Icon } from "@produkto/ui/Icon";
import { useId, useState } from "react";

const columns: FooterColumn[] = [
  {
    title: "Column 1",
    links: [
      { label: "Link 1", link: "#" },
      { label: "Link 2", link: "#" },
      { label: "Link 3", link: "#" },
    ],
  },
  {
    title: "Column 2",
    links: [
      { label: "Link 1", link: "#" },
      { label: "Link 2", link: "#" },
      { label: "Link 3", link: "#" },
    ],
  },
  {
    title: "Column 3",
    links: [
      { label: "Link 1", link: "#" },
      { label: "Link 2", link: "#" },
    ],
  },
];

const Example = () => {
  const id = useId();
  const [value, setValue] = useState("");

  return (
    <Footer
      brand={
        <span className="flex items-center gap-2">
          <Icon icon={Hexagon01Icon} size={22} />
          Brand
        </span>
      }
      columns={columns}
      copyright="© 2026 Brand. All rights reserved."
      description="A short line about what the product does goes here."
    >
      <div className="flex flex-col gap-2">
        <Label htmlFor={id}>Label</Label>
        <Input
          end={<Button size="sm">Button</Button>}
          id={id}
          onChange={(event) => setValue(event.target.value)}
          placeholder="Placeholder"
          type="email"
          value={value}
        />
      </div>
    </Footer>
  );
};

export default Example;

Muted

muted lays the footer on the muted background, apart from the page above it.

import { Footer, type FooterColumn } from "@produkto/ui/Footer";
import { Hexagon01Icon } from "@hugeicons/core-free-icons";
import { Icon } from "@produkto/ui/Icon";
import type { BlockLink } from "@produkto/ui/Section";

const columns: FooterColumn[] = [
  {
    title: "Column 1",
    links: [
      { label: "Link 1", link: "#" },
      { label: "Link 2", link: "#" },
      { label: "Link 3", link: "#" },
    ],
  },
  {
    title: "Column 2",
    links: [
      { label: "Link 1", link: "#" },
      { label: "Link 2", link: "#" },
      { label: "Link 3", link: "#" },
    ],
  },
  {
    title: "Column 3",
    links: [
      { label: "Link 1", link: "#" },
      { label: "Link 2", link: "#" },
    ],
  },
];

const legal: BlockLink[] = [
  { label: "Link 1", link: "#" },
  { label: "Link 2", link: "#" },
];

const Example = () => (
  <Footer
    brand={
      <span className="flex items-center gap-2">
        <Icon icon={Hexagon01Icon} size={22} />
        Brand
      </span>
    }
    columns={columns}
    copyright="© 2026 Brand. All rights reserved."
    description="A short line about what the product does goes here."
    legal={legal}
    muted
  />
);

export default Example;

Social links in the fine print

socialPlacement="fine" moves the social links from under the brand into the row with the copyright, so the columns can take the whole width.

import { Footer, type FooterColumn } from "@produkto/ui/Footer";
import { GithubIcon, NewTwitterIcon } from "@hugeicons/core-free-icons";
import { Icon } from "@produkto/ui/Icon";
import type { BlockLink, BlockSocialLink } from "@produkto/ui/Section";

const columns: FooterColumn[] = [
  {
    title: "Column 1",
    links: [
      { label: "Link 1", link: "#" },
      { label: "Link 2", link: "#" },
      { label: "Link 3", link: "#" },
    ],
  },
  {
    title: "Column 2",
    links: [
      { label: "Link 1", link: "#" },
      { label: "Link 2", link: "#" },
      { label: "Link 3", link: "#" },
    ],
  },
  {
    title: "Column 3",
    links: [
      { label: "Link 1", link: "#" },
      { label: "Link 2", link: "#" },
    ],
  },
];

const legal: BlockLink[] = [
  { label: "Link 1", link: "#" },
  { label: "Link 2", link: "#" },
];

const social: BlockSocialLink[] = [
  { icon: <Icon icon={NewTwitterIcon} />, label: "X", link: "#" },
  { icon: <Icon icon={GithubIcon} />, label: "GitHub", link: "#" },
];

const Example = () => (
  <Footer
    columns={columns}
    social={social}
    socialPlacement="fine"
    legal={legal}
    copyright="© 2026 Brand. All rights reserved."
  />
);

export default Example;

API Reference

Footer

FooterProps · blocks/Footer/Footer.types.ts
PropTypeDefault
idstring-
brandReactNode-
descriptionReactNode-
columnsFooterColumn[]-
linksBlockLink[]-
socialBlockSocialLink[]-
socialPlacementFooterSocialPlacement"lead" | "fine""lead"
legalBlockLink[]-
copyrightReactNode-
callFooterCall-
wordmarkReactNode-
alignSectionAlign"start" | "center" | "end""start"
mutedbooleanfalse
themeThemeMode"light" | "dark"-
widthSectionWidth"narrow" | "base" | "wide""base"
classNamestring-
childrenReactNode-

FooterColumn

used by columns
PropTypeDefault
titlerequiredstring-
linksrequiredBlockLink[]-

BlockLink

used by links
PropTypeDefault
labelrequiredstring-
linkrequiredstring-

BlockSocialLink

used by social
PropTypeDefault
iconrequiredReactNode-
labelrequiredstring-
linkrequiredstring-

FooterCall

used by call
PropTypeDefault
titlerequiredReactNode-
actionsrequired(BlockAction | BlockMenuAction)[]-

BlockAction

used by its parts
PropTypeDefault
appearanceButtonAppearance"solid" | "soft" | "outline" | "transparent"-
toneButtonTone"neutral" | "accent" | "destructive" | "success" | "warning" | "info"-
iconReactNode-
iconOnlyboolean-
borderRadiusBlockActionBorderRadius"none" | "xs" | "sm" | "base" | "lg" | "xl" | "full"-
labelrequiredstring-
linkrequiredstring-

BlockMenuAction

used by its parts
PropTypeDefault
labelrequiredstring-
appearanceButtonAppearance"solid" | "soft" | "outline" | "transparent"-
toneButtonTone"neutral" | "accent" | "destructive" | "success" | "warning" | "info"-
iconReactNode-
iconOnlyboolean-
borderRadiusBlockActionBorderRadius"none" | "xs" | "sm" | "base" | "lg" | "xl" | "full"-
itemsrequiredBlockMenuItem[]-

BlockMenuItem

used by its parts
PropTypeDefault
labelrequiredstring-
iconReactNode-
linkstring-
onSelect() => void-