footer-2
fulldev-ui/footer-2FreeBlock
fulldev/ui publishes no description for this item.
Live preview
live · rendered by the registry
Rendered by fulldev/ui on their own page — this is the component running, not a screenshot of it.Install it
npx shadcn@latest add https://ui.full.dev/r/footer-2.jsonSource
1---2import { cn } from "@/lib/utils"3import { Icon } from "@/components/ui/icon"4import { Logo, LogoText } from "@/components/ui/logo"5import { Section, SectionContainer } from "@/components/ui/section"6import { Separator } from "@/components/ui/separator"78type Props = {9 class?: string10 brandName: string11 brandHref: string12 description: string13 links?: {14 label: string15 href: string16 }[]17 socials?: {18 label: string19 href: string20 icon: string21 }[]22 copyright: string23}2425const {26 class: className,27 brandName,28 brandHref,29 description,30 links,31 socials,32 copyright,33} = Astro.props34---3536<footer class={cn("", className)}>37 <Section class="py-12 lg:py-16">38 <SectionContainer class="items-center text-center">39 <Logo href={brandHref}>40 <LogoText>{brandName}</LogoText>41 </Logo>42 <p class="text-muted-foreground max-w-md text-sm leading-relaxed">43 {description}44 </p>45 {46 links && links.length > 0 && (47 <nav class="flex flex-wrap items-center justify-center gap-x-6 gap-y-2">48 {links.map((link) => (49 <a50 href={link.href}51 class="text-muted-foreground hover:text-foreground text-sm transition-colors"52 >53 {link.label}54 </a>55 ))}56 </nav>57 )58 }59 {60 socials && socials.length > 0 && (61 <div class="flex items-center justify-center gap-3">62 {socials.map((social) => (63 <a64 href={social.href}65 class="text-muted-foreground hover:text-foreground transition-colors"66 aria-label={social.label}67 target="_blank"68 rel="noreferrer"69 >70 <Icon name={social.icon} class="size-4" />71 </a>72 ))}73 </div>74 )75 }76 <Separator />77 <p class="text-muted-foreground text-sm">{copyright}</p>78 </SectionContainer>79 </Section>80</footer>
What it pulls in
Other registry items
Files it writes
More from fulldev/ui
All 144 items| Component | Registry | Kind | Access | Installs | Command |
|---|---|---|---|---|---|
| article-1article-1 | fulldev/ui | Blocks | Free | no deps | |
| article-2article-2 | fulldev/ui | Blocks | Free | no deps | |
| articles-1articles-1 | fulldev/ui | Blocks | Free | no deps | |
| articles-2articles-2 | fulldev/ui | Blocks | Free | no deps | |
| articles-3articles-3 | fulldev/ui | Blocks | Free | no deps | |
| articles-4articles-4 | fulldev/ui | Blocks | Free | no deps | |
| banner-1banner-1 | fulldev/ui | Blocks | Free | no deps | |
| banner-2banner-2 | fulldev/ui | Blocks | Free | no deps |
