Five-Column Minimal Footer
Logo mark at left and five link columns with white column headings and dim grey links, plus a bottom row of legal links, all on the canvas with a top hairline.
Rebuilt from linear.app in the Obsidian Precision style.
npx shadcn@latest add https://justyoink.it/r/obsidian-precision-5cbef2/blocks/five-column-footer.json
Looks exactly like linear.app: brings its fonts and colours, namespaced so your own theme stays untouched.
npx shadcn@latest add https://justyoink.it/r/obsidian-precision-5cbef2/mine/five-column-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}) and `legal` (array of strings) to customise; defaults render standalone. Logo mark is hidden on large screens in this version and shown above the columns on small screens.
components/five-column-footer.tsx
export default function FiveColumnMinimalFooter({ columns = [ { title: "Product", links: ["Inbox", "Planner", "Assist", "Compose", "Plans", "Trust"] }, { title: "Features", links: ["Prompts", "Helpers", "Cloud Runner", "Client Notes", "Analytics", "Apps", "Feedback", "Connectors", "Release Notes"] }, { title: "Company", links: ["Story", "Clients", "Jobs", "Journal", "Approach", "Craft", "Identity"] }, { title: "Resources", links: ["Migrate", "Get the app", "Guides", "Builders", "Teams", "Early stage", "Uptime", "Terms hub"] }, { title: "Connect", links: ["Talk to us", "Forum", "X (Twitter)", "GitHub", "YouTube"] }, ], legal = ["Privacy", "Terms", "Other Policies"], }: { columns?: { title: string; links: string[] }[]; legal?: string[]; }) { const link = "text-ui text-tertiary hover:text-primary transition-colors duration-100 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-accent-indigo rounded-xs"; return ( <footer className="bg-canvas border-t border-hairline font-sans"> <div className="mx-auto max-w-[1280px] px-6 pt-14 pb-12 md:px-0"> <div className="grid grid-cols-2 gap-x-6 gap-y-10 md:grid-cols-3 lg:grid-cols-[repeat(5,minmax(0,1fr))] lg:gap-0 lg:pl-0"> <div className="col-span-2 md:col-span-3 lg:hidden"> <Mark /> </div> {columns.map((c, i) => ( <div key={c.title} className={i === 0 ? "lg:col-start-1" : ""}> <h3 className="text-ui text-primary mb-6">{c.title}</h3> <ul className="flex flex-col gap-[14px]"> {c.links.map((l) => ( <li key={l}> <a href="#" className={link}>{l}</a> </li> ))} </ul> </div> ))} </div> <div className="hidden lg:block absolute" aria-hidden="true" /> <div className="mt-20 flex flex-wrap gap-x-5 gap-y-2"> {legal.map((l) => ( <a key={l} href="#" className={link + " text-quaternary"}>{l}</a> ))} </div> </div> </footer> ); } function Mark() { return ( <svg width="20" height="20" viewBox="0 0 20 20" role="img" aria-label="Logo" className="text-primary"> <circle cx="10" cy="10" r="9" fill="currentColor" /> <path d="M2 12L12 2M3 16L16 3M7 18L18 7" stroke="#08090a" strokeWidth="1.5" /> </svg> ); }export default function FiveColumnMinimalFooter({ columns = [ { title: "Product", links: ["Inbox", "Planner", "Assist", "Compose", "Plans", "Trust"] }, { title: "Features", links: ["Prompts", "Helpers", "Cloud Runner", "Client Notes", "Analytics", "Apps", "Feedback", "Connectors", "Release Notes"] }, { title: "Company", links: ["Story", "Clients", "Jobs", "Journal", "Approach", "Craft", "Identity"] }, { title: "Resources", links: ["Migrate", "Get the app", "Guides", "Builders", "Teams", "Early stage", "Uptime", "Terms hub"] }, { title: "Connect", links: ["Talk to us", "Forum", "X (Twitter)", "GitHub", "YouTube"] }, ], legal = ["Privacy", "Terms", "Other Policies"], }: { columns?: { title: string; links: string[] }[]; legal?: string[]; }) { const link = "text-obsidian-ui text-muted-foreground hover:text-foreground transition-colors duration-100 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary rounded-sm"; return ( <footer className="bg-background border-t border-border font-sans"> <div className="mx-auto max-w-[1280px] px-6 pt-14 pb-12 md:px-0"> <div className="grid grid-cols-2 gap-x-6 gap-y-10 md:grid-cols-3 lg:grid-cols-[repeat(5,minmax(0,1fr))] lg:gap-0 lg:pl-0"> <div className="col-span-2 md:col-span-3 lg:hidden"> <Mark /> </div> {columns.map((c, i) => ( <div key={c.title} className={i === 0 ? "lg:col-start-1" : ""}> <h3 className="text-obsidian-ui text-foreground mb-6">{c.title}</h3> <ul className="flex flex-col gap-[14px]"> {c.links.map((l) => ( <li key={l}> <a href="#" className={link}>{l}</a> </li> ))} </ul> </div> ))} </div> <div className="hidden lg:block absolute" aria-hidden="true" /> <div className="mt-20 flex flex-wrap gap-x-5 gap-y-2"> {legal.map((l) => ( <a key={l} href="#" className={link + " text-muted-foreground"}>{l}</a> ))} </div> </div> </footer> ); } function Mark() { return ( <svg width="20" height="20" viewBox="0 0 20 20" role="img" aria-label="Logo" className="text-foreground"> <circle cx="10" cy="10" r="9" fill="currentColor" /> <path d="M2 12L12 2M3 16L16 3M7 18L18 7" stroke="var(--color-background)" strokeWidth="1.5" /> </svg> ); }
Quality checks
Automated, in a real browser · 4d ago- Accessible: passedNo serious accessibility problems (axe-core): readable contrast, labelled buttons and images.
- 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.