{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "accordion-demo",
  "title": "Accordion Demo",
  "description": "A worked example of Accordion: A list of disclosures built on native details elements, so find-in-page and the browser do the work.",
  "registryDependencies": [
    "https://ui.tinkererslabs.com/r/accordion.json"
  ],
  "files": [
    {
      "path": "components/demos/accordion-demo.tsx",
      "content": "\"use client\"\n\nimport { Accordion } from \"@/registry/default/accordion/accordion\"\n\nconst items = [\n  {\n    id: \"licence\",\n    title: \"Is it free to use?\",\n    content:\n      \"Yes. Everything here is MIT licensed, for personal and commercial work alike. Keep the notice and you are done.\",\n  },\n  {\n    id: \"theme\",\n    title: \"Will it match my theme?\",\n    content:\n      \"Components use semantic shadcn tokens, so they inherit whatever background, foreground, and border you already have.\",\n  },\n  {\n    id: \"registry\",\n    title: \"Registry or npm?\",\n    content:\n      \"Take the source through the registry when you plan to change it. Install from npm when you would rather have versioned updates.\",\n  },\n]\n\nexport function AccordionDemo() {\n  return (\n    <div className=\"w-full max-w-lg\">\n      <Accordion items={items} defaultOpen={[\"licence\"]} />\n    </div>\n  )\n}\n",
      "type": "registry:example"
    }
  ],
  "type": "registry:example"
}