{
  "component": {
    "id": "pricing-page-template",
    "name": "Pricing page template",
    "tier": "pro",
    "exampleId": "pricing-page-template",
    "access": "pro",
    "requiresAuthorization": true
  },
  "source": {
    "demoModule": "src/pricing-page-template-demo.tsx",
    "exportName": "PricingPageTemplateDemo",
    "sha256": "ded01257007e3deaf9f6b7e64cc74dc796434291944653e18862877119aaa3b0",
    "helperImports": [],
    "directComponentImports": [
      "faq-section",
      "feature-comparison-table",
      "pricing-page-template",
      "pricing-section"
    ],
    "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/pricing-page-template",
    "registryUrl": "https://tidalui.com/r/pro/pricing-page-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/pricing-page-template",
      "purpose": "component",
      "command": "npx shadcn@latest add @tidal-pro/pricing-page-template",
      "registryUrl": "https://tidalui.com/r/pro/pricing-page-template.json",
      "access": "pro",
      "sourceDelivery": "server-gated",
      "requiresAuthorization": true
    }
  ],
  "imports": {
    "componentPath": "components/ui/pricing-page-template.tsx",
    "exports": [
      "TidalComparisonColumn",
      "TidalComparisonFeature",
      "TidalFaqGroup",
      "TidalPricingBillingOption",
      "TidalPricingPageTemplate",
      "TidalPricingPlan"
    ],
    "stylesheets": [
      "components/ui/tidal.css",
      "components/ui/pricing-page-template.css",
      "components/ui/pricing-section.css",
      "components/ui/feature-comparison-table.css",
      "components/ui/faq-section.css",
      "components/ui/navigation-bar.css",
      "components/ui/accordion.css",
      "components/ui/call-to-action-section.css",
      "components/ui/footer.css"
    ],
    "scopeClass": "tidal-scope"
  },
  "dependencies": {
    "npm": [],
    "registry": [
      "@tidal-pro/navigation-bar",
      "@tidal-pro/pricing-section",
      "@tidal-pro/feature-comparison-table",
      "@tidal-pro/faq-section",
      "@tidal-pro/call-to-action-section",
      "@tidal-pro/footer"
    ],
    "additionalRegistry": [],
    "installClosure": [
      "accordion",
      "call-to-action-section",
      "faq-section",
      "feature-comparison-table",
      "footer",
      "navigation-bar",
      "pricing-page-template",
      "pricing-section"
    ],
    "css": [
      "components/ui/tidal.css",
      "components/ui/pricing-page-template.css",
      "components/ui/pricing-section.css",
      "components/ui/feature-comparison-table.css",
      "components/ui/faq-section.css",
      "components/ui/navigation-bar.css",
      "components/ui/accordion.css",
      "components/ui/call-to-action-section.css",
      "components/ui/footer.css"
    ],
    "demoCss": [],
    "consumerOwned": [
      "react",
      "react-dom"
    ]
  },
  "files": {
    "sourceFile": "/examples/pricing-page-template.tsx",
    "demoStyles": [],
    "inlinedDemoStyles": [],
    "assets": []
  },
  "example": {
    "language": "tsx",
    "source": "\"use client\";\n\nimport \"./components/ui/tidal.css\";\n\nimport { useId, useMemo, useState } from \"react\";\n\nimport { TidalPricingPageTemplate } from \"./components/ui/pricing-page-template\";\n\nimport type { TidalPricingBillingOption, TidalPricingPlan } from \"./components/ui/pricing-section\";\n\nimport type { TidalComparisonColumn, TidalComparisonFeature } from \"./components/ui/feature-comparison-table\";\n\nimport type { TidalFaqGroup } from \"./components/ui/faq-section\";\n\nimport \"./components/ui/pricing-section.css\";\n\nimport \"./components/ui/feature-comparison-table.css\";\n\nimport \"./components/ui/faq-section.css\";\n\nimport \"./components/ui/pricing-page-template.css\";\n\nimport \"./components/ui/navigation-bar.css\";\n\nimport \"./components/ui/accordion.css\";\n\nimport \"./components/ui/call-to-action-section.css\";\n\nimport \"./components/ui/footer.css\";\n\n\n\nconst BILLING_OPTIONS: readonly TidalPricingBillingOption[] = [\n  { id: \"monthly\", label: \"Monthly\", period: \"Sample monthly display\" },\n  { id: \"annual\", label: \"Annual\", period: \"Sample yearly display\" },\n];\n\nconst PLANS: readonly TidalPricingPlan[] = [\n  {\n    id: \"starter\",\n    name: \"Starter\",\n    description: \"A small fictional workspace for up to three sample projects.\",\n    prices: {\n      monthly: { amount: \"$18\", period: \"per month\", note: \"Sample USD\" },\n      annual: {\n        amount: \"$15\",\n        period: \"per month\",\n        note: \"$180 sample yearly\",\n      },\n    },\n    features: [\n      { id: \"projects\", label: \"Project workspace\", included: true },\n      { id: \"review\", label: \"Review notes\", included: true },\n      { id: \"history\", label: \"Extended history\", included: false },\n    ],\n    action: { label: \"Select Starter sample\", type: \"button\" },\n  },\n  {\n    id: \"team\",\n    name: \"Team\",\n    description:\n      \"A fictional shared workspace with unlimited sample projects and more review context.\",\n    prices: {\n      monthly: { amount: \"$32\", period: \"per month\", note: \"Sample USD\" },\n      annual: {\n        amount: \"$27\",\n        period: \"per month\",\n        note: \"$324 sample yearly\",\n      },\n    },\n    features: [\n      { id: \"projects\", label: \"Project workspace\", included: true },\n      { id: \"review\", label: \"Review notes\", included: true },\n      { id: \"history\", label: \"Extended history\", included: true },\n    ],\n    action: { label: \"Select Team sample\", type: \"button\" },\n    badge: \"Sample featured\",\n    featured: true,\n  },\n];\n\nconst COMPARISON_FEATURES: readonly TidalComparisonFeature[] = [\n  {\n    id: \"projects\",\n    label: \"Sample projects\",\n    description: \"Visible local project entries.\",\n    values: {\n      starter: { kind: \"text\", value: \"3\" },\n      team: { kind: \"text\", value: \"Unlimited sample\" },\n    },\n  },\n  {\n    id: \"review\",\n    label: \"Review notes\",\n    values: {\n      starter: { kind: \"available\" },\n      team: { kind: \"available\" },\n    },\n  },\n  {\n    id: \"history\",\n    label: \"Extended history\",\n    values: {\n      starter: { kind: \"unavailable\" },\n      team: { kind: \"available\" },\n    },\n  },\n];\n\nconst FAQ_GROUPS: readonly TidalFaqGroup[] = [\n  {\n    id: \"plans\",\n    label: \"Sample plans\",\n    questions: [\n      {\n        value: \"sample-only\",\n        title: \"Can I buy a plan from this preview?\",\n        searchText: \"buy checkout payment purchase\",\n        answer:\n          \"No. The prices and plan choices are fictional display data. This preview has no checkout or payment connection.\",\n      },\n      {\n        value: \"billing-toggle\",\n        title: \"What does the billing switch change?\",\n        searchText: \"monthly annual billing switch\",\n        answer:\n          \"It changes the supplied local price strings and comparison context only.\",\n      },\n    ],\n  },\n  {\n    id: \"workspace\",\n    label: \"Workspace\",\n    questions: [\n      {\n        value: \"workspace-created\",\n        title: \"Does selecting a plan create a workspace?\",\n        searchText: \"workspace account create\",\n        answer:\n          \"No. Selection updates local React state and a visible sample message only.\",\n      },\n    ],\n  },\n];\n\nexport interface PricingPageTemplateDemoProps {\n  theme?: \"light\" | \"dark\";\n}\n\nexport function PricingPageTemplateDemo({\n  theme = \"light\",\n}: PricingPageTemplateDemoProps) {\n  const instanceId = useId().replace(/:/g, \"\");\n  const topId = `pricing-sample-top-${instanceId}`;\n  const plansId = `pricing-sample-plans-${instanceId}`;\n  const comparisonId = `pricing-sample-comparison-${instanceId}`;\n  const questionsId = `pricing-sample-questions-${instanceId}`;\n  const nextStepId = `pricing-sample-next-step-${instanceId}`;\n  const [billing, setBilling] = useState(\"monthly\");\n  const [selectedPlan, setSelectedPlan] = useState<string | null>(null);\n  const [openQuestion, setOpenQuestion] = useState(\"\");\n  const [message, setMessage] = useState(\n    \"Monthly sample prices are visible. No plan is selected.\",\n  );\n\n  const comparisonColumns = useMemo<readonly TidalComparisonColumn[]>(\n    () =>\n      PLANS.map((plan) => ({\n        id: plan.id,\n        label: plan.name,\n        accessibleLabel: `${plan.name} sample plan`,\n        description: `${plan.prices[billing]?.amount ?? \"\"} sample ${billing}`,\n        badge: plan.badge,\n        action: {\n          id: `${plan.id}-link`,\n          kind: \"link\" as const,\n          href: `#${plansId}`,\n          label: `Review ${plan.name}`,\n          accessibleLabel: `Review the ${plan.name} sample plan`,\n          variant: plan.featured ? (\"primary\" as const) : undefined,\n        },\n      })),\n    [billing, plansId],\n  );\n\n  function resetSample() {\n    setBilling(\"monthly\");\n    setSelectedPlan(null);\n    setOpenQuestion(\"\");\n    setMessage(\"The pricing sample returned to its initial state.\");\n  }\n\n  return (\n    <TidalPricingPageTemplate\n      id={topId}\n      theme={theme}\n      title=\"Straightforward plans for a sample workspace.\"\n      eyebrow=\"Fictional pricing preview\"\n      description=\"Compare supplied display prices and features without opening a checkout, account, or payment flow.\"\n      sectionIds={{\n        pricing: plansId,\n        comparison: comparisonId,\n        faq: questionsId,\n        callToAction: nextStepId,\n      }}\n      navigation={{\n        title: \"Northstar\",\n        brandHref: `#${topId}`,\n        navigationLabel: \"Sample pricing navigation\",\n        links: [\n          { id: \"plans\", label: \"Plans\", href: `#${plansId}` },\n          {\n            id: \"compare\",\n            label: \"Compare\",\n            href: `#${comparisonId}`,\n          },\n          {\n            id: \"questions\",\n            label: \"Questions\",\n            href: `#${questionsId}`,\n          },\n        ],\n        actionItems: [\n          { id: \"reset\", label: \"Reset sample\", onClick: resetSample },\n        ],\n      }}\n      pricing={{\n        title: \"Choose a sample plan\",\n        eyebrow: \"Plans\",\n        description: \"The amounts below are fictional USD display values.\",\n        plans: PLANS,\n        billingOptions: BILLING_OPTIONS,\n        billing,\n        onBillingChange: (option) => {\n          setBilling(option.id);\n          setMessage(`${option.label} sample prices are visible.`);\n        },\n        selectedPlanId: selectedPlan,\n        onSelectedPlanChange: (plan) => setSelectedPlan(plan.id),\n        onPlanSelect: (plan, option) =>\n          setMessage(\n            `${plan.name} is selected with ${option.label.toLowerCase()} sample pricing. No order was created.`,\n          ),\n      }}\n      comparison={{\n        title: \"Compare the supplied features\",\n        eyebrow: null,\n        description:\n          \"Read each fictional plan column against the same feature rows.\",\n        caption: \"Starter and Team sample plan comparison\",\n        columns: comparisonColumns,\n        features: COMPARISON_FEATURES,\n      }}\n      faq={{\n        title: \"Pricing questions\",\n        eyebrow: null,\n        description: \"Open a concise answer about this local sample.\",\n        groups: FAQ_GROUPS,\n        value: openQuestion,\n        onValueChange: setOpenQuestion,\n        summaryHint: \"Open a supplied question to inspect its answer.\",\n      }}\n      callToAction={{\n        title: \"Review the sample before connecting commerce.\",\n        eyebrow: \"Next step\",\n        description: \"Return to the plan cards or reset every local choice.\",\n        detailLabel: \"Current selection\",\n        detail: selectedPlan\n          ? `${selectedPlan === \"team\" ? \"Team\" : \"Starter\"}, ${billing}`\n          : \"No sample plan selected\",\n        actions: [\n          {\n            id: \"plans\",\n            kind: \"link\",\n            href: `#${plansId}`,\n            label: \"Review sample plans\",\n            variant: \"primary\",\n          },\n          {\n            id: \"reset\",\n            kind: \"button\",\n            label: \"Reset page sample\",\n            onAction: resetSample,\n          },\n        ],\n        footer:\n          \"No checkout, payment, subscription, or account action is connected.\",\n      }}\n      footer={{\n        brand: <a href={`#${topId}`}>Northstar</a>,\n        description: \"A fictional pricing page sample.\",\n        groups: [\n          {\n            id: \"pricing\",\n            title: \"Pricing\",\n            links: [\n              { href: `#${plansId}`, label: \"Plans\" },\n              { href: `#${comparisonId}`, label: \"Comparison\" },\n            ],\n          },\n          {\n            id: \"page\",\n            title: \"Page\",\n            links: [\n              { href: `#${questionsId}`, label: \"Questions\" },\n              { href: `#${topId}`, label: \"Back to top\" },\n            ],\n          },\n        ],\n        legal: <span>Fictional sample pricing for local review.</span>,\n      }}\n      sampleNote={<output aria-live=\"polite\">{message}</output>}\n    />\n  );\n}\n\nexport default function AgentExample() {\n  return (\n    <div className=\"tidal-scope\" data-theme=\"light\" dir=\"ltr\">\n      <PricingPageTemplateDemo />\n    </div>\n  );\n}\n",
    "sourceFile": "/examples/pricing-page-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": []
}
