Docs
Footer (Simple)
Footer (Simple)
A comprehensive footer component with navigation links, social links, and branding section. Perfect for website layouts.
3 views
0 downloads
Loading...
Installation
pnpm dlx shadcn@latest add https://deltacomponents.dev/r/footer.json
Usage
Basic Footer
1import { Footer } from "@/registry/layout/footer"23export function BasicFooter() {4 return <Footer brandName="Your Company" />5}
Custom Footer with Sections
1import { Footer } from "@/registry/layout/footer"23const customSections = [4 {5 title: "Resources",6 links: [7 { href: "/docs", label: "Documentation" },8 { href: "/guides", label: "Guides" },9 { href: "/api", label: "API Reference" },10 ],11 },12 {13 title: "Community",14 links: [15 { href: "/discord", label: "Discord", external: true },16 { href: "/twitter", label: "Twitter", external: true },17 { href: "/github", label: "GitHub", external: true },18 ],19 },20]2122export function CustomFooter() {23 return (24 <Footer25 brandName="Your Company"26 sections={customSections}27 socialLinks={[28 {29 href: "https://twitter.com/yourcompany",30 label: "Twitter",31 external: true,32 },33 {34 href: "https://github.com/yourcompany",35 label: "GitHub",36 external: true,37 },38 ]}39 // copyright will automatically use current year: "© 2025 Your Company. All rights reserved."40 />41 )42}
Minimal Footer
1import { Footer } from "@/registry/layout/footer"23export function MinimalFooter() {4 return (5 <Footer6 brandName="Your App"7 sections={[]}8 socialLinks={[]}9 copyright="Made with ❤️ by Your Team"10 />11 )12}
API Reference
FooterProps
Name | Type | Description | Default |
---|---|---|---|
brandName | string | Name of your brand/company | "Your Brand" |
brandHref | string | Link for the brand name | "/" |
sections | FooterSection[] | Array of navigation sections | Default sections (Product, Company, Legal) |
socialLinks | FooterLink[] | Array of social media links | Default links (Twitter, GitHub, LinkedIn) |
copyright | string | Custom copyright text | Auto-generated with current year |
className | string | Additional CSS classes | - |
FooterSection
Name | Type | Description |
---|---|---|
title | string | Section title |
links | FooterLink[] | Array of links in this section |
FooterLink
Name | Type | Description | Default |
---|---|---|---|
href | string | Link URL | - |
label | string | Link text | - |
external | boolean | Whether the link is external (opens in new tab) | false |
Features
- Responsive Design: Works seamlessly on all device sizes
- Customizable Sections: Add your own navigation sections
- Social Links: Built-in support for social media links
- Brand Integration: Prominently display your brand
- Accessibility: Proper ARIA labels and semantic HTML
- External Link Support: Automatic
target="_blank"
for external links - Theme Support: Works with your design system colors