{
  "component": {
    "id": "footer",
    "name": "Footer",
    "tier": "pro",
    "exampleId": "footer",
    "access": "pro",
    "requiresAuthorization": true
  },
  "source": {
    "demoModule": "src/footer-demo.tsx",
    "exportName": "FooterDemo",
    "sha256": "a69e3b5899336515e6101c2be1a259b4292e3b4d85e72be1aabb51f48f31ba8d",
    "helperImports": [],
    "directComponentImports": [
      "footer"
    ],
    "sampleBoundary": "Existing local demo fixture with fictional data and callbacks. No live service, customer data, access key, or Pro source is included."
  },
  "install": {
    "command": "npx shadcn@latest add @tidal-pro/footer",
    "registryUrl": "https://tidalui.com/r/pro/footer.json",
    "namespace": "@tidal-pro",
    "access": "pro",
    "sourceDelivery": "server-gated",
    "requiresAuthorization": true,
    "tokenSource": "local-env",
    "tokenEnvName": "TIDALUI_TOKEN",
    "cli": {
      "package": "shadcn",
      "requested": "latest"
    }
  },
  "installPlan": [
    {
      "order": 1,
      "kind": "primary",
      "dependency": "@tidal-pro/footer",
      "purpose": "component",
      "command": "npx shadcn@latest add @tidal-pro/footer",
      "registryUrl": "https://tidalui.com/r/pro/footer.json",
      "access": "pro",
      "sourceDelivery": "server-gated",
      "requiresAuthorization": true
    }
  ],
  "imports": {
    "componentPath": "components/ui/footer.tsx",
    "exports": [
      "TidalFooter",
      "TidalFooterGroup",
      "TidalFooterLinkItem"
    ],
    "stylesheets": [
      "components/ui/tidal.css",
      "components/ui/footer.css"
    ],
    "scopeClass": "tidal-scope"
  },
  "dependencies": {
    "npm": [
      "lucide-react"
    ],
    "registry": [],
    "additionalRegistry": [],
    "installClosure": [
      "footer"
    ],
    "css": [
      "components/ui/tidal.css",
      "components/ui/footer.css"
    ],
    "demoCss": [],
    "consumerOwned": [
      "react",
      "react-dom"
    ]
  },
  "files": {
    "sourceFile": "/examples/footer.tsx",
    "demoStyles": [],
    "inlinedDemoStyles": [
      "src/footer-demo.css"
    ],
    "assets": []
  },
  "example": {
    "language": "tsx",
    "source": "import \"./components/ui/tidal.css\";\n\nimport { CircleDot, Waves } from \"lucide-react\";\n\nimport { useState, type MouseEvent as ReactMouseEvent } from \"react\";\n\nimport { TidalFooter, type TidalFooterGroup, type TidalFooterLinkItem } from \"./components/ui/footer\";\n\nimport \"./components/ui/footer.css\";\n\n\n\nconst 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}\";\n\nconst SAMPLE_GROUPS: readonly TidalFooterGroup[] = [\n  {\n    id: \"product\",\n    title: \"Product\",\n    links: [\n      { href: \"#footer-sample-overview\", label: \"Workspace overview\" },\n      { href: \"#footer-sample-updates\", label: \"Sample updates\" },\n    ],\n  },\n  {\n    id: \"resources\",\n    title: \"Resources\",\n    links: [\n      { href: \"#footer-sample-guide\", label: \"Getting started\" },\n      { href: \"#footer-sample-accessibility\", label: \"Accessibility notes\" },\n    ],\n  },\n  {\n    id: \"company\",\n    title: \"About this sample\",\n    links: [\n      { href: \"#footer-sample-about\", label: \"Fictional product\" },\n      { href: \"#footer-sample-privacy\", label: \"Local data boundary\" },\n    ],\n  },\n];\n\nconst REFERENCE_LINKS: readonly TidalFooterLinkItem[] = [\n  {\n    href: \"https://react.dev/\",\n    label: \"React documentation\",\n    target: \"_blank\",\n    rel: \"noreferrer\",\n  },\n  {\n    href: \"https://www.typescriptlang.org/docs/\",\n    label: \"TypeScript documentation\",\n    target: \"_blank\",\n    rel: \"noreferrer\",\n  },\n];\n\nconst SAMPLE_DESTINATIONS = [\n  {\n    id: \"footer-sample-overview\",\n    title: \"Workspace overview\",\n    detail:\n      \"Northstar is a fictional workspace used only to demonstrate this footer's local destinations.\",\n  },\n  {\n    id: \"footer-sample-updates\",\n    title: \"Sample updates\",\n    detail:\n      \"The sample has no release feed. This panel is the complete local destination for the updates link.\",\n  },\n  {\n    id: \"footer-sample-guide\",\n    title: \"Getting started\",\n    detail:\n      \"Choose a sample view, inspect its labels, and use the native links without creating an account.\",\n  },\n  {\n    id: \"footer-sample-accessibility\",\n    title: \"Accessibility notes\",\n    detail:\n      \"Footer links keep native destinations, visible focus, readable wrapping, and forty-four pixel targets.\",\n  },\n  {\n    id: \"footer-sample-about\",\n    title: \"Fictional product\",\n    detail:\n      \"Northstar, its workspace, and every statement in this scene are original sample content.\",\n  },\n  {\n    id: \"footer-sample-privacy\",\n    title: \"Local data boundary\",\n    detail:\n      \"This demonstration sends no form data, creates no profile, and stores no visitor information.\",\n  },\n  {\n    id: \"footer-sample-terms\",\n    title: \"Sample terms\",\n    detail:\n      \"There is no account, purchase, subscription, or binding service attached to this fictional sample.\",\n  },\n] as const;\n\nexport function FooterDemo() {\n  const [openDestinations, setOpenDestinations] = useState<readonly string[]>(\n    [],\n  );\n\n  function revealLinkedDestination(event: ReactMouseEvent<HTMLDivElement>) {\n    if (\n      event.defaultPrevented ||\n      event.button !== 0 ||\n      event.metaKey ||\n      event.ctrlKey ||\n      event.altKey ||\n      event.shiftKey\n    )\n      return;\n\n    const anchor = (event.target as HTMLElement).closest<HTMLAnchorElement>(\n      'a[href^=\"#footer-sample-\"]',\n    );\n    if (!anchor) return;\n\n    const id = anchor.hash.slice(1);\n    if (!SAMPLE_DESTINATIONS.some((destination) => destination.id === id))\n      return;\n\n    // The disclosure must be open before the browser performs native fragment\n    // navigation, otherwise the destination text remains hidden.\n    const details = event.currentTarget.querySelector<HTMLDetailsElement>(\n      `details#${id}`,\n    );\n    if (details) details.open = true;\n    setOpenDestinations((current) =>\n      current.includes(id) ? current : [...current, id],\n    );\n  }\n\n  return (\n    <div\n      className=\"footer-demo-specimen\"\n      onClickCapture={revealLinkedDestination}\n    >\n      <TidalFooter\n        aria-label=\"Northstar sample footer\"\n        brand={\n          <a className=\"footer-demo-brand\" href=\"#footer-sample-overview\">\n            <Waves size={30} aria-hidden=\"true\" />\n            <span>\n              Northstar<small>Fictional workspace</small>\n            </span>\n          </a>\n        }\n        description=\"A precise place to find every part of this local product sample. No account or live service is connected.\"\n        groups={SAMPLE_GROUPS}\n        socialLinks={REFERENCE_LINKS}\n        socialLabel=\"Technology reference links\"\n        status={\n          <span className=\"footer-demo-status\">\n            <CircleDot size={13} aria-hidden=\"true\" />\n            Local preview · no live service status\n          </span>\n        }\n        legal={\n          <>\n            <span>© 2026 Fictional Northstar sample</span>\n            <span className=\"footer-demo-legal-links\">\n              <a href=\"#footer-sample-privacy\">Privacy boundary</a>\n              <a href=\"#footer-sample-terms\">Sample terms</a>\n            </span>\n          </>\n        }\n      />\n\n      <section\n        className=\"footer-demo-destinations\"\n        aria-label=\"Local footer link destinations\"\n      >\n        <div className=\"footer-demo-destination-grid\">\n          {SAMPLE_DESTINATIONS.map((destination) => (\n            <details\n              id={destination.id}\n              key={destination.id}\n              open={openDestinations.includes(destination.id)}\n              onToggle={(event) => {\n                const isOpen = event.currentTarget.open;\n                setOpenDestinations((current) => {\n                  if (isOpen)\n                    return current.includes(destination.id)\n                      ? current\n                      : [...current, destination.id];\n                  return current.filter((id) => id !== destination.id);\n                });\n              }}\n            >\n              <summary>{destination.title}</summary>\n              <p>{destination.detail}</p>\n            </details>\n          ))}\n        </div>\n        <p className=\"footer-demo-note\">\n          Footer hashes open these local sample disclosures.\n        </p>\n      </section>\n    </div>\n  );\n}\n\nexport default function AgentExample() {\n  return (\n    <div className=\"tidal-scope\" data-theme=\"light\" dir=\"ltr\">\n      <style>{tidalExampleStyles}</style>\n      <FooterDemo />\n    </div>\n  );\n}\n",
    "sourceFile": "/examples/footer.tsx",
    "fixtureData": "Existing demo fixture data only; replace with consumer-owned data before production use."
  },
  "controlledState": [],
  "events": [
    {
      "name": "onClickCapture",
      "nativeType": "component callback",
      "callerFirst": true,
      "preventable": false,
      "observedResult": "The existing demo callback remains the source of truth; this example does not call a live service."
    },
    {
      "name": "onToggle",
      "nativeType": "component callback",
      "callerFirst": true,
      "preventable": false,
      "observedResult": "The existing demo callback remains the source of truth; this example does not call a live service."
    }
  ],
  "nativeForm": {
    "participates": false,
    "names": [],
    "expectedFormData": {},
    "submitBehavior": "No form submit is present in the existing demo.",
    "resetBehavior": "No reset control is present in the existing demo.",
    "disabledBehavior": "Disabled controls remain excluded from successful native form submission.",
    "readOnlyBehavior": "Read-only controls retain their value and remain inspectable by the consumer."
  },
  "accessibility": {
    "labelSource": "Existing demo label or ARIA prop",
    "semantics": "Preserve the component's native element and the semantics demonstrated by the source fixture.",
    "keyboard": [
      "Tab and Shift+Tab",
      "Enter or Space for native activation",
      "Arrow keys where the component exposes a composite control"
    ],
    "focusReturn": "Preserve browser focus order and visible focus.",
    "errorAnnouncement": "No error announcement path is present in this demo; the consumer owns validation messaging.",
    "reducedMotion": "Verify prefers-reduced-motion with the existing component transition path.",
    "forcedColors": "Verify visible borders, text, and focus in forced-colors mode."
  },
  "responsive": {
    "widths": [
      320,
      390,
      768,
      1260
    ],
    "shortViewport": "Check the example at a 300px viewport height with keyboard or portal content visible.",
    "overflow": "The page should not gain horizontal overflow; component-local scrolling must remain intentional.",
    "touchTargetMinPx": 44,
    "coarseInputFontPx": 16
  },
  "errors": [
    {
      "fixture": "Exercise the existing demo's error, empty, loading, or invalid fixture.",
      "visibleResult": "The consumer-visible result must remain explicit and must not be replaced by a silent console error.",
      "focusResult": "Focus must remain on the triggering control or move to the announced error according to the native pattern.",
      "ownership": "Consumer-owned sample state only; no network request or customer data is used."
    }
  ],
  "verification": {
    "commands": [
      "npx tsc --noEmit",
      "npx vite build"
    ],
    "lockfile": "Use the consumer project's committed lockfile.",
    "browser": [
      "Chromium 1260x800",
      "Chromium 390x844",
      "Keyboard and reduced-motion pass"
    ]
  },
  "validation": {
    "consumerFixture": {
      "tsc": "pass",
      "viteBuild": "pass",
      "resourceModel": "Generated usage plus only the component files and CSS delivered by the primary item and listed registry dependencies."
    },
    "registryArtifact": "server-gated"
  },
  "exceptions": []
}
