{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "faqs-08",
  "type": "registry:block",
  "description": "Category tabs (General, Billing, Technical) that each switch a chevron accordion of questions.",
  "dependencies": [
    "lucide-react"
  ],
  "registryDependencies": [
    "accordion",
    "tabs"
  ],
  "files": [
    {
      "path": "registry/designali/blocks/faqs/faqs-08.tsx",
      "content": "\"use client\"\n\nimport {\n  ChevronDown,\n} from \"@designali/icons\"\n\nimport {\n  Accordion,\n  AccordionContent,\n  AccordionItem,\n  AccordionTrigger,\n} from \"@workspace/ui/components/accordion\"\nimport {\n  Tabs,\n  TabsContent,\n  TabsList,\n  TabsTrigger,\n} from \"@workspace/ui/components/tabs\"\n\nconst categories = [\n  {\n    id: \"general\",\n    label: \"General\",\n    items: [\n      {\n        q: \"What exactly do I get?\",\n        a: \"A library of production-ready React blocks, a matching Figma file and a CLI that copies any block straight into your project with its dependencies.\",\n      },\n      {\n        q: \"Which frameworks are supported?\",\n        a: \"Blocks are written for React 19 with Tailwind CSS v4. They work in Next.js, Remix, Vite and Astro with the React integration.\",\n      },\n      {\n        q: \"Do I need to credit you?\",\n        a: \"No attribution is required on anything you build. We only ask that you don't redistribute the source as a competing kit.\",\n      },\n    ],\n  },\n  {\n    id: \"billing\",\n    label: \"Billing\",\n    items: [\n      {\n        q: \"Which payment methods do you accept?\",\n        a: \"All major cards, Apple Pay and Google Pay. Annual Business plans can also pay by bank transfer against an invoice with 30-day terms.\",\n      },\n      {\n        q: \"Can I get a VAT invoice?\",\n        a: \"Yes. Add your company name and VAT ID under Billing and every future invoice will include them. Past invoices can be reissued on request.\",\n      },\n      {\n        q: \"What happens when my trial ends?\",\n        a: \"Your workspace switches to the free plan. Nothing is deleted, and you can upgrade later to unlock everything again.\",\n      },\n    ],\n  },\n  {\n    id: \"technical\",\n    label: \"Technical\",\n    items: [\n      {\n        q: \"How do updates reach my code?\",\n        a: \"Blocks are copied into your repo, so you own them. Run the CLI diff command to see upstream changes and pull in only what you want.\",\n      },\n      {\n        q: \"Are the blocks accessible?\",\n        a: \"Every interactive block is keyboard navigable, tested with VoiceOver and NVDA, and meets WCAG 2.2 AA contrast in light and dark themes.\",\n      },\n      {\n        q: \"Can I use my own design tokens?\",\n        a: \"Yes. Blocks only reference semantic tokens like background and primary, so changing your theme file restyles every block at once.\",\n      },\n    ],\n  },\n]\n\nexport default function Faqs08() {\n  return (\n    <section className=\"w-full bg-background py-20 md:py-28\">\n      <div className=\"mx-auto max-w-3xl px-6\">\n        <h2 className=\"text-3xl font-semibold tracking-tight md:text-4xl\">\n          Frequently asked questions\n        </h2>\n        <Tabs defaultValue=\"general\" className=\"mt-8 gap-0\">\n          <TabsList variant=\"line\" className=\"h-10 w-full justify-start border-b border-border\">\n            {categories.map((category) => (\n              <TabsTrigger\n                key={category.id}\n                value={category.id}\n                className=\"flex-none px-4 text-sm\"\n              >\n                {category.label}\n              </TabsTrigger>\n            ))}\n          </TabsList>\n          {categories.map((category) => (\n            <TabsContent key={category.id} value={category.id} className=\"mt-4\">\n              <Accordion defaultValue={[0]}>\n                {category.items.map((item, index) => (\n                  <AccordionItem\n                    key={item.q}\n                    value={index}\n                    className=\"border-b border-border\"\n                  >\n                    <AccordionTrigger className=\"group items-center py-5 text-base font-medium hover:no-underline\">\n                      {item.q}\n                      <ChevronDown className=\"ms-4 size-4 shrink-0 text-muted-foreground transition-transform group-aria-expanded/accordion-trigger:rotate-180\" />\n                    </AccordionTrigger>\n                    <AccordionContent className=\"pb-5 text-sm leading-6 text-muted-foreground\">\n                      {item.a}\n                    </AccordionContent>\n                  </AccordionItem>\n                ))}\n              </Accordion>\n            </TabsContent>\n          ))}\n        </Tabs>\n      </div>\n    </section>\n  )\n}\n",
      "type": "registry:component"
    }
  ],
  "meta": {
    "iframeHeight": "650px"
  },
  "categories": [
    "faqs"
  ]
}