Quiet Link Footer
Canvas-colored footer with multi-column muted link lists (e.g. AI SDK) and a ghost 'View as AI agent' toggle at the bottom; all text gray until hovered.
Rebuilt from vercel.com in the Monochrome Precision style.
npx shadcn@latest add https://justyoink.it/r/monochrome-precision/blocks/minimal-site-footer.json
Looks exactly like vercel.com: brings its fonts and colours, namespaced so your own theme stays untouched.
npx shadcn@latest add https://justyoink.it/r/monochrome-precision/mine/minimal-site-footer.json
Restyled to your project: uses your shadcn colours, fonts and radius, so it matches the rest of your app. Layout, type sizes and motion stay as designed.
Usage
Pass `columns` (array of {title, links}), `brand`, `agentLabel` and `legal` to customize; renders standalone with defaults. Links darken on hover in 100ms and the agent button swaps its icon opacity.
components/minimal-site-footer.tsx
import { useState } from "react"; type Column = { title: string; links: string[] }; type Props = { columns?: Column[]; brand?: string; agentLabel?: string; legal?: string; }; const defaultColumns: Column[] = [ { title: "Platform", links: ["Overview", "Pipelines", "Edge Runtime", "Observability", "Storage"] }, { title: "Toolkit", links: ["Dev Kit", "Command Line", "Templates", "Integrations", "Changelog"] }, { title: "Resources", links: ["Documentation", "Guides", "Community", "Status", "Support"] }, { title: "Company", links: ["About", "Careers", "Press", "Contact", "Partners"] }, { title: "Legal", links: ["Privacy", "Terms", "Security", "Cookies"] }, ]; export default function QuietLinkFooter({ columns = defaultColumns, brand = "Northwind", agentLabel = "View as agent", legal = "© 2025 Northwind Labs, Inc.", }: Props) { const [agent, setAgent] = useState(false); return ( <footer className="bg-canvas font-sans text-secondary border-t border-hairline"> <div className="mx-auto max-w-6xl px-6 py-14"> <div className="grid gap-10 grid-cols-2 md:grid-cols-3 lg:grid-cols-6"> <div className="col-span-2 md:col-span-3 lg:col-span-1 flex items-start"> <a href="#" aria-label={brand} className="flex items-center gap-2 text-ink rounded-xs focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-link-blue"> <svg width="20" height="20" viewBox="0 0 20 20" aria-hidden="true"><path d="M10 2 18 17H2z" fill="currentColor" /></svg> <span className="text-ui font-semibold">{brand}</span> </a> </div> {columns.map((c) => ( <nav key={c.title} aria-label={c.title}> <h3 className="text-ui font-medium text-ink mb-4">{c.title}</h3> <ul className="space-y-3"> {c.links.map((l) => ( <li key={l}> <a href="#" className="cursor-pointer text-ui text-secondary hover:text-ink transition-colors duration-100 ease-[cubic-bezier(0.4,0,0.2,1)] rounded-xs focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-link-blue">{l}</a> </li> ))} </ul> </nav> ))} </div> <div className="mt-14 flex flex-col-reverse gap-4 sm:flex-row sm:items-center sm:justify-between"> <p className="text-caption text-tertiary">{legal}</p> <button type="button" aria-pressed={agent} onClick={() => setAgent(!agent)} className="group/agent inline-flex items-center gap-2 self-start rounded-md px-2 py-1 text-ui text-tertiary hover:text-ink focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-link-blue" > <span className="relative h-4 w-4"> <svg viewBox="0 0 16 16" fill="none" stroke="currentColor" strokeWidth="1.3" className="absolute inset-0 h-4 w-4 opacity-100 group-hover/agent:opacity-0" aria-hidden="true"> <rect x="2.5" y="4" width="11" height="8" rx="2" /> <circle cx="6" cy="8" r="0.6" fill="currentColor" /> <circle cx="10" cy="8" r="0.6" fill="currentColor" /> </svg> <svg viewBox="0 0 16 16" fill="currentColor" className="absolute inset-0 h-4 w-4 opacity-0 group-hover/agent:opacity-100" aria-hidden="true"> <rect x="2.5" y="4" width="11" height="8" rx="2" /> <circle cx="6" cy="8" r="0.9" fill="#fafafa" /> <circle cx="10" cy="8" r="0.9" fill="#fafafa" /> </svg> </span> {agentLabel} </button> </div> </div> </footer> ); }import { useState } from "react"; type Column = { title: string; links: string[] }; type Props = { columns?: Column[]; brand?: string; agentLabel?: string; legal?: string; }; const defaultColumns: Column[] = [ { title: "Platform", links: ["Overview", "Pipelines", "Edge Runtime", "Observability", "Storage"] }, { title: "Toolkit", links: ["Dev Kit", "Command Line", "Templates", "Integrations", "Changelog"] }, { title: "Resources", links: ["Documentation", "Guides", "Community", "Status", "Support"] }, { title: "Company", links: ["About", "Careers", "Press", "Contact", "Partners"] }, { title: "Legal", links: ["Privacy", "Terms", "Security", "Cookies"] }, ]; export default function QuietLinkFooter({ columns = defaultColumns, brand = "Northwind", agentLabel = "View as agent", legal = "© 2025 Northwind Labs, Inc.", }: Props) { const [agent, setAgent] = useState(false); return ( <footer className="bg-background font-sans text-muted-foreground border-t border-border"> <div className="mx-auto max-w-6xl px-6 py-14"> <div className="grid gap-10 grid-cols-2 md:grid-cols-3 lg:grid-cols-6"> <div className="col-span-2 md:col-span-3 lg:col-span-1 flex items-start"> <a href="#" aria-label={brand} className="flex items-center gap-2 text-foreground rounded-sm focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary"> <svg width="20" height="20" viewBox="0 0 20 20" aria-hidden="true"><path d="M10 2 18 17H2z" fill="currentColor" /></svg> <span className="text-monochrome-ui font-semibold">{brand}</span> </a> </div> {columns.map((c) => ( <nav key={c.title} aria-label={c.title}> <h3 className="text-monochrome-ui font-medium text-foreground mb-4">{c.title}</h3> <ul className="space-y-3"> {c.links.map((l) => ( <li key={l}> <a href="#" className="cursor-pointer text-monochrome-ui text-muted-foreground hover:text-foreground transition-colors duration-100 ease-[cubic-bezier(0.4,0,0.2,1)] rounded-sm focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary">{l}</a> </li> ))} </ul> </nav> ))} </div> <div className="mt-14 flex flex-col-reverse gap-4 sm:flex-row sm:items-center sm:justify-between"> <p className="text-monochrome-caption text-muted-foreground">{legal}</p> <button type="button" aria-pressed={agent} onClick={() => setAgent(!agent)} className="group/agent inline-flex items-center gap-2 self-start rounded-md px-2 py-1 text-monochrome-ui text-muted-foreground hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary" > <span className="relative h-4 w-4"> <svg viewBox="0 0 16 16" fill="none" stroke="currentColor" strokeWidth="1.3" className="absolute inset-0 h-4 w-4 opacity-100 group-hover/agent:opacity-0" aria-hidden="true"> <rect x="2.5" y="4" width="11" height="8" rx="2" /> <circle cx="6" cy="8" r="0.6" fill="currentColor" /> <circle cx="10" cy="8" r="0.6" fill="currentColor" /> </svg> <svg viewBox="0 0 16 16" fill="currentColor" className="absolute inset-0 h-4 w-4 opacity-0 group-hover/agent:opacity-100" aria-hidden="true"> <rect x="2.5" y="4" width="11" height="8" rx="2" /> <circle cx="6" cy="8" r="0.9" fill="var(--color-background)" /> <circle cx="10" cy="8" r="0.9" fill="var(--color-background)" /> </svg> </span> {agentLabel} </button> </div> </div> </footer> ); }
Quality checks
Automated, in a real browser · 4d ago- Accessible: not passedElements must meet minimum color contrast ratio thresholds (2 elements)
- Responsive: passedRenders at phone (390px), tablet (768px) and desktop width without sideways scrolling.
- Dark mode: passedStill readable when installed in your theme and switched to dark mode.
- Themeable: passedUses design tokens rather than hard-coded colours, so it follows your theme cleanly.
- Animates cleanly: doesn't applyDoesn't animate, so there's nothing to check.