# Trust resources footer

Security and privacy documents grouped by review topic.

Access: pro. Category: Blocks. Kind: section.

## When to use

- Use it when a page needs security and privacy documents grouped by review topic.
- Choose it as the footer region when composing a page from independently reusable TidalUI sections.

## Alternatives

- Choose footer instead when a responsive semantic footer with typed navigation groups, native destination links, and optional reference, status, and legal regions is the actual interface need, rather than trust resources footer.

## 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 Trust resources footer

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

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

## Minimal example

```tsx
import"./components/ui/tidal.css";
import"./components/ui/footer-trust.css";
import{TidalFooterTrust}from"./components/ui/footer-trust";
export default(p:Parameters<typeof TidalFooterTrust>[0])=><div className="tidal-scope"><TidalFooterTrust {...p}/></div>;
```

## Structured props

- `TidalFooterTrust.actions: ReadonlyArray<TidalFooterTrustLink>`: Required actions value accepted by this exported component.
- `TidalFooterTrust.brand: ReactNode`: Required brand value accepted by this exported component.
- `TidalFooterTrust.heading: ReactNode`: Required heading value accepted by this exported component.
- `TidalFooterTrust.navigationGroups: ReadonlyArray<TidalFooterTrustNavGroup>`: Required navigation groups value accepted by this exported component.
- `TidalFooterTrust.onTopicChange: (id: string, topic: TidalFooterTrustTopic) => void`: Callback invoked when the topic change interaction is proposed.
- `TidalFooterTrust.selectedTopicId: string`: Required selected topic id value accepted by this exported component.
- `TidalFooterTrust.topics: ReadonlyArray<TidalFooterTrustTopic>`: Required topics value accepted by this exported component.
- `TidalFooterTrust.actionsLabel?: string | undefined` (default "Trust actions"): Optional actions label value accepted by this exported component.
- `TidalFooterTrust.description?: ReactNode`: Optional description value accepted by this exported component.
- `TidalFooterTrust.emptyEvidenceLabel?: ReactNode` (default "No evidence links supplied for this topic."): Optional empty evidence label value accepted by this exported component.
- `TidalFooterTrust.emptyTopicsLabel?: ReactNode` (default "No trust topics supplied."): Optional empty topics label value accepted by this exported component.
- `TidalFooterTrust.evidenceLabel?: ReactNode` (default "Review documents"): Optional evidence label value accepted by this exported component.
- `TidalFooterTrust.eyebrow?: ReactNode` (default "Trust review"): Optional eyebrow value accepted by this exported component.
- `TidalFooterTrust.headingLevel?: TidalFooterTrustHeadingLevel | undefined` (default "h2"): Optional heading level value accepted by this exported component.
- `TidalFooterTrust.legal?: ReactNode`: Optional legal value accepted by this exported component.
- `TidalFooterTrust.navigationHeadingLevel?: TidalFooterTrustSubheadingLevel | undefined`: Optional navigation heading level value accepted by this exported component.
- `TidalFooterTrust.navigationLabel?: string | undefined` (default "Trust navigation"): Optional navigation label value accepted by this exported component.
- `TidalFooterTrust.selectorLabel?: string | undefined` (default "Trust topic"): Optional selector label value accepted by this exported component.
- `TidalFooterTrust.status?: ReactNode`: Optional status value accepted by this exported component.
- `TidalFooterTrust.topicHeadingLevel?: TidalFooterTrustSubheadingLevel | undefined`: Optional topic heading level value accepted by this exported component.

## Complete usage example

[Source](https://tidalui.com/examples/footer-trust.tsx) | [Manifest](https://tidalui.com/examples/footer-trust.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 { useState, type MouseEvent } from "react";

import { TidalFooterTrust, type TidalFooterTrustLink, type TidalFooterTrustNavGroup, type TidalFooterTrustTopic } from "./components/ui/footer-trust";

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

import "./components/ui/segmented-control.css";

import "./components/ui/status-badge.css";



function localLink(label: string, setStatus: (message: string) => void) {
  return (event: MouseEvent<HTMLAnchorElement>) => {
    if (
      event.defaultPrevented ||
      event.button !== 0 ||
      event.metaKey ||
      event.ctrlKey ||
      event.shiftKey ||
      event.altKey
    ) {
      return;
    }
    event.preventDefault();
    setStatus(`${label} selected in this preview.`);
  };
}

export function FooterTrustDemo() {
  const [selectedTopicId, setSelectedTopicId] = useState("security");
  const [status, setStatus] = useState("No preview action selected.");
  const topics: readonly TidalFooterTrustTopic[] = [
    {
      id: "security",
      label: "Security",
      statusLabel: "Two documents supplied",
      evidence: [
        {
          id: "overview",
          title: "Security overview",
          description: "Access, deployment and recovery practices.",
          href: "#preview-security-overview",
          linkProps: { onClick: localLink("Security overview", setStatus) },
        },
        {
          id: "access",
          title: "Access-control notes",
          description: "Roles and permissions across the product.",
          href: "#preview-access",
          linkProps: { onClick: localLink("Access-control notes", setStatus) },
        },
      ],
    },
    {
      id: "privacy",
      label: "Privacy",
      statusLabel: "One document supplied",
      evidence: [
        {
          id: "handling",
          title: "Data-handling summary",
          description: "Data collection, retention and deletion.",
          href: "#preview-data-handling",
          linkProps: { onClick: localLink("Data-handling summary", setStatus) },
        },
      ],
    },
    {
      id: "review",
      label: "Review",
      statusLabel: "No documents supplied",
      status: "warning",
      evidence: [],
    },
  ];
  const actions: readonly TidalFooterTrustLink[] = [
    {
      id: "portal",
      label: "Open trust documents",
      href: "#preview-trust-documents",
      onClick: localLink("Trust documents", setStatus),
    },
    {
      id: "report",
      label: "Report a vulnerability",
      href: "#preview-report",
      onClick: localLink("Vulnerability report", setStatus),
    },
  ];
  const navigationGroups: readonly TidalFooterTrustNavGroup[] = [
    {
      id: "policies",
      label: "Policies",
      links: [
        {
          id: "privacy",
          label: "Privacy notice",
          href: "#preview-privacy",
          onClick: localLink("Privacy notice", setStatus),
        },
        {
          id: "terms",
          label: "Terms",
          href: "#preview-terms",
          onClick: localLink("Terms", setStatus),
        },
      ],
    },
  ];

  return (
    <TidalFooterTrust
      brand={
        <a href="#preview-home" onClick={localLink("Home", setStatus)}>
          Product trust
        </a>
      }
      heading="Review our policies."
      description="Security, privacy and access documentation."
      topics={topics}
      selectedTopicId={selectedTopicId}
      onTopicChange={(id) => {
        setSelectedTopicId(id);
        setStatus(`${id} topic selected.`);
      }}
      actions={actions}
      navigationGroups={navigationGroups}
      legal={<span>Sample documents. No certification is claimed.</span>}
      status={<span role="status">{status}</span>}
    />
  );
}

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

```

## Gotchas

- The host application owns data, validation, persistence, navigation, and service side effects described by this API.

## 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}

{"keyboard":["Tab and Shift+Tab follow the component's native focus order.","Arrow-key behavior follows the exported composite-control implementation."],"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."}

Consumer-owned brand, heading, controlled trust-topic selection, exact status labels, evidence documents, trust actions, navigation and legal/status content. The footer composes accepted Segmented control and Status badge primitives. It performs no certification, verification, scan, request, authentication or compliance inference. Native evidence and action destinations preserve attributes and direct refs; unavailable links omit href and suppress primary and auxiliary activation.
