{
  "component": {
    "id": "accordion",
    "name": "FAQ accordion",
    "tier": "pro",
    "exampleId": "accordion",
    "access": "pro",
    "requiresAuthorization": true
  },
  "source": {
    "demoModule": "src/core-demos.tsx",
    "exportName": "AccordionDemo",
    "sha256": "ddfe46f7953cbe9a78b52bc8b4d5066e904b5e795d1161a0d672be93893ae300",
    "helperImports": [],
    "directComponentImports": [
      "accordion"
    ],
    "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/accordion",
    "registryUrl": "https://tidalui.com/r/pro/accordion.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/accordion",
      "purpose": "component",
      "command": "npx shadcn@latest add @tidal-pro/accordion",
      "registryUrl": "https://tidalui.com/r/pro/accordion.json",
      "access": "pro",
      "sourceDelivery": "server-gated",
      "requiresAuthorization": true
    }
  ],
  "imports": {
    "componentPath": "components/ui/accordion.tsx",
    "exports": [
      "TidalAccordion"
    ],
    "stylesheets": [
      "components/ui/tidal.css",
      "components/ui/accordion.css"
    ],
    "scopeClass": "tidal-scope"
  },
  "dependencies": {
    "npm": [
      "@radix-ui/react-accordion",
      "lucide-react"
    ],
    "registry": [],
    "additionalRegistry": [],
    "installClosure": [
      "accordion"
    ],
    "css": [
      "components/ui/tidal.css",
      "components/ui/accordion.css"
    ],
    "demoCss": [],
    "consumerOwned": [
      "react",
      "react-dom"
    ]
  },
  "files": {
    "sourceFile": "/examples/accordion.tsx",
    "demoStyles": [],
    "inlinedDemoStyles": [
      "src/demo-styles.css"
    ],
    "assets": []
  },
  "example": {
    "language": "tsx",
    "source": "import \"./components/ui/tidal.css\";\n\nimport { TidalAccordion } from \"./components/ui/accordion\";\n\nimport \"./components/ui/accordion.css\";\n\nimport { LayoutGrid } from \"lucide-react\";\n\nimport { UsersRound } from \"lucide-react\";\n\nimport { useState } from \"react\";\n\nimport { Settings } from \"lucide-react\";\n\n\n\nconst tidalExampleStyles = \".accordion-specimen{width:100%;max-width:425px;background:var(--t-surface);border:1px solid var(--t-border);border-radius:17px;padding:27px;box-shadow:0 8px 24px #1f1f1f07}.accordion-specimen>.demo-eyebrow{font-size:11px}.accordion-specimen>h3{font-size:26px;letter-spacing:-.9px;color:var(--t-ink);line-height:1.15;margin:13px 0 25px}\\n.accordion-specimen{max-width:780px;padding:30px;border-radius:var(--t-radius-card);box-shadow:0 24px 40px -28px #00000035,0 2px 4px #00000008}@media(max-width:650px){.accordion-specimen{padding:24px}}\\n.accordion-specimen{width:100%;max-width:620px}.accordion-specimen>.tidal-accordion{width:100%}\";\n\nexport function AccordionDemo() {\n  const [question, setQuestion] = useState(\"start\");\n  const topics = [\n    {\n      value: \"start\",\n      title: \"Where do I begin?\",\n      icon: LayoutGrid,\n      detail: \"Choose one useful detail.\",\n      content: (\n        <p>\n          Start with a component that solves a real need. Preview it, then\n          follow the <a href=\"/docs\">installation guide</a> to bring its source\n          and styles into your project.\n        </p>\n      ),\n    },\n    {\n      value: \"agents\",\n      title: \"Can my agent build with it?\",\n      icon: UsersRound,\n      detail: \"Give your agent the right context.\",\n      content: (\n        <p>\n          The <a href=\"/docs/agents\">agent guide</a> includes the machine\n          catalog, component APIs and registry instructions. Free components are\n          public; Pro source requires an active entitlement.\n        </p>\n      ),\n    },\n    {\n      value: \"custom\",\n      title: \"Can I customize the components?\",\n      icon: Settings,\n      detail: \"Make the details your own.\",\n      content: (\n        <p>\n          Adjust the scoped CSS tokens, edit the React source and connect your\n          own data. Keep the keyboard behavior, visible focus and reduced-motion\n          support as you make it your own.\n        </p>\n      ),\n    },\n  ];\n  return (\n    <div className=\"accordion-specimen\">\n      <TidalAccordion\n        label=\"Frequently asked questions\"\n        value={question}\n        onValueChange={setQuestion}\n        headingLevel={3}\n        items={topics}\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      <AccordionDemo />\n    </div>\n  );\n}\n",
    "sourceFile": "/examples/accordion.tsx",
    "fixtureData": "Existing demo fixture data only; replace with consumer-owned data before production use."
  },
  "controlledState": [
    {
      "prop": "value",
      "type": "inferred-from-existing-demo",
      "initial": "\"start\"",
      "setter": "setQuestion",
      "proposalCanBeRejected": false
    }
  ],
  "events": [
    {
      "name": "onValueChange",
      "nativeType": "component callback",
      "callerFirst": false,
      "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": "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": "Exercise the existing demo's error, empty, loading, or invalid fixture.",
      "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": []
}
