Site Footer
Server-safe page footer: brand, description and actions, link columns under one navigation, and a legal line. Every part is optional; the layout follows the width of its container.
npx @kznlabs/labsui add site-footeracme.gg
import { SiteFooter } from "@/components/blocks/site-footer";import { ThemeToggle } from "@/components/ui/theme-toggle";export function Footer() { return ( <SiteFooter brand={<a href="/">Acme</a>} description="Clips, bots and merch for game communities." actions={<ThemeToggle />} columns={[ { title: "Product", links: [ { label: "Clips", href: "/clips" }, { label: "Shop", href: "/shop" }, ], }, { title: "Company", links: [ { label: "About", href: "/about" }, { label: "Blog", href: "/blog" }, ], }, ]} legal="© 2026 Acme" /> );}<SiteFooter>
Page footer: brand, link columns and a legal line. Every part is optional.
actionsReactNodeControls under the description, e.g. social links or a ThemeToggle.brandReactNodeLogo link, e.g.<a href="/">Acme</a>.columnsSiteFooterColumn[]Link columns, left to right.descriptionReactNodeOne or two lines under the brand.labelDefault"Footer"stringAccessible name of the links' navigation.legalReactNodeBottom line: copyright, company details, legal links.onNavigate(href: string, event: MouseEvent<HTMLAnchorElement, MouseEvent>) => voidonClickfor every column link, e.g. for client routing or to stub links in a demo.
| Prop | Type | Default |
|---|---|---|
actionsControls under the description, e.g. social links or a ThemeToggle. | ReactNode | — |
brandLogo link, e.g. <a href="/">Acme</a>. | ReactNode | — |
columnsLink columns, left to right. | SiteFooterColumn[] | — |
descriptionOne or two lines under the brand. | ReactNode | — |
labelAccessible name of the links' navigation. | string | "Footer" |
legalBottom line: copyright, company details, legal links. | ReactNode | — |
onNavigateonClick for every column link, e.g. for client routing or to stub links in a demo. | (href: string, event: MouseEvent<HTMLAnchorElement, MouseEvent>) => void | — |
Also accepts every <footer> prop.
- type SiteFooterColumn
- { title: string; links: { label: string; href: string }[]; }
Every component also takes className.