Synertech Web/ui v0.57.5 Site Storybook

Documentation / Layout

Footer

Server-compatible@synertech/uiOpen in Storybook

The footer of a site or an application, built from independent pieces: Footer (the <footer> element, its variant and its height), FooterSection (a responsive grid of 1 to 6 columns), FooterColumn (a heading and its links), FooterLink, FooterSocial / FooterSocialLink and FooterBottom (the copyright line).

Four variants: default, bordered, minimal and dark. sticky pins it to the bottom of the window. FooterLink with external opens a new tab (rel="noopener noreferrer"); FooterSocialLink always does and takes its accessible name from label. No hooks: the footer renders on the server.

The copyright is the application's: FooterBottom writes no name, year or rights notice of its own. copyright takes a text or any content, a link to the owner's site for instance.

Examples

Minimal footer

A single line: the copyright and a few legal links, placed directly in Footer — FooterBottom would add a rule and a top margin.

Open in a tab
import { Footer, FooterLink } from "@synertech/ui";

export function Minimal() {
  return (
    <Footer variant="minimal" size="sm">
      <div className="flex flex-col items-center justify-between gap-4 text-sm sm:flex-row">
        <p>© 2026 Synertech. Tous droits réservés.</p>
        <nav aria-label="Mentions" className="flex gap-4">
          <FooterLink href="/mentions-legales">Mentions légales</FooterLink>
          <FooterLink href="/confidentialite">Confidentialité</FooterLink>
        </nav>
      </div>
    </Footer>
  );
}

Link columns

FooterSection spreads the FooterColumns over a grid that goes from one to columns columns depending on the width.

Open in a tab
import { Footer, FooterBottom, FooterColumn, FooterLink, FooterSection } from "@synertech/ui";

export function Columns() {
  return (
    <Footer variant="bordered">
      <FooterSection columns={3}>
        <FooterColumn title="Produit">
          <FooterLink href="/fonctionnalites">Fonctionnalités</FooterLink>
          <FooterLink href="/tarifs">Tarifs</FooterLink>
        </FooterColumn>
        <FooterColumn title="Ressources">
          <FooterLink href="/documentation">Documentation</FooterLink>
          <FooterLink href="https://ui.synertechweb.com/" external>
            Storybook
          </FooterLink>
        </FooterColumn>
        <FooterColumn title="Entreprise">
          <FooterLink href="/a-propos">À propos</FooterLink>
          <FooterLink href="/contact">Contact</FooterLink>
        </FooterColumn>
      </FooterSection>
      <FooterBottom copyright="© 2026 Synertech" />
    </Footer>
  );
}

Social networks

FooterSocialLink only shows an icon: label becomes its aria-label.

Open in a tab
import { Footer, FooterBottom, FooterColumn, FooterSection, FooterSocial, FooterSocialLink } from "@synertech/ui";

const LinkedInIcon = () => (
  <svg className="h-5 w-5" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true">
    <path d="M4.98 3.5a2.5 2.5 0 11-.01 5 2.5 2.5 0 01.01-5zM3 9h4v12H3zM9 9h3.8v1.7h.05c.53-1 1.83-2.05 3.77-2.05 4.03 0 4.78 2.65 4.78 6.1V21h-4v-5.5c0-1.3-.02-3-1.83-3-1.84 0-2.12 1.43-2.12 2.9V21H9z" />
  </svg>
);

const MailIcon = () => (
  <svg
    className="h-5 w-5"
    fill="none"
    viewBox="0 0 24 24"
    stroke="currentColor"
    strokeWidth={2}
    aria-hidden="true"
  >
    <path
      strokeLinecap="round"
      strokeLinejoin="round"
      d="M3 8l9 6 9-6M5 19h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z"
    />
  </svg>
);

export function Social() {
  return (
    <Footer size="sm">
      <FooterSection columns={2}>
        <FooterColumn title="Suivez-nous">
          <FooterSocial>
            <FooterSocialLink
              href="https://www.linkedin.com/"
              label="LinkedIn"
              icon={<LinkedInIcon />}
            />
            <FooterSocialLink
              href="mailto:contact@exemple.fr"
              label="Nous écrire"
              icon={<MailIcon />}
            />
          </FooterSocial>
        </FooterColumn>
      </FooterSection>
      <FooterBottom copyright="© 2026 Synertech" />
    </Footer>
  );
}

Dark variant

The background stays dark whatever the theme, but headings and links keep their light-background colours: cn() does not merge classes, hence Tailwind 4’s ! importance suffix to override them.

Open in a tab
import { Footer, FooterBottom, FooterColumn, FooterLink, FooterSection } from "@synertech/ui";

export function Dark() {
  return (
    <Footer variant="dark" size="lg">
      <FooterSection columns={2}>
        <FooterColumn title="Support" titleClassName="text-white!">
          <FooterLink href="/aide" className="text-gray-400! hover:text-white!">
            Centre d’aide
          </FooterLink>
          <FooterLink href="/statut" className="text-gray-400! hover:text-white!">
            État des services
          </FooterLink>
        </FooterColumn>
        <FooterColumn title="Légal" titleClassName="text-white!">
          <FooterLink href="/cgu" className="text-gray-400! hover:text-white!">
            Conditions d’utilisation
          </FooterLink>
        </FooterColumn>
      </FooterSection>
      <FooterBottom copyright="© 2026 Synertech" className="border-gray-700!" />
    </Footer>
  );
}

API reference

Components

ComponentServer-compatible
import { Footer } from "@synertech/ui";

Props — FooterProps

PropTypeDefaultDescription

+ 278 inherited native attributes from HTMLAttributes, AriaAttributes, DOMAttributes (className, id, aria-*, event handlers…).

FooterBottom

ComponentServer-compatible
import { FooterBottom } from "@synertech/ui";

Props — FooterBottomProps

PropTypeDefaultDescription
children ReactNode —

What sits beside the copyright line: legal links, a language menu, social icons.

+ 278 inherited native attributes from HTMLAttributes, AriaAttributes, DOMAttributes (className, id, aria-*, event handlers…).

FooterColumn

ComponentServer-compatible
import { FooterColumn } from "@synertech/ui";

Props — FooterColumnProps

PropTypeDefaultDescription
children ReactNode —
title string —
titleClassName string —

+ 277 inherited native attributes from HTMLAttributes, AriaAttributes, DOMAttributes (className, id, aria-*, event handlers…).

ComponentServer-compatible
import { FooterLink } from "@synertech/ui";

Props — FooterLinkProps

PropTypeDefaultDescription

+ 286 inherited native attributes from AnchorHTMLAttributes, HTMLAttributes, AriaAttributes (className, id, aria-*, event handlers…).

FooterSection

ComponentServer-compatible
import { FooterSection } from "@synertech/ui";

Props — FooterSectionProps

PropTypeDefaultDescription
children ReactNode —
columns 1 | 2 | 3 | 4 | 5 | 6 —
title string —
titleClassName string —

+ 277 inherited native attributes from HTMLAttributes, AriaAttributes, DOMAttributes (className, id, aria-*, event handlers…).

FooterSocial

ComponentServer-compatible
import { FooterSocial } from "@synertech/ui";

Props — FooterSocialProps

PropTypeDefaultDescription
children ReactNode —

+ 278 inherited native attributes from HTMLAttributes, AriaAttributes, DOMAttributes (className, id, aria-*, event handlers…).

ComponentServer-compatible
import { FooterSocialLink } from "@synertech/ui";

Props — FooterSocialLinkProps

PropTypeDefaultDescription

+ 285 inherited native attributes from AnchorHTMLAttributes, HTMLAttributes, AriaAttributes (className, id, aria-*, event handlers…).