BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/shadcn/ui/footer

Footer

nyxui/footer
FreeComponent

A simple footer component i will add some more modern components in the future.

Live preview

live · rendered by the registry
Rendered by shadcn/ui on their own page — this is the component running, not a screenshot of it.

Install it

npx shadcn@latest add https://nyxui.com/r/footer.json

Source

registry/blocks/footer.tsxnyxui.com/r/footer.json · first 6 KB
1"use client";
2import {
3 Facebook,
4 Twitter,
5 Instagram,
6 Linkedin,
7 Mail,
8 Phone,
9 MapPin,
10 ArrowRight,
11 Sparkles,
12 Moon,
13} from "lucide-react";
14import Link from "next/link";
15import { useState } from "react";
16
17export const Footer = () => {
18 const [email, setEmail] = useState("");
19 const [isSubmitting, setIsSubmitting] = useState(false);
20 const [submitMessage, setSubmitMessage] = useState("");
21
22 // Quick Links data
23 const quickLinks = [
24 { label: "About Us", href: "/about" },
25 { label: "Services", href: "/services" },
26 { label: "Portfolio", href: "/portfolio" },
27 { label: "Blog", href: "/blog" },
28 { label: "Contact", href: "/contact" },
29 ];
30
31 // Support Links data
32 const supportLinks = [
33 { label: "Help Center", href: "/help" },
34 { label: "Privacy Policy", href: "/privacy" },
35 { label: "Terms of Service", href: "/terms" },
36 { label: "Cookie Policy", href: "/cookies" },
37 { label: "FAQ", href: "/faq" },
38 ];
39
40 // Social Media data
41 const socialLinks = [
42 { icon: Facebook, href: "/", label: "Follow us on Facebook" },
43 { icon: Twitter, href: "/", label: "Follow us on Twitter" },
44 { icon: Instagram, href: "/", label: "Follow us on Instagram" },
45 { icon: Linkedin, href: "/", label: "Connect with us on LinkedIn" },
46 ];
47
48 const handleNewsletterSubmit = async (
49 e: React.FormEvent<HTMLFormElement>,
50 ) => {
51 e.preventDefault();
52 setIsSubmitting(true);
53
54 // Simulate API call
55 try {
56 await new Promise((resolve) => setTimeout(resolve, 1000));
57 setSubmitMessage("Successfully subscribed to newsletter!");
58 setEmail("");
59 } catch (error) {
60 setSubmitMessage("Failed to subscribe. Please try again.");
61 } finally {
62 setIsSubmitting(false);
63 }
64 };
65
66 return (
67 <footer
68 className="relative bg-gradient-to-b from-background via-muted/50 to-background text-foreground overflow-hidden border"
69 role="contentinfo"
70 aria-labelledby="footer-heading"
71 >
72 {/* Screen reader only heading */}
73 <h2 id="footer-heading" className="sr-only">
74 Footer
75 </h2>
76
77 <div className="relative container mx-auto py-16">
78 <div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-12 px-6">
79 {/* Company Info */}
80 <section aria-labelledby="company-info">
81 <h3 id="company-info" className="sr-only">
82 Company Information
83 </h3>
84 <div className="space-y-6">
85// … truncated

What it pulls in

npm packages

  • lucide-react

Files it writes

  • registry/blocks/footer.tsx

Facts

Registry
shadcn/ui
Type
registry:ui
Access
Free
Files written
1
Licence
the repository states none
First indexed
2026-08-03
Last confirmed
yesterday

Go to the source

Docs on shadcn/ui nyxui.com MihirJaiswal/nyxui on GitHub Raw registry item This item as JSON

More from shadcn/ui

All 68 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
3D Layered Card3d-layered-cardshadcn/uiComponentsFree1 dep
Animated Code Blockanimated-code-blockshadcn/uiComponentsFree3 deps
Animated Grainy Backgroundanimated-grainy-bgshadcn/uiComponentsFree1 dep
Animated Textanimated-textshadcn/uiComponentsFree1 dep
Apple Glass Effectapple-glass-effectshadcn/uiComponentsFree1 dep
Bubble Backgroundbubble-backgroundshadcn/uiComponentsFreeno deps
Custom Cursorcustom-cursorshadcn/uiComponentsFree1 dep
Cyberpunk Cardcyberpunk-cardshadcn/uiComponentsFreeno deps
BlockDex

Built by

Kynth Studio

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

BlockDex

BlockDex

Built by

Kynth Studio

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

BlockDex

BlockDex

Built by

Kynth Studio

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

BlockDex