Footer

Logo and tagline, up to four link columns, and a status line.

Install

$ npx shadcn@latest add @nudgekit/footer

Or with no config: npx shadcn@latest add https://ui.nudgekit.app/r/footer.json

Brings in @nudgekit/status, @nudgekit/logo-mark, and the theme.

Usage

usage.tsx
import { Footer } from "@/components/footer"

<Footer
  name="Capture"
  year={2026}
  tagline="The screenshot API for developers."
  columns={[{ title: "Product", links: [{ label: "Pricing", href: "/pricing" }] }]}
/>

Do

  • Pass the year in so the page stays static.

Don't

  • Use more than four link columns.

Code

What the CLI writes into your project. It is yours to change.

components/footer.tsx
import * as React from "react";

import { cn } from "@/lib/utils";
import { Status } from "@/components/ui/status";
import { LogoMark } from "@/components/logo-mark";

export interface FooterProps {
  name: string;
  tagline?: string;
  /** Up to four columns of links. */
  columns: { title: string; links: { label: string; href: string }[] }[];
  /** Shown in the copyright line. Pass it in rather than computing it, so the footer stays static. */
  year?: number;
  /** Shown bottom right. Pass false to hide. */
  status?: { label: string; tone?: "ok" | "warn" | "bad" } | false;
  className?: string;
}

function Footer({ name, tagline, columns, year, status = { label: "All systems operational" }, className }: FooterProps) {
  return (
    <footer data-slot="footer" className={cn("border-t border-border", className)}>
      <div className="mx-auto max-w-[1120px] px-6 pb-9 pt-12 text-sm text-muted-foreground">
        <div className="grid gap-8 sm:grid-cols-2 md:grid-cols-[1.6fr_repeat(3,1fr)]">
          <div>
            <LogoMark name={name} />
            {tagline && <p className="mt-3.5 max-w-[260px] leading-relaxed">{tagline}</p>}
          </div>
          {columns.slice(0, 4).map((c) => (
            <div key={c.title}>
              <p className="mb-3 font-medium text-foreground">{c.title}</p>
              <ul className="space-y-2">
                {c.links.map((l) => (
                  <li key={l.label}>
                    <a href={l.href} className="transition-colors hover:text-foreground">
                      {l.label}
                    </a>
                  </li>
                ))}
              </ul>
            </div>
          ))}
        </div>
        <div className="mt-9 flex flex-wrap justify-between gap-4 border-t border-border pt-5 text-[13px] text-faint">
          <span>
            © {year ? `${year} ` : ""}
            {name}
          </span>
          {status && <Status tone={status.tone ?? "ok"}>{status.label}</Status>}
        </div>
      </div>
    </footer>
  );
}

export { Footer };