{
  "component": {
    "id": "footer-conversion",
    "name": "Call to action footer",
    "tier": "pro",
    "exampleId": "footer-conversion",
    "access": "pro",
    "requiresAuthorization": true
  },
  "source": {
    "demoModule": "src/footer-conversion-demo.tsx",
    "exportName": "FooterConversionDemo",
    "sha256": "7816ddeec2a3f4446ef43518147957103f4978704c85846a90e174f23cad0408",
    "helperImports": [],
    "directComponentImports": [
      "footer-conversion"
    ],
    "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-conversion",
    "registryUrl": "https://tidalui.com/r/pro/footer-conversion.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-conversion",
      "purpose": "component",
      "command": "npx shadcn@latest add @tidal-pro/footer-conversion",
      "registryUrl": "https://tidalui.com/r/pro/footer-conversion.json",
      "access": "pro",
      "sourceDelivery": "server-gated",
      "requiresAuthorization": true
    }
  ],
  "imports": {
    "componentPath": "components/ui/footer-conversion.tsx",
    "exports": [
      "TidalFooterConversion",
      "TidalFooterConversionNavGroup"
    ],
    "stylesheets": [
      "components/ui/tidal.css",
      "components/ui/footer-conversion.css"
    ],
    "scopeClass": "tidal-scope"
  },
  "dependencies": {
    "npm": [],
    "registry": [],
    "additionalRegistry": [],
    "installClosure": [
      "footer-conversion"
    ],
    "css": [
      "components/ui/tidal.css",
      "components/ui/footer-conversion.css"
    ],
    "demoCss": [],
    "consumerOwned": [
      "react",
      "react-dom"
    ]
  },
  "files": {
    "sourceFile": "/examples/footer-conversion.tsx",
    "demoStyles": [],
    "inlinedDemoStyles": [
      "src/footer-conversion-demo.css"
    ],
    "assets": []
  },
  "example": {
    "language": "tsx",
    "source": "import \"./components/ui/tidal.css\";\n\nimport { useState, type MouseEvent } from \"react\";\n\nimport { TidalFooterConversion, type TidalFooterConversionNavGroup } from \"./components/ui/footer-conversion\";\n\nimport \"./components/ui/footer-conversion.css\";\n\n\n\nconst tidalExampleStyles = \".tidal-scope .footer-pilot-05-demo,\\n.tidal-scope .footer-pilot-05-demo-shell {\\n  min-inline-size: 0;\\n  inline-size: 100%;\\n}\";\n\nconst navigationGroups: readonly TidalFooterConversionNavGroup[] = [\n  {\n    id: \"learn\",\n    label: \"Learn\",\n    links: [\n      { id: \"components\", label: \"Components\", href: \"#preview-components\" },\n      { id: \"guides\", label: \"Guides\", href: \"#preview-guides\" },\n      {\n        id: \"accessibility\",\n        label: \"Accessibility\",\n        href: \"#preview-accessibility\",\n      },\n    ],\n  },\n  {\n    id: \"company\",\n    label: \"Company\",\n    links: [\n      { id: \"about\", label: \"About\", href: \"#preview-about\" },\n      { id: \"support\", label: \"Support\", href: \"#preview-support\" },\n      { id: \"status\", label: \"Status\", href: \"#preview-status\" },\n    ],\n  },\n];\n\nfunction handlePreviewClick(\n  label: string,\n  setStatus: (status: string) => void,\n) {\n  return (event: MouseEvent<HTMLAnchorElement>) => {\n    if (\n      event.defaultPrevented ||\n      event.button !== 0 ||\n      event.metaKey ||\n      event.ctrlKey ||\n      event.shiftKey ||\n      event.altKey ||\n      event.currentTarget.target\n    ) {\n      return;\n    }\n    event.preventDefault();\n    setStatus(`${label} selected in this local preview.`);\n  };\n}\n\nexport function FooterConversionDemo() {\n  const [lastAction, setLastAction] = useState(\"No preview action selected.\");\n  const previewNavigationGroups = navigationGroups.map((group) => ({\n    ...group,\n    links: group.links.map((link) => ({\n      ...link,\n      onClick: handlePreviewClick(String(link.label), setLastAction),\n    })),\n  }));\n  return (\n    <div className=\"footer-pilot-05-demo\">\n      <div className=\"footer-pilot-05-demo-shell\">\n        <TidalFooterConversion\n          aria-label=\"Conversion footer example\"\n          brand={\n            <a\n              href=\"#preview-home\"\n              onClick={handlePreviewClick(\"Home\", setLastAction)}\n            >\n              TidalUI\n            </a>\n          }\n          eyebrow=\"Get started\"\n          primaryLabel=\"Self serve\"\n          secondaryLabel=\"With our team\"\n          heading=\"Ready to get started?\"\n          description=\"Try the product or talk to our team.\"\n          primary={{\n            id: \"start-trial\",\n            label: \"Start a trial\",\n            href: \"#preview-start-trial\",\n            description: \"Explore the product at your own pace.\",\n            onClick: handlePreviewClick(\"Start a trial\", setLastAction),\n          }}\n          secondary={{\n            id: \"book-demo\",\n            label: \"Book a demo\",\n            href: \"#preview-book-demo\",\n            description: \"See how it fits your workflow.\",\n            onClick: handlePreviewClick(\"Book a demo\", setLastAction),\n          }}\n          navigationGroups={previewNavigationGroups}\n          legal={<span>© 2026 TidalUI preview</span>}\n          status={<span role=\"status\">{lastAction}</span>}\n        />\n      </div>\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      <FooterConversionDemo />\n    </div>\n  );\n}\n",
    "sourceFile": "/examples/footer-conversion.tsx",
    "fixtureData": "Existing demo fixture data only; replace with consumer-owned data before production use."
  },
  "controlledState": [],
  "events": [
    {
      "name": "onClick",
      "nativeType": "React synthetic event or native 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": "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": "server-gated"
  },
  "exceptions": []
}
