{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "accordion-15",
  "title": "Accordion in one card",
  "description": "Questions stacked as rows of a single card, with a chevron.",
  "dependencies": [],
  "registryDependencies": [
    "https://ui.ndekocode.dev/r/accordion.json",
    "https://ui.ndekocode.dev/r/theme.json"
  ],
  "files": [
    {
      "path": "registry/ndeko/components/accordion/accordion-15.tsx",
      "content": "import {\n  Accordion,\n  AccordionContent,\n  AccordionItem,\n  AccordionTrigger,\n} from '@/registry/ndeko/ui/accordion';\n\nconst QUESTIONS = [\n  {\n    value: 'free-plan',\n    title: 'What is included in the free plan?',\n    content:\n      'Three projects, unlimited tasks and 30 days of activity history. Invite as many teammates as you need; billing starts only when you create a fourth project.',\n  },\n  {\n    value: 'change-plan',\n    title: 'Can I change my plan later?',\n    content:\n      'Yes. An upgrade applies right away and the difference is prorated on the next invoice. A downgrade takes effect at the end of the current billing period.',\n  },\n  {\n    value: 'export',\n    title: 'How do I export my data?',\n    content:\n      'Open Settings, then Export. You receive a ZIP archive with every project as a CSV file and every attachment in its original format, usually within a few minutes.',\n  },\n  {\n    value: 'access',\n    title: 'Who can see my projects?',\n    content:\n      'Only the members you invite. Each project keeps its own access list, and a guest sees only the projects they were added to.',\n  },\n];\n\nconst ROWS =\n  'rounded-xl bg-card shadow-[0_1px_2px_rgb(0_0_0/0.04)] hairline-ring ring-border';\n\nconst ROW_ITEM = [\n  'relative px-4 outline-none first:rounded-t-xl last:rounded-b-xl',\n  'has-focus-visible:z-10 has-focus-visible:ring-[3px] has-focus-visible:ring-ring/25',\n].join(' ');\n\nexport default function Accordion15() {\n  return (\n    <Accordion defaultValue={['export']} className={ROWS}>\n      {QUESTIONS.map((question) => (\n        <AccordionItem\n          key={question.value}\n          value={question.value}\n          className={ROW_ITEM}\n        >\n          <AccordionTrigger className='focus-visible:ring-0'>\n            {question.title}\n          </AccordionTrigger>\n          <AccordionContent>{question.content}</AccordionContent>\n        </AccordionItem>\n      ))}\n    </Accordion>\n  );\n}\n",
      "type": "registry:component"
    }
  ],
  "categories": [
    "components",
    "accordion"
  ],
  "type": "registry:component"
}