{
  "component": {
    "id": "saas-landing-template",
    "name": "SaaS landing template",
    "tier": "pro",
    "exampleId": "saas-landing-template",
    "access": "pro",
    "requiresAuthorization": true
  },
  "source": {
    "demoModule": "src/saas-landing-template-demo.tsx",
    "exportName": "SaasLandingTemplateDemo",
    "sha256": "34161b5dbf040aba62bca3ead5095d3feabb86df320423fe50abde5d4a442e74",
    "helperImports": [],
    "directComponentImports": [
      "saas-landing-template"
    ],
    "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/saas-landing-template",
    "registryUrl": "https://tidalui.com/r/pro/saas-landing-template.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/saas-landing-template",
      "purpose": "component",
      "command": "npx shadcn@latest add @tidal-pro/saas-landing-template",
      "registryUrl": "https://tidalui.com/r/pro/saas-landing-template.json",
      "access": "pro",
      "sourceDelivery": "server-gated",
      "requiresAuthorization": true
    }
  ],
  "imports": {
    "componentPath": "components/ui/saas-landing-template.tsx",
    "exports": [
      "TidalSaasLandingHeroConfig",
      "TidalSaasLandingTemplate"
    ],
    "stylesheets": [
      "components/ui/tidal.css",
      "components/ui/saas-landing-template.css",
      "components/ui/navigation-bar.css",
      "components/ui/hero-section.css",
      "components/ui/feature-grid.css",
      "components/ui/testimonial-grid.css",
      "components/ui/call-to-action-section.css",
      "components/ui/footer.css"
    ],
    "scopeClass": "tidal-scope"
  },
  "dependencies": {
    "npm": [],
    "registry": [
      "@tidal-pro/navigation-bar",
      "@tidal-pro/hero-section",
      "@tidal-pro/feature-grid",
      "@tidal-pro/testimonial-grid",
      "@tidal-pro/call-to-action-section",
      "@tidal-pro/footer"
    ],
    "additionalRegistry": [],
    "installClosure": [
      "call-to-action-section",
      "feature-grid",
      "footer",
      "hero-section",
      "navigation-bar",
      "saas-landing-template",
      "testimonial-grid"
    ],
    "css": [
      "components/ui/tidal.css",
      "components/ui/saas-landing-template.css",
      "components/ui/navigation-bar.css",
      "components/ui/hero-section.css",
      "components/ui/feature-grid.css",
      "components/ui/testimonial-grid.css",
      "components/ui/call-to-action-section.css",
      "components/ui/footer.css"
    ],
    "demoCss": [],
    "consumerOwned": [
      "react",
      "react-dom"
    ]
  },
  "files": {
    "sourceFile": "/examples/saas-landing-template.tsx",
    "demoStyles": [],
    "inlinedDemoStyles": [],
    "assets": []
  },
  "example": {
    "language": "tsx",
    "source": "\"use client\";\n\nimport \"./components/ui/tidal.css\";\n\nimport { useId, useState } from \"react\";\n\nimport { TidalSaasLandingTemplate, type TidalSaasLandingHeroConfig } from \"./components/ui/saas-landing-template\";\n\nimport \"./components/ui/saas-landing-template.css\";\n\nimport \"./components/ui/navigation-bar.css\";\n\nimport \"./components/ui/hero-section.css\";\n\nimport \"./components/ui/feature-grid.css\";\n\nimport \"./components/ui/testimonial-grid.css\";\n\nimport \"./components/ui/call-to-action-section.css\";\n\nimport \"./components/ui/footer.css\";\n\nfunction tidalExampleAvatarDataUri(seed: unknown) {\n  const text = String(seed).replace(/[^a-z0-9]/gi, \"\").slice(-2) || \"UI\";\n  const palette = [\"#333333\", \"#555555\", \"#777777\", \"#999999\", \"#bbbbbb\"];\n  const color = palette[Array.from(text).reduce((sum, character) => sum + character.charCodeAt(0), 0) % palette.length];\n  const svg = `<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 96 96\"><rect width=\"96\" height=\"96\" rx=\"48\" fill=\"${color}\"/><circle cx=\"48\" cy=\"38\" r=\"17\" fill=\"white\" fill-opacity=\".92\"/><path d=\"M18 92c3-22 15-34 30-34s27 12 30 34\" fill=\"white\" fill-opacity=\".92\"/></svg>`;\n  return `data:image/svg+xml,${encodeURIComponent(svg)}`;\n}\n\nfunction tidalExampleImageDataUri(label: string) {\n  const safeLabel = label.replace(/[<>&]/g, \"\").slice(0, 28) || \"Sample image\";\n  const svg = `<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 1200 675\"><defs><linearGradient id=\"g\" x1=\"0\" x2=\"1\" y1=\"0\" y2=\"1\"><stop stop-color=\"#171717\"/><stop offset=\"1\" stop-color=\"#555555\"/></linearGradient></defs><rect width=\"1200\" height=\"675\" fill=\"url(#g)\"/><circle cx=\"950\" cy=\"100\" r=\"260\" fill=\"white\" fill-opacity=\".08\"/><text x=\"80\" y=\"570\" fill=\"white\" font-family=\"system-ui,sans-serif\" font-size=\"64\" font-weight=\"700\">${safeLabel}</text></svg>`;\n  return `data:image/svg+xml,${encodeURIComponent(svg)}`;\n}\n\nexport interface SaasLandingTemplateDemoProps {\n  theme?: \"light\" | \"dark\";\n}\n\nconst FEATURE_ITEMS = [\n  {\n    id: \"plan\",\n    title: \"Plan with the whole team\",\n    description:\n      \"Keep briefs, owners, and next steps together in one readable workspace.\",\n    size: \"wide\" as const,\n    tone: \"ink\" as const,\n    children: (\n      <ul className=\"tidal-saas-template-feature-detail\">\n        <li>Shared project briefs</li>\n        <li>Visible ownership</li>\n        <li>Clear weekly priorities</li>\n      </ul>\n    ),\n  },\n  {\n    id: \"review\",\n    title: \"Review the work\",\n    description:\n      \"Bring feedback and decisions into the same view as the work they affect.\",\n    children: (\n      <ul className=\"tidal-saas-template-feature-detail\">\n        <li>Local review states</li>\n        <li>Decision history</li>\n      </ul>\n    ),\n  },\n  {\n    id: \"deliver\",\n    title: \"See what ships next\",\n    description:\n      \"Use a concise delivery view to understand what is ready and what needs attention.\",\n    children: (\n      <ul className=\"tidal-saas-template-feature-detail\">\n        <li>Current milestones</li>\n        <li>Open questions</li>\n      </ul>\n    ),\n  },\n] as const;\n\nexport function SaasLandingTemplateDemo({\n  theme = \"light\",\n}: SaasLandingTemplateDemoProps) {\n  const instanceId = useId().replace(/:/g, \"\");\n  const topId = `saas-sample-top-${instanceId}`;\n  const featuresId = `saas-sample-features-${instanceId}`;\n  const storiesId = `saas-sample-stories-${instanceId}`;\n  const nextStepId = `saas-sample-next-step-${instanceId}`;\n  const [preview, setPreview] = useState<\"overview\" | \"workspace\">(\"overview\");\n\n  const hero: TidalSaasLandingHeroConfig = {\n    eyebrow: \"Fictional product sample\",\n    title: \"Move every project forward.\",\n    description:\n      \"Northstar gives product teams one calm place to plan work, review decisions, and prepare the next release.\",\n    actions: [\n      {\n        id: \"features\",\n        kind: \"link\",\n        label: \"Explore the workflow\",\n        href: `#${featuresId}`,\n        linkProps: { variant: \"primary\" },\n      },\n      {\n        id: \"preview\",\n        kind: \"button\",\n        label: preview === \"overview\" ? \"Preview workspace\" : \"Show overview\",\n        buttonProps: {\n          variant: \"secondary\",\n          \"aria-pressed\": preview === \"workspace\",\n          onClick: () =>\n            setPreview((current) =>\n              current === \"overview\" ? \"workspace\" : \"overview\",\n            ),\n        },\n      },\n    ],\n    visualLabel: \"Fictional workspace summary\",\n    visual: (\n      <div className=\"tidal-saas-template-hero-visual\">\n        <span>\n          {preview === \"overview\"\n            ? \"Sample portfolio overview\"\n            : \"Sample workspace selected\"}\n        </span>\n        <dl className=\"tidal-saas-template-hero-visual-grid\">\n          <div>\n            <dt>Active projects</dt>\n            <dd>{preview === \"overview\" ? \"08\" : \"03\"}</dd>\n          </div>\n          <div>\n            <dt>Reviews ready</dt>\n            <dd>{preview === \"overview\" ? \"04\" : \"02\"}</dd>\n          </div>\n          <div>\n            <dt>Decisions this week</dt>\n            <dd>{preview === \"overview\" ? \"12\" : \"05\"}</dd>\n          </div>\n          <div>\n            <dt>Open questions</dt>\n            <dd>{preview === \"overview\" ? \"06\" : \"01\"}</dd>\n          </div>\n        </dl>\n      </div>\n    ),\n  };\n\n  return (\n    <TidalSaasLandingTemplate\n      id={topId}\n      theme={theme}\n      sectionIds={{\n        features: featuresId,\n        testimonials: storiesId,\n        callToAction: nextStepId,\n      }}\n      navigation={{\n        title: \"Northstar\",\n        brandHref: `#${topId}`,\n        navigationLabel: \"Northstar sample navigation\",\n        links: [\n          { id: \"features\", label: \"Features\", href: `#${featuresId}` },\n          { id: \"stories\", label: \"Team stories\", href: `#${storiesId}` },\n          { id: \"next\", label: \"Next step\", href: `#${nextStepId}` },\n        ],\n        actionItems: [\n          {\n            id: \"reset\",\n            label: \"Reset sample\",\n            onClick: () => setPreview(\"overview\"),\n          },\n        ],\n      }}\n      hero={hero}\n      features={{\n        title: \"A clearer rhythm for product work\",\n        description:\n          \"Each section is supplied by the page consumer and can connect to real product state and destinations.\",\n        items: FEATURE_ITEMS,\n      }}\n      testimonials={{\n        eyebrow: null,\n        title: \"How the sample team works\",\n        description:\n          \"These statements and identities are fictional and demonstrate the layout only.\",\n        items: [\n          {\n            id: \"ava\",\n            quote:\n              \"The weekly plan stays short enough to read, and every decision has a visible owner.\",\n            name: \"Ava Brooks\",\n            role: \"Fictional product lead\",\n            context: \"Sample teammate statement\",\n            featured: true,\n            avatar: {\n              src: tidalExampleAvatarDataUri(\"01\"),\n              alt: \"Fictional portrait of Ava Brooks\",\n            },\n          },\n          {\n            id: \"noah\",\n            quote:\n              \"Reviews are easier when the brief, open questions, and next step sit together.\",\n            name: \"Noah Reed\",\n            role: \"Fictional design lead\",\n            context: \"Sample teammate statement\",\n            avatar: {\n              src: tidalExampleAvatarDataUri(\"02\"),\n              alt: \"Fictional portrait of Noah Reed\",\n            },\n          },\n          {\n            id: \"mila\",\n            quote:\n              \"I can see what is ready without rebuilding the same status update in another document.\",\n            name: \"Mila Chen\",\n            role: \"Fictional engineering lead\",\n            context: \"Sample teammate statement\",\n            avatar: {\n              src: tidalExampleAvatarDataUri(\"03\"),\n              alt: \"Fictional portrait of Mila Chen\",\n            },\n          },\n        ],\n      }}\n      callToAction={{\n        eyebrow: \"Sample next step\",\n        title: \"Review the workspace before connecting your product.\",\n        description:\n          \"Use the local preview to inspect the assembled page and its native destinations.\",\n        detailLabel: \"Current preview\",\n        detail:\n          preview === \"overview\" ? \"Portfolio overview\" : \"Workspace view\",\n        actions: [\n          {\n            id: \"preview\",\n            kind: \"button\",\n            label: \"Change sample view\",\n            onAction: () =>\n              setPreview((current) =>\n                current === \"overview\" ? \"workspace\" : \"overview\",\n              ),\n          },\n          {\n            id: \"features\",\n            kind: \"link\",\n            label: \"Review the features\",\n            href: `#${featuresId}`,\n          },\n        ],\n        footer: \"No account, workspace, request, or stored record is created.\",\n      }}\n      footer={{\n        brand: <a href={`#${topId}`}>Northstar</a>,\n        description: \"A fictional SaaS landing page sample.\",\n        groups: [\n          {\n            id: \"product\",\n            title: \"Product\",\n            links: [\n              { href: `#${featuresId}`, label: \"Features\" },\n              { href: `#${storiesId}`, label: \"Team stories\" },\n            ],\n          },\n          {\n            id: \"page\",\n            title: \"Page\",\n            links: [\n              { href: `#${topId}`, label: \"Overview\" },\n              { href: `#${nextStepId}`, label: \"Next step\" },\n            ],\n          },\n        ],\n        legal: <span>Fictional sample content for local review.</span>,\n      }}\n      sampleNote={\n        <output aria-live=\"polite\">\n          {preview === \"overview\"\n            ? \"Local sample view: portfolio overview.\"\n            : \"Local sample view: workspace selected.\"}\n        </output>\n      }\n    />\n  );\n}\n\nexport default function AgentExample() {\n  return (\n    <div className=\"tidal-scope\" data-theme=\"light\" dir=\"ltr\">\n      <SaasLandingTemplateDemo />\n    </div>\n  );\n}\n",
    "sourceFile": "/examples/saas-landing-template.tsx",
    "fixtureData": "Existing demo fixture data only; replace with consumer-owned data before production use."
  },
  "controlledState": [],
  "events": [],
  "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": "server-gated"
  },
  "exceptions": []
}
