Site footer
A site footer with brand, link columns and a legal line. Server-component friendly.
demos/site-footer.tsx
import { SiteFooter } from "pixelbits/blocks/site-footer";
export default function Demo() {
return (
<div className="w-full overflow-hidden rounded-pb-md border border-pb-border">
<SiteFooter
className="border-t-0"
brand={
<span className="text-sm font-medium">
pixel<span className="font-light">bits</span>
</span>
}
tagline="Pixels, crafted with care."
columns={[
{
title: "Kit",
links: [
{ label: "Docs", href: "#docs" },
{ label: "Components", href: "#components" },
],
},
{
title: "Studio",
links: [
{ label: "About", href: "#about" },
{ label: "Contact", href: "#contact" },
],
},
]}
legal="© 2026 Ali Moradi · MIT"
/>
</div>
);
}Installation
npm: import
import { SiteFooter } from "pixelbits/site-footer";shadcn: copy the source
npx shadcn add https://pixelbits.ali-moradi-develop.com/r/block-site-footer.jsonAPI
<SiteFooter>
A site footer with brand, link columns and a legal line. Server-component friendly.
Example
<SiteFooter brand={<Logo />} tagline="Pixels, crafted with care." columns={[{ title: "Kit", links: [{ label: "Docs", href: "/docs" }] }]} legal="© 2026 Ali Moradi" />| Prop | Type | Default | Description |
|---|---|---|---|
| brand | ReactNode | — | Logo or name, with an optional line under it. |
| tagline | ReactNode | — | Short text under the brand. |
| columns | FooterColumn[] | — | Link columns. |
| legal | ReactNode | — | The bottom line: copyright, legal links. |
Also accepts every prop of HTMLAttributes<HTMLElement>.