# Footer

A responsive semantic footer with typed navigation groups, native destination links, and optional reference, status, and legal regions.

Access: pro. Category: Marketing. Kind: section.

## When to use

- Use it when a page needs a responsive semantic footer with typed navigation groups, native destination links, and optional reference, status, and legal regions.
- Choose it as the footer region when composing a page from independently reusable TidalUI sections.

## Alternatives

- Choose footer-directory instead when the primary task is navigating a large, grouped destination set.

## Setup for agents

Use React 19 and TypeScript. Initialize shadcn for your framework, then merge this exact entry into components.json:

```json
{
  "registries": {
    "@tidal-pro": {
      "url": "https://tidalui.com/r/pro/{name}.json",
      "headers": {
        "Authorization": "Bearer ${TIDALUI_TOKEN}"
      }
    }
  }
}
```

The namespace must be named **@tidal-pro** because transitive Pro dependencies use that namespace. Obtain an agent key from your active Pro account at https://tidalui.com/account. Keep TIDALUI_TOKEN in your local environment, never in components.json, client code, Git or logs.

```sh
export TIDALUI_TOKEN='your-private-agent-key'
npx shadcn@latest add @tidal-pro/waitlist-form
npx shadcn@latest add https://tidalui.com/r/tidal-button.json
```

Free command: `npx shadcn@latest add https://tidalui.com/r/<name>.json`.
Pro command: `npx shadcn@latest add @tidal-pro/<name>`.

Import the base stylesheet and every stylesheet listed on the installed item's metadata. For example:

```tsx
import "./components/ui/tidal.css";
import "./components/ui/hero-section.css";
// Place installed components inside this wrapper:
<div className="tidal-scope" data-theme="dark">...</div>
```

Omit data-theme for the default light theme. Put the attribute on the same tidal-scope element for dark mode. Every component installs the shared free tidal-base dependency. After upgrading, run `npx shadcn@latest add https://tidalui.com/r/tidal-base.json --overwrite` to receive current tokens. Review local modifications before overwriting.

Vite: Use React + TypeScript. Map @/* to ./src/* in paths and Vite resolve.alias. Import tidal.css and each component stylesheet in your application entry.

Next.js 15 App Router: Next.js App Router: import tidal.css and component CSS in app/layout.tsx. Interactive examples belong in a client component with "use client". Map @/* to ./* or ./src/* to match your project.

TypeScript 6: use paths without baseUrl:

```json
{
  "compilerOptions": {
    "paths": {
      "@/*": [
        "./src/*"
      ]
    }
  }
}
```

Pro registry requests are server/CLI-only. Use the same-origin account interface in a browser; cross-origin Authorization preflights are intentionally unsupported.


## Install Footer

```sh
npx shadcn@latest add @tidal-pro/footer
```

Stylesheets: `components/ui/tidal.css`, `components/ui/footer.css`.

## Minimal example

```tsx
import"./components/ui/tidal.css";
import"./components/ui/footer.css";
import{TidalFooter}from"./components/ui/footer";
export default()=><div className="tidal-scope"><TidalFooter brand={"value"} groups={[{id:"example",title:"Demo",links:[{href:"#",label:"Demo"}]}]}/></div>;
```

## Structured props

- `TidalFooterLink.href: string`: Required href value accepted by this exported component.
- `TidalFooterLink.kind?: "group" | "social" | undefined` (default "group"): Optional kind value accepted by this exported component.
- `TidalFooter.brand: ReactNode`: Required brand value accepted by this exported component.
- `TidalFooter.groups: ReadonlyArray<TidalFooterGroup>`: Required groups value accepted by this exported component.
- `TidalFooter.description?: ReactNode`: Optional description value accepted by this exported component.
- `TidalFooter.groupHeadingLevel?: TidalFooterHeadingLevel | undefined` (default "h2"): Optional group heading level value accepted by this exported component.
- `TidalFooter.legal?: ReactNode`: Optional legal value accepted by this exported component.
- `TidalFooter.socialLabel?: string | undefined` (default "Social links"): Optional social label value accepted by this exported component.
- `TidalFooter.socialLinks?: ReadonlyArray<TidalFooterLinkItem> | undefined` (default []): Optional social links value accepted by this exported component.
- `TidalFooter.status?: ReactNode`: Optional status value accepted by this exported component.

## Complete usage example

[Source](https://tidalui.com/examples/footer.tsx) | [Manifest](https://tidalui.com/examples/footer.json). Install the listed additional dependencies. Consumer fixture: TypeScript pass; Vite pass. This fixture check is distinct from the actual shadcn install receipt.

```tsx
import "./components/ui/tidal.css";

import { CircleDot, Waves } from "lucide-react";

import { useState, type MouseEvent as ReactMouseEvent } from "react";

import { TidalFooter, type TidalFooterGroup, type TidalFooterLinkItem } from "./components/ui/footer";

import "./components/ui/footer.css";



const tidalExampleStyles = ".tidal-scope .footer-demo-specimen {\n  width: 100%;\n  min-width: 0;\n  padding: clamp(14px, 3vw, 36px);\n  color: var(--t-ink);\n  background: var(--t-subtle);\n  container: footer-demo / inline-size;\n}\n\n.tidal-scope .footer-demo-brand {\n  display: inline-flex;\n  align-items: center;\n  gap: 12px;\n  width: fit-content;\n  max-width: 100%;\n  min-height: 44px;\n  color: var(--t-ink);\n  text-decoration: none;\n  border-radius: var(--t-radius-control);\n}\n\n.tidal-scope .footer-demo-brand > svg {\n  flex: none;\n}\n\n.tidal-scope .footer-demo-brand > span {\n  min-width: 0;\n  overflow-wrap: anywhere;\n}\n\n.tidal-scope .footer-demo-brand small {\n  display: block;\n  margin-top: 7px;\n  color: var(--t-muted);\n  font-size: 11px;\n  font-weight: 650;\n  line-height: 1.4;\n  letter-spacing: 0.1em;\n  text-transform: uppercase;\n}\n\n.tidal-scope .footer-demo-brand:focus-visible,\n.tidal-scope .footer-demo-legal-links a:focus-visible,\n.tidal-scope .footer-demo-destinations summary:focus-visible {\n  outline: 2px solid var(--t-ink);\n  outline-offset: 3px;\n}\n\n.tidal-scope .footer-demo-status {\n  display: inline-flex;\n  align-items: center;\n  gap: 8px;\n  min-width: 0;\n  overflow-wrap: anywhere;\n}\n\n.tidal-scope .footer-demo-status > svg {\n  flex: none;\n  fill: currentColor;\n}\n\n.tidal-scope .footer-demo-legal-links {\n  display: flex;\n  flex-wrap: wrap;\n  align-items: center;\n  gap: 4px 16px;\n  min-width: 0;\n}\n\n.tidal-scope .footer-demo-legal-links a {\n  display: inline-flex;\n  align-items: center;\n  min-width: 44px;\n  min-height: 44px;\n  color: var(--t-muted);\n  text-decoration: none;\n  border-radius: 6px;\n}\n\n.tidal-scope .footer-demo-legal-links a:hover {\n  color: var(--t-ink);\n}\n\n.tidal-scope .footer-demo-destinations {\n  min-width: 0;\n  margin-top: 14px;\n  padding: clamp(18px, 3vw, 28px);\n  background: var(--t-surface);\n  border: 1px solid var(--t-border);\n  border-radius: var(--t-radius-card);\n}\n\n.tidal-scope .footer-demo-destination-grid {\n  display: grid;\n  grid-template-columns: repeat(2, minmax(0, 1fr));\n  gap: 0 18px;\n  min-width: 0;\n  padding-top: 6px;\n}\n\n.tidal-scope .footer-demo-destinations details {\n  min-width: 0;\n  border-bottom: 1px solid var(--t-border);\n}\n\n.tidal-scope .footer-demo-destinations summary {\n  display: flex;\n  align-items: center;\n  justify-content: space-between;\n  gap: 12px;\n  min-width: 44px;\n  min-height: 44px;\n  color: var(--t-ink);\n  font-size: 11px;\n  font-weight: 560;\n  list-style: none;\n  cursor: pointer;\n  overflow-wrap: anywhere;\n}\n\n.tidal-scope .footer-demo-destinations summary::-webkit-details-marker {\n  display: none;\n}\n\n.tidal-scope .footer-demo-destinations summary::after {\n  flex: none;\n  content: \"+\";\n  color: var(--t-muted);\n  font-size: 14px;\n  transition: transform 240ms var(--t-ease-spring);\n}\n\n.tidal-scope .footer-demo-destinations details[open] summary::after {\n  transform: rotate(45deg);\n}\n\n.tidal-scope .footer-demo-destinations details:target summary {\n  text-decoration: underline;\n  text-underline-offset: 4px;\n}\n\n.tidal-scope .footer-demo-destinations details > p {\n  margin: 0;\n  padding: 0 0 14px;\n  padding-inline-end: 24px;\n  color: var(--t-muted);\n  font-size: 11px;\n  line-height: 1.6;\n  overflow-wrap: anywhere;\n}\n\n.tidal-scope .footer-demo-note {\n  margin: 14px 0 0;\n  color: var(--t-muted);\n  font-size: 11px;\n  line-height: 1.55;\n  overflow-wrap: anywhere;\n}\n\n@media (prefers-reduced-motion: no-preference) {\n  .tidal-scope .footer-demo-destinations details[open] > p {\n    animation: footer-demo-detail-in 260ms var(--t-ease-out) both;\n  }\n}\n\n@keyframes footer-demo-detail-in {\n  from {\n    opacity: 0;\n    transform: translateY(-5px);\n  }\n  to {\n    opacity: 1;\n    transform: none;\n  }\n}\n\n@container footer-demo (max-width: 520px) {\n  .tidal-scope .footer-demo-destination-grid {\n    grid-template-columns: minmax(0, 1fr);\n  }\n\n  .tidal-scope .footer-demo-destinations details > p {\n    padding-inline-end: 10px;\n  }\n}\n\n@media (prefers-reduced-motion: reduce) {\n  .tidal-scope .footer-demo-destinations summary::after,\n  .tidal-scope .footer-demo-destinations details[open] > p {\n    animation: none;\n    transition: none;\n    transform: none;\n  }\n\n  .tidal-scope .footer-demo-destinations details[open] summary::after {\n    content: \"−\";\n  }\n}";

const SAMPLE_GROUPS: readonly TidalFooterGroup[] = [
  {
    id: "product",
    title: "Product",
    links: [
      { href: "#footer-sample-overview", label: "Workspace overview" },
      { href: "#footer-sample-updates", label: "Sample updates" },
    ],
  },
  {
    id: "resources",
    title: "Resources",
    links: [
      { href: "#footer-sample-guide", label: "Getting started" },
      { href: "#footer-sample-accessibility", label: "Accessibility notes" },
    ],
  },
  {
    id: "company",
    title: "About this sample",
    links: [
      { href: "#footer-sample-about", label: "Fictional product" },
      { href: "#footer-sample-privacy", label: "Local data boundary" },
    ],
  },
];

const REFERENCE_LINKS: readonly TidalFooterLinkItem[] = [
  {
    href: "https://react.dev/",
    label: "React documentation",
    target: "_blank",
    rel: "noreferrer",
  },
  {
    href: "https://www.typescriptlang.org/docs/",
    label: "TypeScript documentation",
    target: "_blank",
    rel: "noreferrer",
  },
];

const SAMPLE_DESTINATIONS = [
  {
    id: "footer-sample-overview",
    title: "Workspace overview",
    detail:
      "Northstar is a fictional workspace used only to demonstrate this footer's local destinations.",
  },
  {
    id: "footer-sample-updates",
    title: "Sample updates",
    detail:
      "The sample has no release feed. This panel is the complete local destination for the updates link.",
  },
  {
    id: "footer-sample-guide",
    title: "Getting started",
    detail:
      "Choose a sample view, inspect its labels, and use the native links without creating an account.",
  },
  {
    id: "footer-sample-accessibility",
    title: "Accessibility notes",
    detail:
      "Footer links keep native destinations, visible focus, readable wrapping, and forty-four pixel targets.",
  },
  {
    id: "footer-sample-about",
    title: "Fictional product",
    detail:
      "Northstar, its workspace, and every statement in this scene are original sample content.",
  },
  {
    id: "footer-sample-privacy",
    title: "Local data boundary",
    detail:
      "This demonstration sends no form data, creates no profile, and stores no visitor information.",
  },
  {
    id: "footer-sample-terms",
    title: "Sample terms",
    detail:
      "There is no account, purchase, subscription, or binding service attached to this fictional sample.",
  },
] as const;

export function FooterDemo() {
  const [openDestinations, setOpenDestinations] = useState<readonly string[]>(
    [],
  );

  function revealLinkedDestination(event: ReactMouseEvent<HTMLDivElement>) {
    if (
      event.defaultPrevented ||
      event.button !== 0 ||
      event.metaKey ||
      event.ctrlKey ||
      event.altKey ||
      event.shiftKey
    )
      return;

    const anchor = (event.target as HTMLElement).closest<HTMLAnchorElement>(
      'a[href^="#footer-sample-"]',
    );
    if (!anchor) return;

    const id = anchor.hash.slice(1);
    if (!SAMPLE_DESTINATIONS.some((destination) => destination.id === id))
      return;

    // The disclosure must be open before the browser performs native fragment
    // navigation, otherwise the destination text remains hidden.
    const details = event.currentTarget.querySelector<HTMLDetailsElement>(
      `details#${id}`,
    );
    if (details) details.open = true;
    setOpenDestinations((current) =>
      current.includes(id) ? current : [...current, id],
    );
  }

  return (
    <div
      className="footer-demo-specimen"
      onClickCapture={revealLinkedDestination}
    >
      <TidalFooter
        aria-label="Northstar sample footer"
        brand={
          <a className="footer-demo-brand" href="#footer-sample-overview">
            <Waves size={30} aria-hidden="true" />
            <span>
              Northstar<small>Fictional workspace</small>
            </span>
          </a>
        }
        description="A precise place to find every part of this local product sample. No account or live service is connected."
        groups={SAMPLE_GROUPS}
        socialLinks={REFERENCE_LINKS}
        socialLabel="Technology reference links"
        status={
          <span className="footer-demo-status">
            <CircleDot size={13} aria-hidden="true" />
            Local preview · no live service status
          </span>
        }
        legal={
          <>
            <span>© 2026 Fictional Northstar sample</span>
            <span className="footer-demo-legal-links">
              <a href="#footer-sample-privacy">Privacy boundary</a>
              <a href="#footer-sample-terms">Sample terms</a>
            </span>
          </>
        }
      />

      <section
        className="footer-demo-destinations"
        aria-label="Local footer link destinations"
      >
        <div className="footer-demo-destination-grid">
          {SAMPLE_DESTINATIONS.map((destination) => (
            <details
              id={destination.id}
              key={destination.id}
              open={openDestinations.includes(destination.id)}
              onToggle={(event) => {
                const isOpen = event.currentTarget.open;
                setOpenDestinations((current) => {
                  if (isOpen)
                    return current.includes(destination.id)
                      ? current
                      : [...current, destination.id];
                  return current.filter((id) => id !== destination.id);
                });
              }}
            >
              <summary>{destination.title}</summary>
              <p>{destination.detail}</p>
            </details>
          ))}
        </div>
        <p className="footer-demo-note">
          Footer hashes open these local sample disclosures.
        </p>
      </section>
    </div>
  );
}

export default function AgentExample() {
  return (
    <div className="tidal-scope" data-theme="light" dir="ltr">
      <style>{tidalExampleStyles}</style>
      <FooterDemo />
    </div>
  );
}

```

## Gotchas

- Install the declared registry dependencies and render inside a tidal-scope with the foundation stylesheet loaded.

## Theme and accessibility

{"tokens":["--t-accent","--t-border","--t-border-strong","--t-canvas","--t-danger","--t-display","--t-ease-out","--t-ease-spring","--t-faint","--t-font","--t-ink","--t-line","--t-muted","--t-primary","--t-primary-contrast","--t-radius-card","--t-radius-control","--t-radius-overlay","--t-radius-panel","--t-ring","--t-shadow-lg","--t-shadow-soft","--t-soft","--t-subtle","--t-surface","--t-wash"],"darkMode":true}

{"aria":"The component wires labels and relationships from consumer-provided visible text or ARIA props; preserve those labels in production.","notes":"Verify focus visibility, text alternatives, contrast, and reduced motion in the final composition."}

Required brand and typed groups of real native destinations. Optional description, socialLinks, socialLabel(default Social links), legal and status ReactNode regions. groupHeadingLevel: h2(default) | h3 | h4. The footer root and TidalFooterLink forward native attributes and refs; link items require href and label. Empty groups are omitted. Consumers own navigation, legal content and any live-region semantics.
