{
  "component": {
    "id": "footer-directory",
    "name": "Directory footer",
    "tier": "free",
    "exampleId": "footer-directory",
    "access": "free",
    "requiresAuthorization": false
  },
  "source": {
    "demoModule": "src/footer-directory-demo.tsx",
    "exportName": "FooterDirectoryDemo",
    "sha256": "ce3e47447b7b7a91e6444f236f36ca582d916082ae66e9c1a21f7295ae68577d",
    "helperImports": [],
    "directComponentImports": [
      "footer-directory"
    ],
    "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 https://tidalui.com/r/footer-directory.json",
    "registryUrl": "https://tidalui.com/r/footer-directory.json",
    "access": "free",
    "sourceDelivery": "public-registry",
    "requiresAuthorization": false,
    "tokenSource": "none",
    "cli": {
      "package": "shadcn",
      "requested": "latest"
    }
  },
  "installPlan": [
    {
      "order": 1,
      "kind": "primary",
      "dependency": "https://tidalui.com/r/footer-directory.json",
      "purpose": "component",
      "command": "npx shadcn@latest add https://tidalui.com/r/footer-directory.json",
      "registryUrl": "https://tidalui.com/r/footer-directory.json",
      "access": "free",
      "sourceDelivery": "public-registry",
      "requiresAuthorization": false
    }
  ],
  "imports": {
    "componentPath": "components/ui/footer-directory.tsx",
    "exports": [
      "TidalFooterDirectory",
      "TidalFooterDirectoryGroup",
      "TidalFooterDirectoryLinkItem"
    ],
    "stylesheets": [
      "components/ui/tidal.css",
      "components/ui/footer-directory.css"
    ],
    "scopeClass": "tidal-scope"
  },
  "dependencies": {
    "npm": [],
    "registry": [],
    "additionalRegistry": [],
    "installClosure": [
      "footer-directory"
    ],
    "css": [
      "components/ui/tidal.css",
      "components/ui/footer-directory.css"
    ],
    "demoCss": [],
    "consumerOwned": [
      "react",
      "react-dom"
    ]
  },
  "files": {
    "sourceFile": "/examples/footer-directory.tsx",
    "demoStyles": [],
    "inlinedDemoStyles": [
      "src/footer-pilot-demo.css"
    ],
    "assets": []
  },
  "example": {
    "language": "tsx",
    "source": "import \"./components/ui/tidal.css\";\n\nimport { useState, type ChangeEvent, type MouseEvent } from \"react\";\n\nimport { TidalFooterDirectory, type TidalFooterDirectoryGroup, type TidalFooterDirectoryLinkItem } from \"./components/ui/footer-directory\";\n\nimport \"./components/ui/footer-directory.css\";\n\n\n\nconst tidalExampleStyles = \".tidal-scope .footer-pilot-demo,\\n.tidal-scope .footer-pilot-demo * {\\n  box-sizing: border-box;\\n}\\n\\n.tidal-scope .footer-pilot-demo {\\n  inline-size: min(100%, 1240px);\\n  min-inline-size: 0;\\n  margin-inline: auto;\\n}\";\n\nfunction isPlainPrimary(event: MouseEvent<HTMLAnchorElement>) {\n  return (\n    event.button === 0 &&\n    !event.metaKey &&\n    !event.ctrlKey &&\n    !event.shiftKey &&\n    !event.altKey\n  );\n}\n\nexport function FooterDirectoryDemo() {\n  const [query, setQuery] = useState(\"\");\n  const [notice, setNotice] = useState(\n    \"Directory ready. Search or open a group.\",\n  );\n  const [openGroups, setOpenGroups] = useState<readonly string[]>([\"product\"]);\n\n  function sampleLink(\n    id: string,\n    label: string,\n    searchText: string,\n    description: string,\n  ): TidalFooterDirectoryLinkItem {\n    return {\n      id,\n      label,\n      description,\n      searchText,\n      href: \"#footer-directory-demo\",\n      onClick: (event: import(\"react\").MouseEvent<HTMLAnchorElement>) => {\n        if (!isPlainPrimary(event)) return;\n        event.preventDefault();\n        setNotice(`${label} selected locally. No navigation occurred.`);\n      },\n    };\n  }\n\n  const groups: readonly TidalFooterDirectoryGroup[] = [\n    {\n      id: \"product\",\n      title: \"Product\",\n      description: \"Core surfaces and capabilities.\",\n      links: [\n        sampleLink(\n          \"components\",\n          \"Components\",\n          \"components library blocks\",\n          \"Browse the component library\",\n        ),\n        sampleLink(\n          \"templates\",\n          \"Templates\",\n          \"templates page layouts\",\n          \"Start from a full page\",\n        ),\n        sampleLink(\n          \"release-notes\",\n          \"Release notes\",\n          \"release notes updates\",\n          \"Review shipped changes\",\n        ),\n      ],\n    },\n    {\n      id: \"resources\",\n      title: \"Resources\",\n      description: \"Practical material for teams.\",\n      links: [\n        sampleLink(\n          \"docs\",\n          \"Documentation\",\n          \"docs guides usage\",\n          \"Read implementation guidance\",\n        ),\n        sampleLink(\n          \"examples\",\n          \"Examples\",\n          \"examples demos\",\n          \"See complete working patterns\",\n        ),\n        sampleLink(\n          \"support\",\n          \"Support\",\n          \"support help contact\",\n          \"Find help for a project\",\n        ),\n      ],\n    },\n    {\n      id: \"company\",\n      title: \"Company\",\n      description: \"The people and operating notes.\",\n      links: [\n        sampleLink(\n          \"about\",\n          \"About TidalUI\",\n          \"about company team\",\n          \"Learn how the library is made\",\n        ),\n        sampleLink(\n          \"journal\",\n          \"Journal\",\n          \"journal writing notes\",\n          \"Read product notes\",\n        ),\n        sampleLink(\n          \"contact\",\n          \"Contact\",\n          \"contact email\",\n          \"Start a useful conversation\",\n        ),\n      ],\n    },\n    {\n      id: \"legal\",\n      title: \"Legal\",\n      description: \"Policies and access terms.\",\n      links: [\n        sampleLink(\n          \"license\",\n          \"License\",\n          \"license terms usage\",\n          \"Review usage terms\",\n        ),\n        sampleLink(\n          \"privacy\",\n          \"Privacy\",\n          \"privacy data\",\n          \"Read the privacy policy\",\n        ),\n        sampleLink(\n          \"accessibility\",\n          \"Accessibility\",\n          \"accessibility inclusion\",\n          \"Review accessibility commitments\",\n        ),\n      ],\n    },\n  ];\n\n  function handleSearch(event: ChangeEvent<HTMLInputElement>) {\n    setQuery(event.currentTarget.value);\n    setNotice(\n      event.currentTarget.value\n        ? \"Filtering destinations locally.\"\n        : \"Directory ready. Search or open a group.\",\n    );\n  }\n\n  return (\n    <div className=\"footer-pilot-demo\" id=\"footer-directory-demo\">\n      <TidalFooterDirectory\n        brand=\"TidalUI\"\n        eyebrow=\"Enterprise directory\"\n        title=\"Find what you need.\"\n        description=\"Product, resources, company and policies.\"\n        groups={groups}\n        searchInputProps={{\n          value: query,\n          onChange: handleSearch,\n          placeholder: \"Search destinations\",\n          autoComplete: \"off\",\n          spellCheck: false,\n        }}\n        openGroupIds={openGroups}\n        onGroupToggle={(groupId, open) => {\n          setOpenGroups((current) =>\n            open\n              ? [...current, groupId]\n              : current.filter((id) => id !== groupId),\n          );\n          setNotice(`${groupId} group ${open ? \"opened\" : \"closed\"} locally.`);\n        }}\n        legal=\"© 2026 TidalUI. Sample destinations only.\"\n        status={\n          <span role=\"status\" aria-live=\"polite\">\n            {notice}\n          </span>\n        }\n      />\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      <FooterDirectoryDemo />\n    </div>\n  );\n}\n",
    "sourceFile": "/examples/footer-directory.tsx",
    "fixtureData": "Existing demo fixture data only; replace with consumer-owned data before production use."
  },
  "controlledState": [
    {
      "prop": "openGroupIds",
      "type": "inferred-from-existing-demo",
      "initial": "[\"product\"]",
      "setter": "setOpenGroups",
      "proposalCanBeRejected": false
    }
  ],
  "events": [
    {
      "name": "onGroupToggle",
      "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": true,
    "names": [],
    "expectedFormData": {},
    "submitBehavior": "The existing demo's native form callback receives the submit event.",
    "resetBehavior": "Native reset behavior remains available where the demo renders a resettable control.",
    "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": "Consumer-provided label remains required where the component API requires one.",
    "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": "No error fixture is exposed by the existing demo; inject a consumer-owned failure state before production use.",
      "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": "present-local"
  },
  "exceptions": []
}
