{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "comp-349",
  "type": "registry:component",
  "title": "Comp 349",
  "description": "Comp 349",
  "files": [
    {
      "path": "registry/ui-basic/comp-349.tsx",
      "content": "import {\r\n\tAccordion,\r\n\tAccordionContent,\r\n\tAccordionItem,\r\n} from \"@/components/ui/accordion\";\r\nimport { PlusIcon } from \"lucide-react\";\r\nimport { Accordion as AccordionPrimitive } from \"radix-ui\";\r\n\r\nconst items = [\r\n\t{\r\n\t\tid: \"1\",\r\n\t\ttitle: \"What makes Origin UI different?\",\r\n\t\tcontent:\r\n\t\t\t\"Origin UI focuses on developer experience and performance. Built with TypeScript, it offers excellent type safety, follows accessibility standards, and provides comprehensive documentation with regular updates.\",\r\n\t},\r\n\t{\r\n\t\tid: \"2\",\r\n\t\ttitle: \"How can I customize the components?\",\r\n\t\tcontent:\r\n\t\t\t\"Use our CSS variables for global styling, or className and style props for component-specific changes. We support CSS modules, Tailwind, and dark mode out of the box.\",\r\n\t},\r\n\t{\r\n\t\tid: \"3\",\r\n\t\ttitle: \"Is Origin UI optimized for performance?\",\r\n\t\tcontent:\r\n\t\t\t\"Yes, with tree-shaking, code splitting, and minimal runtime overhead. Most components are under 5KB gzipped.\",\r\n\t},\r\n\t{\r\n\t\tid: \"4\",\r\n\t\ttitle: \"How accessible are the components?\",\r\n\t\tcontent:\r\n\t\t\t\"All components follow WAI-ARIA standards, featuring proper ARIA attributes, keyboard navigation, and screen reader support. Regular testing ensures compatibility with NVDA, VoiceOver, and JAWS.\",\r\n\t},\r\n];\r\n\r\nexport default function Component() {\r\n\treturn (\r\n\t\t<div className=\"space-y-4\">\r\n\t\t\t<h2 className=\"text-xl font-bold\">Table w/ plus-minus</h2>\r\n\t\t\t<Accordion\r\n\t\t\t\ttype=\"single\"\r\n\t\t\t\tcollapsible\r\n\t\t\t\tclassName=\"w-full -space-y-px\"\r\n\t\t\t\tdefaultValue=\"3\"\r\n\t\t\t>\r\n\t\t\t\t{items.map((item) => (\r\n\t\t\t\t\t<AccordionItem\r\n\t\t\t\t\t\tvalue={item.id}\r\n\t\t\t\t\t\tkey={item.id}\r\n\t\t\t\t\t\tclassName=\"bg-background has-focus-visible:border-ring has-focus-visible:ring-ring/50 relative border px-4 py-1 outline-hidden first:rounded-t-md last:rounded-b-md last:border-b has-focus-visible:z-10 has-focus-visible:ring-[3px]\"\r\n\t\t\t\t\t>\r\n\t\t\t\t\t\t<AccordionPrimitive.Header className=\"flex\">\r\n\t\t\t\t\t\t\t<AccordionPrimitive.Trigger className=\"flex flex-1 items-center justify-between rounded-md py-2 text-left text-sm text-[15px] leading-6 font-semibold transition-all outline-hidden focus-visible:ring-0 [&>svg>path:last-child]:origin-center [&>svg>path:last-child]:transition-all [&>svg>path:last-child]:duration-200 [&[data-state=open]>svg]:rotate-180 [&[data-state=open]>svg>path:last-child]:rotate-90 [&[data-state=open]>svg>path:last-child]:opacity-0\">\r\n\t\t\t\t\t\t\t\t{item.title}\r\n\t\t\t\t\t\t\t\t<PlusIcon\r\n\t\t\t\t\t\t\t\t\tsize={16}\r\n\t\t\t\t\t\t\t\t\tclassName=\"pointer-events-none shrink-0 opacity-60 transition-transform duration-200\"\r\n\t\t\t\t\t\t\t\t\taria-hidden=\"true\"\r\n\t\t\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t\t</AccordionPrimitive.Trigger>\r\n\t\t\t\t\t\t</AccordionPrimitive.Header>\r\n\t\t\t\t\t\t<AccordionContent className=\"text-muted-foreground pb-2\">\r\n\t\t\t\t\t\t\t{item.content}\r\n\t\t\t\t\t\t</AccordionContent>\r\n\t\t\t\t\t</AccordionItem>\r\n\t\t\t\t))}\r\n\t\t\t</Accordion>\r\n\t\t</div>\r\n\t);\r\n}\r\n",
      "type": "registry:ui"
    }
  ]
}