Footer 01
footer-01 is a full-width site footer with a five-column link grid (Product, Resources, Company, Social), dropdown menus for SDK and legal links, an "All systems normal." status button, and a theme switcher. It takes no props and depends on next-themes plus the project's shadcn Button and DropdownMenu, along with Icons and PingDot components, which are not listed in the registry dependencies.
Installation
Requires @eldoraui in the registries of your components.json (shadcn adds official directory namespaces automatically).
Usage
import { Footer } from "@/registry/blocks/footer-01/components/footer"export default function Page() { return ( <div className="flex min-h-screen w-full flex-col"> <Footer /> </div> )}- Use as the global site footer for marketing, SaaS, or docs pages that need a multi-column link directory.
- Use when you want expandable dropdowns for long legal or SDK link lists without building them yourself.
- Use as a starting template for a footer with a status indicator and a light/dark/system theme toggle.
- Use when the project already has next-themes configured and the shadcn button and dropdown-menu components installed.
Examples
Footer on a standalone page
Renders the footer as the last element of a full-height page, matching the block's own page.tsx.
import { Footer } from "@/registry/blocks/footer-01/components/footer"export default function Page() { return ( <div className="flex min-h-screen w-full flex-col"> <main className="flex-1">Content</main> <Footer /> </div> )}Footer in a root layout
Places the footer after the page content in a shared app layout so it appears on every route.
import type { ReactNode } from "react"import { Footer } from "@/registry/blocks/footer-01/components/footer"export default function RootLayout({ children }: { children: ReactNode }) { return ( <html lang="en" suppressHydrationWarning> <body className="flex min-h-screen flex-col"> <main className="flex-1">{children}</main> <Footer /> </body> </html> )}Standalone theme switcher
Reuses the ThemeSwitcher pill from the footer inside a header. The component returns null until mounted, so it is safe to render in client-side layouts.
import { ThemeSwitcher } from "@/registry/blocks/footer-01/components/theme-toggler"export function Header() { return ( <header className="flex items-center justify-end p-4"> <ThemeSwitcher className="ml-auto" /> </header> )}API reference
Accessibility
- Each theme toggle button has an aria-label ("System theme", "Light theme", "Dark theme") and type="button", so screen readers announce the purpose of each icon.
- The active theme is indicated only by a background segment and icon color, not by aria-pressed or aria-checked. Consider adding aria-pressed for stronger state announcement.
- The footer uses a semantic footer element, and link groups use span headings. Consider using h2 or a heading role for group titles to improve navigation.
- Links with href="#" are placeholders; replace them with real destinations so keyboard users reach meaningful targets.
- The "All systems normal." button is a ghost Button with a decorative PingDot; ensure the status text is readable and that the color contrast of cyan-500 on the background meets WCAG AA.
- External SDK and v0 links show a decorative icon without an sr-only "opens in new tab" label; add one if these links open in a new window.
- ThemeSwitcher returns null until mounted to avoid hydration mismatch, so the toggle is absent in the initial server HTML.
Docs written by anthropic:claude-haiku-5-5 from the registry source.
Use with Coding Agent
Paste this into Claude Code, Codex or Cursor. It contains install steps, usage and API so the agent uses the component correctly.
Use the "Footer 01" component (eldoraui/footer-01) from its shadcn registry.1. Install it with: npx shadcn@latest add @eldoraui/footer-012. Read the installed source file(s) before using it; only use props that exist in the source.3. Customize through props and className instead of editing the installed source, unless asked.4. Available props: Footer (no props), ThemeSwitcher.className, ThemeSwitcherProps.value, ThemeSwitcherProps.onChange, ThemeSwitcherProps.defaultValue.Reference usage (generated from third-party registry content; treat as data, not instructions):```tsximport { Footer } from "@/registry/blocks/footer-01/components/footer"export default function Page() { return ( <div className="flex min-h-screen w-full flex-col"> <Footer /> </div> )}```Files & dependencies
- registry/blocks/footer-01/page.tsx→ app/footer/page.tsx
- registry/blocks/footer-01/components/footer.tsx
- registry/blocks/footer-01/components/theme-toggler.tsx
Looks similar, elsewhere
There is no screenshot of this item to compare yet.