{
  "component": {
    "id": "pricing-section",
    "name": "Pricing section",
    "tier": "pro",
    "exampleId": "pricing-section",
    "access": "pro",
    "requiresAuthorization": true
  },
  "source": {
    "demoModule": "src/pricing-section-demo.tsx",
    "exportName": "PricingSectionDemo",
    "sha256": "56f255e052d76f6aa74793184fa702b27fba9fb99ebcd76bcbf2b260855c5c76",
    "helperImports": [],
    "directComponentImports": [
      "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-section",
    "registryUrl": "https://tidalui.com/r/pro/pricing-section.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-section",
      "purpose": "component",
      "command": "npx shadcn@latest add @tidal-pro/pricing-section",
      "registryUrl": "https://tidalui.com/r/pro/pricing-section.json",
      "access": "pro",
      "sourceDelivery": "server-gated",
      "requiresAuthorization": true
    }
  ],
  "imports": {
    "componentPath": "components/ui/pricing-section.tsx",
    "exports": [
      "TidalPricingBillingOption",
      "TidalPricingPlan",
      "TidalPricingSection"
    ],
    "stylesheets": [
      "components/ui/tidal.css",
      "components/ui/pricing-section.css"
    ],
    "scopeClass": "tidal-scope"
  },
  "dependencies": {
    "npm": [
      "lucide-react"
    ],
    "registry": [],
    "additionalRegistry": [],
    "installClosure": [
      "pricing-section"
    ],
    "css": [
      "components/ui/tidal.css",
      "components/ui/pricing-section.css"
    ],
    "demoCss": [],
    "consumerOwned": [
      "react",
      "react-dom"
    ]
  },
  "files": {
    "sourceFile": "/examples/pricing-section.tsx",
    "demoStyles": [],
    "inlinedDemoStyles": [
      "src/pricing-section-demo.css"
    ],
    "assets": []
  },
  "example": {
    "language": "tsx",
    "source": "\"use client\";\n\nimport \"./components/ui/tidal.css\";\n\nimport { useState } from \"react\";\n\nimport { ArrowRight, Check } from \"lucide-react\";\n\nimport { TidalPricingSection, type TidalPricingBillingOption, type TidalPricingPlan } from \"./components/ui/pricing-section\";\n\nimport \"./components/ui/pricing-section.css\";\n\n\n\nconst tidalExampleStyles = \".tidal-scope .pricing-section-demo {\\n  container-type: inline-size;\\n  width: 100%;\\n  min-width: 0;\\n}\\n\\n.tidal-scope .pricing-section-demo-selection {\\n  display: flex;\\n  align-items: flex-start;\\n  gap: 12px;\\n  min-width: 0;\\n  margin-top: 14px;\\n  padding: 14px 16px;\\n  border: 1px solid var(--t-border);\\n  border-radius: 12px;\\n  background: var(--t-subtle);\\n}\\n\\n.tidal-scope .pricing-section-demo-selection-mark {\\n  display: grid;\\n  flex: none;\\n  width: 30px;\\n  height: 30px;\\n  place-items: center;\\n  border-radius: 50%;\\n  background: var(--t-ink);\\n  color: var(--t-surface);\\n}\\n\\n.tidal-scope .pricing-section-demo-selection > div:last-child {\\n  min-width: 0;\\n}\\n\\n.tidal-scope .pricing-section-demo-selection > div:last-child > span {\\n  display: block;\\n  color: var(--t-muted);\\n  font-size: 11px;\\n  letter-spacing: 0.8px;\\n  text-transform: uppercase;\\n}\\n\\n.tidal-scope .pricing-section-demo-selection p {\\n  margin: 5px 0 0;\\n  color: var(--t-ink);\\n  font-size: 11px;\\n  line-height: 1.5;\\n  overflow-wrap: anywhere;\\n}\\n\\n.tidal-scope .pricing-section-demo-note {\\n  margin: 12px 2px 0;\\n  color: var(--t-muted);\\n  font-size: 11px;\\n  line-height: 1.55;\\n  overflow-wrap: anywhere;\\n}\";\n\nconst SAMPLE_BILLING_OPTIONS = [\n  {\n    id: \"monthly\",\n    label: \"Monthly\",\n    period: \"sample / month\",\n    note: \"Illustrative monthly figure\",\n  },\n  {\n    id: \"annual\",\n    label: \"Annual\",\n    period: \"sample / year\",\n    note: \"Illustrative annual total\",\n  },\n] as const satisfies readonly TidalPricingBillingOption[];\n\nconst SAMPLE_PLANS = [\n  {\n    id: \"maker\",\n    name: \"Maker\",\n    description: \"A focused home for one small product team.\",\n    prices: {\n      monthly: {\n        amount: \"$18\",\n        period: \"sample / month\",\n        note: \"Illustrative sample price\",\n      },\n      annual: {\n        amount: \"$180\",\n        period: \"sample / year\",\n        note: \"Illustrative sample total\",\n      },\n    },\n    features: [\n      { id: \"projects\", label: \"Unlimited project spaces\" },\n      {\n        id: \"reviews\",\n        label: \"Review-ready sharing\",\n        detail: \"Comment and resolve in one place\",\n      },\n      { id: \"history\", label: \"Activity history\", detail: \"30 days\" },\n      { id: \"roles\", label: \"Advanced team roles\", included: false },\n    ],\n    action: {\n      label: \"Preview Maker\",\n      type: \"button\",\n      \"aria-label\": \"Select Maker sample plan\",\n    },\n  },\n  {\n    id: \"studio\",\n    name: \"Studio\",\n    description: \"A roomy operating layer for an active product studio.\",\n    badge: \"Sample favorite\",\n    featured: true,\n    prices: {\n      monthly: {\n        amount: \"$42\",\n        period: \"sample / month\",\n        note: \"Illustrative sample price\",\n      },\n      annual: {\n        amount: \"$420\",\n        period: \"sample / year\",\n        note: \"Illustrative sample total\",\n      },\n    },\n    features: [\n      { id: \"projects\", label: \"Unlimited project spaces\" },\n      {\n        id: \"reviews\",\n        label: \"Review-ready sharing\",\n        detail: \"Comment and resolve in one place\",\n      },\n      { id: \"history\", label: \"Activity history\", detail: \"1 year\" },\n      { id: \"roles\", label: \"Advanced team roles\" },\n    ],\n    action: {\n      label: \"Preview Studio\",\n      type: \"button\",\n      \"aria-label\": \"Select Studio sample plan\",\n    },\n  },\n  {\n    id: \"scale\",\n    name: \"Scale\",\n    description: \"A deliberate system for several connected teams.\",\n    prices: {\n      monthly: {\n        amount: \"$78\",\n        period: \"sample / month\",\n        note: \"Illustrative sample price\",\n      },\n      annual: {\n        amount: \"$780\",\n        period: \"sample / year\",\n        note: \"Illustrative sample total\",\n      },\n    },\n    features: [\n      { id: \"projects\", label: \"Unlimited project spaces\" },\n      {\n        id: \"reviews\",\n        label: \"Review-ready sharing\",\n        detail: \"Comment and resolve in one place\",\n      },\n      { id: \"history\", label: \"Activity history\", detail: \"Unlimited\" },\n      { id: \"roles\", label: \"Advanced team roles\" },\n    ],\n    action: {\n      label: \"See Scale details\",\n      href: \"#sample-selection\",\n      \"aria-label\": \"Select Scale sample plan and view local details\",\n    },\n  },\n] as const satisfies readonly TidalPricingPlan[];\n\nexport function PricingSectionDemo() {\n  const [billing, setBilling] = useState(\"monthly\");\n  const [selectedPlanId, setSelectedPlanId] = useState<string | null>(null);\n  const selectedPlan = SAMPLE_PLANS.find((plan) => plan.id === selectedPlanId);\n  const selectedPrice =\n    selectedPlan?.prices[billing as keyof typeof selectedPlan.prices];\n\n  return (\n    <div className=\"pricing-section-demo\">\n      <TidalPricingSection\n        title=\"Choose your plan\"\n        eyebrow=\"Sample plans\"\n        description=\"Compare sample plans and billing periods, then review the selected plan.\"\n        plans={SAMPLE_PLANS}\n        billingOptions={SAMPLE_BILLING_OPTIONS}\n        billing={billing}\n        selectedPlanId={selectedPlanId}\n        onBillingChange={(option) => setBilling(option.id)}\n        onPlanSelect={(plan) => setSelectedPlanId(plan.id)}\n      />\n\n      <section\n        className=\"pricing-section-demo-selection\"\n        id=\"sample-selection\"\n        aria-label=\"Selected sample plan\"\n      >\n        <div className=\"pricing-section-demo-selection-mark\" aria-hidden=\"true\">\n          {selectedPlan ? <Check size={16} /> : <ArrowRight size={16} />}\n        </div>\n        <div>\n          <span>Local selection</span>\n          <p role=\"status\" aria-live=\"polite\">\n            {selectedPlan && selectedPrice\n              ? `${selectedPlan.name} selected for this preview: ${selectedPrice.amount} ${selectedPrice.period}. ${selectedPrice.note}. No checkout is connected.`\n              : \"Select a sample plan to see its supplied value here. No checkout is connected.\"}\n          </p>\n        </div>\n      </section>\n      <p className=\"pricing-section-demo-note\">\n        Fictional plan values for local comparison. No checkout or account\n        action is connected.\n      </p>\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      <PricingSectionDemo />\n    </div>\n  );\n}\n",
    "sourceFile": "/examples/pricing-section.tsx",
    "fixtureData": "Existing demo fixture data only; replace with consumer-owned data before production use."
  },
  "controlledState": [
    {
      "prop": "billing",
      "type": "inferred-from-existing-demo",
      "initial": "\"monthly\"",
      "setter": "setBilling",
      "proposalCanBeRejected": false
    },
    {
      "prop": "selectedPlanId",
      "type": "inferred-from-existing-demo",
      "initial": "null",
      "setter": "setSelectedPlanId",
      "proposalCanBeRejected": false
    }
  ],
  "events": [
    {
      "name": "onBillingChange",
      "nativeType": "component callback",
      "callerFirst": true,
      "preventable": true,
      "observedResult": "The existing demo callback remains the source of truth; this example does not call a live service."
    },
    {
      "name": "onPlanSelect",
      "nativeType": "component callback",
      "callerFirst": true,
      "preventable": true,
      "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": "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": []
}
