# Security section

Present supplied security controls, current documentation and contact actions in one section.

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

## When to use

- Use it when a page needs present supplied security controls, current documentation and contact actions in one section.
- Choose it as the features region when composing a page from independently reusable TidalUI sections.

## Alternatives

- Choose feature-card instead when a feature summary with animated orbital artwork is the actual interface need, rather than security section.

## 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 Security section

```sh
npx shadcn@latest add @tidal-pro/security-section
```

Stylesheets: `components/ui/tidal.css`, `components/ui/security-section.css`.

## Minimal example

```tsx
import"./components/ui/tidal.css";
import"./components/ui/security-section.css";
import{TidalSecuritySection}from"./components/ui/security-section";
export default()=><div className="tidal-scope"><TidalSecuritySection controls={[{id:"example",title:"Demo",description:"Demo"}]} title={"Demo"}/></div>;
```

## Structured props

- `TidalSecuritySection.controls: ReadonlyArray<TidalSecurityControl>`: Required controls value accepted by this exported component.
- `TidalSecuritySection.title: ReactNode`: Required title value accepted by this exported component.
- `TidalSecuritySection.contact?: TidalSecurityAction | undefined`: Optional contact value accepted by this exported component.
- `TidalSecuritySection.description?: ReactNode`: Optional description value accepted by this exported component.
- `TidalSecuritySection.documents?: ReadonlyArray<TidalSecurityDocument> | undefined` (default []): Optional documents value accepted by this exported component.
- `TidalSecuritySection.headingLevel?: "h2" | "h3" | "h4" | "h5" | undefined` (default "h2"): Optional heading level value accepted by this exported component.
- `TidalSecuritySection.labels?: Partial<{ controls: string; documents: string; updated: string; empty: string; invalid: string; }> | undefined` (default {}): Optional labels value accepted by this exported component.
- `TidalSecuritySection.note?: ReactNode`: Optional note value accepted by this exported component.

## Complete usage example

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

```tsx
"use client";

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

import { useState, useId } from "react";

import { KeyRound, Database, LifeBuoy } from "lucide-react";

import { TidalSecuritySection } from "./components/ui/security-section";

import "./components/ui/security-section.css";



const tidalExampleStyles = ".tidal-scope .security-section-demo {\n  width: 100%;\n  max-width: 1080px;\n  min-width: 0;\n}\n.tidal-scope .security-sample {\n  padding: 16px;\n  border: 1px solid var(--t-border);\n  border-radius: 10px;\n  background: var(--t-subtle);\n}\n.tidal-scope .security-sample strong {\n  color: var(--t-ink);\n  font-size: 12px;\n}\n.tidal-scope .security-sample p {\n  margin: 7px 0 0;\n  line-height: 1.7;\n}";

export function SecuritySectionDemo() {
  const noteId = useId();
  const [document, setDocument] = useState<string | null>(null);
  return (
    <div className="security-section-demo">
      <TidalSecuritySection
        title="Security and privacy"
        description="Controls for workspace access, data handling and operational readiness."
        controls={[
          {
            id: "access",
            icon: <KeyRound size={20} strokeWidth={1.5} />,
            title: "Access controls",
            description:
              "Require sign-in for workspace access and review roles before sensitive work.",
            detail: "Workspace roles · Access reviews",
          },
          {
            id: "data",
            icon: <Database size={20} strokeWidth={1.5} />,
            title: "Data handling",
            description:
              "Keep retention periods clear and provide a documented path for data removal.",
            detail: "Retention policy · Removal requests",
          },
          {
            id: "operations",
            icon: <LifeBuoy size={20} strokeWidth={1.5} />,
            title: "Operational safeguards",
            description:
              "Maintain an incident process, backup procedures and a regular review cadence.",
            detail: "Incident response · Recovery procedures",
          },
        ]}
        documents={[
          {
            id: "overview",
            title: "Security overview",
            description: "Access, data handling and operating practices.",
            updated: "October 15, 2026",
            dateTime: "2026-10-15",
            action: {
              id: "overview-open",
              label: document ? "Close sample" : "Read sample",
              buttonProps: {
                "aria-expanded": Boolean(document),
                "aria-controls": document ? noteId : undefined,
              },
              kind: "button",
              onAction: () => setDocument(document ? null : "overview"),
            },
          },
        ]}
        note={
          document ? (
            <div id={noteId} className="security-sample">
              <strong>Security overview outline</strong>
              <p>
                Document access reviews, encryption settings, retention periods,
                incident contacts and backup testing. Supply current evidence
                and link to the policy owner.
              </p>
            </div>
          ) : (
            "Fictional security content. Replace every statement with verified information before use."
          )
        }
      />
    </div>
  );
}

export default function AgentExample() {
  return (
    <div className="tidal-scope" data-theme="light" dir="ltr">
      <style>{tidalExampleStyles}</style>
      <SecuritySectionDemo />
    </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}

{"keyboard":["Tab and Shift+Tab follow the component's native focus order."],"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."}

Consumers provide all security statements, evidence, document metadata and native destinations or action callbacks. Controls have unique IDs, title, description, optional icon/detail and action. Documents have unique IDs, title, optional description, exact updated text/dateTime and action. Actions require unique IDs and nonblank labels and an explicit link or button kind; opposite props/ref/callback channels are excluded and legacy mixed actions are invalid. Decorative icon slots are inert and hidden from accessibility APIs; caller button/link attributes and refs are preserved while type, content, href and disabled behavior stay owned. Native click handlers run first and may prevent callback proposals. Disabled links omit href and suppress primary/auxiliary clicks; explicit aria-disabled false remains enabled. Optional contact action, note, localized labels, root section attributes/ref and h2-h5 hierarchy are supported. Empty and invalid states are explicit. No certification, compliance result, security scan, hosting, request or account operation is inferred or executed. The demo is fictional content and a local documentation disclosure.
