All blocks
[17] Marketing
Footer
The brand and a newsletter field beside four link columns, then the legal links and social buttons.
1280px
Copy the code
One file with one component and its sample data. It needs @vaneui/ui and its stylesheet, set up as in the installation guide. It passes an onSubmit handler, so in the Next.js App Router add "use client" at the top of its file.
footer.tsx
import type { ReactNode } from "react";import { Button, Col, Container, Divider, Grid4, IconButton, Input, Link, Row, Section, Text } from "@vaneui/ui";
const columns = [ { title: "Product", links: ["Features", "Pricing", "Changelog", "Integrations"] }, { title: "Resources", links: ["Docs", "Guides", "API", "Status"] }, { title: "Company", links: ["About", "Customers", "Careers", "Contact"] }, { title: "Community", links: ["Blog", "Events", "Forum", "Partners"] },];const legal = ["Privacy", "Terms", "Cookies"];
const href = (label: string) => `/${label.toLowerCase()}`;
function Svg({ children }: { children: ReactNode }) { return ( <svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" aria-hidden="true"> {children} </svg> );}
const social = [ { label: "Acme on GitHub", href: "https://github.com/", icon: <Svg><path d="M9 19c-4 1.5-4-2-6-2.5M15 21v-3.5a3 3 0 0 0-1-2.5c3 0 6-1.5 6-6a4.5 4.5 0 0 0-1.2-3.2 4.2 4.2 0 0 0-.1-3.3s-1-.3-3.4 1.3a11.5 11.5 0 0 0-6 0C6.9 2.2 5.9 2.5 5.9 2.5a4.2 4.2 0 0 0-.1 3.3A4.5 4.5 0 0 0 4.6 9c0 4.5 3 6 6 6a3 3 0 0 0-1 2.5V21" /></Svg> }, { label: "Acme on X", href: "https://x.com/", icon: <Svg><path d="m4 4 16 16M20 4 4 20" /></Svg> }, { label: "Acme on LinkedIn", href: "https://www.linkedin.com/", icon: <Svg><rect x="3" y="3" width="18" height="18" rx="2" /><path d="M8 10v7M8 7v.01M12 17v-4a2 2 0 0 1 4 0v4M12 10v7" /></Svg> }, { label: "Acme on YouTube", href: "https://www.youtube.com/", icon: <Svg><rect x="2" y="5" width="20" height="14" rx="4" /><path d="m10 9 5 3-5 3z" /></Svg> },];
export function Footer() { return ( <Section tag="footer" borderT> <Container itemsStretch> <Col xl> <Row tabletStack itemsStart xl> <Col noShrink className="max-w-xs"> <Text fontBold>Acme</Text> <Text sm secondary>Plan, track and ship your team's work in one place.</Text> <Col sm tag="form" onSubmit={(e) => e.preventDefault()}> <Text sm fontSemibold>Product news, once a month</Text> <Row sm> <Input type="email" name="email" aria-label="Email" placeholder="you@company.com" autoComplete="email" required /> <Button type="submit" filled noShrink>Subscribe</Button> </Row> </Col> </Col> <Grid4 flex1 wFull className="max-tablet:grid-cols-4 max-mobile:grid-cols-2"> {columns.map((c) => ( <Col key={c.title} sm> <Text sm fontSemibold>{c.title}</Text> {c.links.map((l) => ( <Link key={l} href={href(l)} sm secondary noUnderline>{l}</Link> ))} </Col> ))} </Grid4> </Row> <Divider /> <Row justifyBetween mobileStack itemsStart> <Col sm> <Text sm tertiary>© 2026 Acme, Inc.</Text> <Row flexWrap> {legal.map((l) => <Link key={l} href={href(l)} sm secondary noUnderline>{l}</Link>)} </Row> </Col> <Row xs> {social.map((s) => ( <IconButton key={s.label} href={s.href} ghost secondary aria-label={s.label}>{s.icon}</IconButton> ))} </Row> </Row> </Col> </Container> </Section> );}Adapt it with your coding agent
Add the VaneUI MCP server, and your agent reads the component docs and prop tables while it changes the block: the copy, the sample data or the layout.
$ claude mcp add vaneui -- npx -y @vaneui/mcp
Setup for other editors is in the AI assistants guide.