Footer 4
uifoundry/footer-4UnverifiedBlock
Footer 4 Block with minimal layout, copyright text, and inline navigation links
Install it
npx shadcn@latest add https://raw.githubusercontent.com/UIFoundry/uifoundry/master/footer-4.jsonSource
1import Link from "next/link";2import { type ComponentPropsWithRef } from "react";3import type { Footer_4_Block } from "~/payload-types";4import { cn } from "@/registry/default/utils";56export * from "./config";78export default function Footer_4({9 links,10 copyright,11 className,12 ...divProps13}: Footer_4_Block & ComponentPropsWithRef<"div">) {14 return (15 <footer16 className={cn("border-b bg-white py-12 dark:bg-transparent", className)}17 {...divProps}18 >19 <div className="mx-auto max-w-5xl px-6">20 <div className="flex flex-wrap justify-between gap-6">21 <span className="text-muted-foreground order-last block text-center text-sm md:order-first">22 © {new Date().getFullYear()} {copyright}23 </span>24 <div className="order-first flex flex-wrap justify-center gap-6 text-sm md:order-last">25 {links?.map((link, index) => (26 <Link27 key={index}28 href={link.href}29 className="text-muted-foreground hover:text-primary block duration-150"30 >31 <span>{link.label}</span>32 </Link>33 ))}34 </div>35 </div>36 </div>37 </footer>38 );39}
What it pulls in
npm packages
Other registry items
Files it writes
More from uifoundry
All 54 items| Component | Registry | Kind | Access | Installs | Command |
|---|---|---|---|---|---|
| Color Fieldcolor-field | uifoundry | Blocks | Unverified | 4 deps · 2 files | |
| Coming Soon 1coming-soon-1 | uifoundry | Blocks | Unverified | 3 deps · 2 files | |
| CTA 1cta-1 | uifoundry | Blocks | Unverified | 3 deps · 2 files | |
| CTA 2cta-2 | uifoundry | Blocks | Unverified | 3 deps · 2 files | |
| CTA 3cta-3 | uifoundry | Blocks | Unverified | 3 deps · 2 files | |
| Custom Headercustom-header | uifoundry | Blocks | Unverified | 4 deps · 3 files | |
| Features 1features-1 | uifoundry | Blocks | Unverified | 3 deps · 2 files | |
| Features 2features-2 | uifoundry | Blocks | Unverified | 4 deps · 2 files |
