footer-1
fulldev-ui/footer-1FreeBlock
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-1.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 socials?: {14 label: string15 href: string16 icon: string17 }[]18 columns: {19 title: string20 links: {21 label: string22 href: string23 }[]24 }[]25 copyright: string26}2728const {29 class: className,30 brandName,31 brandHref,32 description,33 socials,34 columns,35 copyright,36} = Astro.props37---3839<footer class={cn("", className)}>40 <Section class="py-16 lg:py-20">41 <SectionContainer>42 <div class="grid gap-10 lg:grid-cols-[1fr_2fr]">43 <div class="flex flex-col gap-5">44 <Logo href={brandHref}>45 <LogoText>{brandName}</LogoText>46 </Logo>47 <p class="text-muted-foreground max-w-xs text-sm leading-relaxed">48 {description}49 </p>50 {51 socials && socials.length > 0 && (52 <div class="flex items-center gap-3">53 {socials.map((social) => (54 <a55 href={social.href}56 class="text-muted-foreground hover:text-foreground transition-colors"57 aria-label={social.label}58 target="_blank"59 rel="noreferrer"60 >61 <Icon name={social.icon} class="size-4" />62 </a>63 ))}64 </div>65 )66 }67 </div>68 <div class="grid gap-8 sm:grid-cols-3">69 {70 columns.map((column) => (71 <div class="flex flex-col gap-3">72 <p class="text-sm font-medium">{column.title}</p>73 <ul class="flex flex-col gap-2.5">74 {column.links.map((link) => (75 <li>76 <a77 href={link.href}78 class="text-muted-foreground hover:text-foreground text-sm transition-colors"79 >80 {link.label}81 </a>82 </li>83 ))}84 </ul>85 </div>86 ))87 }88 </div>89 </div>90 <Separator />91// … truncated
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 |
