Footer 3
Footer3 ColumnsText Align LeftContact DetailsFooter

Code
relume-footer3.tsx
import { FacebookLogo, InstagramLogo, LinkedinLogo, XLogo, YoutubeLogo } from "relume-icons";
type ImageProps = {
url?: string;
src: string;
alt?: string;
};
type Links = {
title: string;
url: string;
};
type SocialMediaLinks = {
url: string;
icon: React.ReactNode;
};
type ColumnLinks = {
links: Links[];
};
type Address = {
label: string;
value: string;
};
type Contact = {
label: string;
phone: string;
email: string;
};
type Props = {
logo: ImageProps;
address: Address;
contact: Contact;
columnLinks: ColumnLinks[];
socialMediaLinks: SocialMediaLinks[];
footerText?: string;
footerLinks: Links[];
};
export type Footer3Props = React.ComponentPropsWithoutRef<"section"> & Partial<Props>;
export const Footer3 = (props: Footer3Props) => {
const { logo, address, contact, columnLinks, socialMediaLinks, footerText, footerLinks } = {
...Footer3Defaults,
...props,
};
return (
<footer className="px-[5%] py-12 md:py-18 lg:py-20">
<div className="container">
<div className="grid grid-cols-1 gap-x-[4vw] gap-y-12 pb-12 md:gap-y-16 md:pb-18 lg:grid-cols-[1fr_0.5fr] lg:gap-y-4 lg:pb-20">
<div>
<div className="mb-6 md:mb-8">
<a href={logo.url}>
<img src={logo.src} alt={logo.alt} className="inline-block" />
</a>
</div>
<div className="mb-6 md:mb-8">
<div>
<p className="text-small mb-1 font-semibold">{address.label}</p>
<p className="text-small mb-5 md:mb-6">{address.value}</p>
</div>
<div>
<p className="text-small mb-1 font-semibold">{contact.label}</p>
<p className="text-small flex flex-col underline md:mb-6">
<a href={`tel:${contact.phone}`}>{contact.phone}</a>
<a href={`mailto:${contact.email}`}>{contact.email}</a>
</p>
</div>
</div>
<div className="grid grid-flow-col grid-cols-[max-content] items-start justify-start gap-x-3">
{socialMediaLinks.map((link, index) => (
<a key={index} href={link.url}>
{link.icon}
</a>
))}
</div>
</div>
<div className="grid grid-cols-1 items-start gap-x-6 gap-y-10 md:grid-cols-2 md:gap-x-8 md:gap-y-4">
{columnLinks.map((column, index) => (
<ul key={index}>
{column.links.map((link, linkIndex) => (
<li key={linkIndex} className="text-small py-2 font-semibold">
<a href={link.url}>{link.title}</a>
</li>
))}
</ul>
))}
</div>
</div>
<div className="h-px w-full bg-scheme-border" />
<div className="text-small flex flex-col-reverse items-start justify-between pt-6 pb-4 md:flex-row md:items-center md:pt-8 md:pb-0">
<p className="mt-8 md:mt-0">{footerText}</p>
<ul className="text-small grid grid-flow-row grid-cols-[max-content] justify-center gap-y-4 md:grid-flow-col md:gap-x-6 md:gap-y-0">
{footerLinks.map((link, index) => (
<li key={index} className="underline">
<a href={link.url}>{link.title}</a>
</li>
))}
</ul>
</div>
</div>
</footer>
);
};
export const Footer3Defaults: Props = {
logo: {
url: "#",
src: "https://d22po4pjz3o32e.cloudfront.net/logo-image.svg",
alt: "Logo image",
},
address: {
label: "Address:",
value: "Level 1, 12 Sample St, Sydney NSW 2000",
},
contact: {
label: "Contact:",
phone: "1800 123 4567",
email: "email@example.com",
},
columnLinks: [
{
links: [
{ title: "Link One", url: "#" },
{ title: "Link Two", url: "#" },
{ title: "Link Three", url: "#" },
{ title: "Link Four", url: "#" },
{ title: "Link Five", url: "#" },
],
},
{
links: [
{ title: "Link Six", url: "#" },
{ title: "Link Seven", url: "#" },
{ title: "Link Eight", url: "#" },
{ title: "Link Nine", url: "#" },
{ title: "Link Ten", url: "#" },
],
},
],
socialMediaLinks: [
{ url: "#", icon: <FacebookLogo className="size-6 text-scheme-text" /> },
{ url: "#", icon: <InstagramLogo className="size-6 text-scheme-text" /> },
{ url: "#", icon: <XLogo className="size-6 p-0.5 text-scheme-text" /> },
{ url: "#", icon: <LinkedinLogo className="size-6 text-scheme-text" /> },
{ url: "#", icon: <YoutubeLogo className="size-6 text-scheme-text" /> },
],
footerText: "© 2025 Relume. All rights reserved.",
footerLinks: [
{ title: "Privacy Policy", url: "#" },
{ title: "Terms of Service", url: "#" },
{ title: "Cookies Settings", url: "#" },
],
};npm i @radix-ui/react-checkbox @radix-ui/react-label @radix-ui/react-slot class-variance-authority@0.7.1 clsx@^2.1.1 embla-carousel-react@^8.5.2 motion@^12.15.0 relume-icons@1.3.0 tailwind-merge@^2.2.2


