Méschac Irung

Footer

Footers 35

About

Here is Footer component

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Footer to your project and fits it to your theme.

Code

How Footer is used: the demo's code. The component's own source comes with a free account.

Usage.tsx


import Link from 'next/link'

// Import generic icons from lucide-react
import {
    Share2,        // A good generic icon for social sharing
    MessageCircle, // For communication/chat/social interaction
    Link as LinkIcon, // Generic link icon (aliased to avoid conflict)
    Globe,         // For website/online presence
    Feather,       // Could represent blogging/posting
    Send,          // For direct messages or sending content
} from 'lucide-react'

const links = [
    {
        group: 'Product',
        items: [
            {
                title: 'Features',
                href: '#',
            },
            {
                title: 'Solution',
                href: '#',
            },
            {
                title: 'Customers',
                href: '#',
            },
            {
                title: 'Pricing',
                href: '#',
            },
            {
                title: 'Help',
                href: '#',
            },
            {
                title: 'About',
                href: '#',
            },
        ],
    },
    {
        group: 'Solution',
        items: [
            {
                title: 'Startup',
                href: '#',
            },
            {
                title: 'Freelancers',
                href: '#',
            },
            {
                title: 'Organizations',
                href: '#',
            },
            {
                title: 'Students',
                href: '#',
            },
            {
                title: 'Collaboration',
                href: '#',
            },
            {
                title: 'Design',
                href: '#',
            },
            {
                title: 'Management',
                href: '#',
            },
        ],
    },
    {
        group: 'Company',
        items: [
            {
                title: 'About',
                href: '#',
            },
            {
                title: 'Careers',
                href: '#',
            },
            {
                title: 'Blog',
                href: '#',
            },
            {
                title: 'Press',
                href: '#',
            },
            {
                title: 'Contact',
                href: '#',
            },
            {
                title: 'Help',
                href: '#',
            },
        ],
    },
    {
        group: 'Legal',
        items: [
            {
                title: 'Licence',
                href: '#',
            },
            {
                title: 'Privacy',
                href: '#',
            },
            {
                title: 'Cookies',
                href: '#',
            },
            {
                title: 'Security',
                href: '#',
            },
        ],
    },
]

export default function FooterSection() {
    return (
        <footer className="border-b bg-white pt-20 dark:bg-transparent">
            <div className="mx-auto max-w-5xl px-6">
                <div className="grid gap-12 md:grid-cols-5">
                    <div className="md:col-span-2">
                        <Link
                            href="/"
                            aria-label="go home"
                            className="block size-fit">
                        </Link>
                    </div>

                    <div className="grid grid-cols-2 gap-6 sm:grid-cols-4 md:col-span-3">
                        {links.map((linkGroup, groupIndex) => ( // Changed 'link' to 'linkGroup' for clarity
                            <div
                                key={groupIndex} // Using groupIndex for key
                                className="space-y-4 text-sm">
                                <span className="block font-medium">{linkGroup.group}</span>
                                {linkGroup.items.map((item, itemIndex) => ( // Changed 'link' to 'item' for clarity
                                    <Link
                                        key={itemIndex} // Using itemIndex for key
                                        href={item.href}
                                        className="text-muted-foreground hover:text-primary block duration-150">
                                        <span>{item.title}</span>
                                    </Link>
                                ))}
                            </div>
                        ))}
                    </div>
                </div>
                <div className="mt-12 flex flex-wrap items-end justify-between gap-6 border-t py-6">
                    <span className="text-muted-foreground order-last block text-center text-sm md:order-first">© {new Date().getFullYear()} Tailark, All rights reserved</span>
                    <div className="order-first flex flex-wrap justify-center gap-6 text-sm md:order-last">
                        {/* Using generic icons for social links */}
                        <Link
                            href="#"
                            target="_blank"
                            rel="noopener noreferrer"
                            aria-label="Social Link 1"
                            className="text-muted-foreground hover:text-primary block">
                            <Share2 className="size-6" />
                        </Link>
                        <Link
                            href="#"
                            target="_blank"
                            rel="noopener noreferrer"
                            aria-label="Social Link 2"
                            className="text-muted-foreground hover:text-primary block">
                            <MessageCircle className="size-6" />
                        </Link>
                        <Link
                            href="#"
                            target="_blank"
                            rel="noopener noreferrer"
                            aria-label="Social Link 3"
                            className="text-muted-foreground hover:text-primary block">
                            <LinkIcon className="size-6" />
                        </Link>
                        <Link
                            href="#"
                            target="_blank"
                            rel="noopener noreferrer"
                            aria-label="Social Link 4"
                            className="text-muted-foreground hover:text-primary block">
                            <Globe className="size-6" />
                        </Link>
                        <Link
                            href="#"
                            target="_blank"
                            rel="noopener noreferrer"
                            aria-label="Social Link 5"
                            className="text-muted-foreground hover:text-primary block">
                            <Feather className="size-6" />
                        </Link>
                        <Link
                            href="#"
                            target="_blank"
                            rel="noopener noreferrer"
                            aria-label="Social Link 6"
                            className="text-muted-foreground hover:text-primary block">
                            <Send className="size-6" />
                        </Link>
                    </div>
                </div>
            </div>
        </footer>
    )
}

Dependencies

More by Méschac Irung

View all
  • Features 8

    Features 8

    3.1K
  • Hero Section 1

    Hero Section 1

    3K
  • Hero Section 5

    Hero Section 5

    2.6K
  • Hero Section 6

    Hero Section 6

    881
  • Hero Section 2

    Hero Section 2

    876
  • Hero Section 4

    Hero Section 4

    626
  • Features 9

    Features 9

    594
  • Hero Section 3

    Hero Section 3

    580

More in Footers

View all
  • Footer 7

    Footer 7

    555
  • Footer section

    Footer section

    1.9K
  • Footer column

    Footer column

    265
  • Footer 2

    Footer 2

    201
  • Footer

    Footer

    446
  • Footer

    Footer

    80
  • Large Name Footer

    Large Name Footer

    193
  • Feature Section

    Feature Section

    32