{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "faq-01",
  "title": "FAQ",
  "author": "VenusUI",
  "description": "Frequently asked questions as native expandable rows, with an intro column.",
  "dependencies": [
    "lucide-react"
  ],
  "files": [
    {
      "path": "registry/default/blocks/faq-01/components/faq-01.tsx",
      "content": "import { Plus } from \"lucide-react\"\n\nconst faqs = [\n  {\n    question: \"Is there a free plan?\",\n    answer: \"Yes. The free plan covers personal projects with no time limit. Upgrade when you need more.\",\n  },\n  {\n    question: \"Can I cancel at any time?\",\n    answer: \"Yes. Cancel from your account settings and you keep access until the end of the billing period.\",\n  },\n  {\n    question: \"Do you offer refunds?\",\n    answer: \"Replace this with your actual refund policy, including how long customers have to ask.\",\n  },\n  {\n    question: \"How do I get support?\",\n    answer: \"Email us any time. Paid plans get a reply within one business day.\",\n  },\n  {\n    question: \"Can I use it for client work?\",\n    answer: \"Explain your license terms here, in plain language.\",\n  },\n]\n\n/**\n * Frequently asked questions as native disclosure widgets (`details`/`summary`):\n * keyboard and screen reader support come from the browser, and it works\n * without JavaScript. The plus icon turns into a cross when open.\n */\nexport function Faq01() {\n  return (\n    <section className=\"bg-background py-20 sm:py-24\">\n      <div className=\"mx-auto grid max-w-6xl gap-10 px-4 sm:px-6 lg:grid-cols-[1fr_2fr]\">\n        <div>\n          <h2 className=\"text-3xl font-semibold tracking-tight text-balance sm:text-4xl\">Questions & answers</h2>\n          <p className=\"mt-4 text-pretty text-muted-foreground\">\n            Can’t find what you’re looking for? <a href=\"#\" className=\"underline underline-offset-4\">Contact us</a>.\n          </p>\n        </div>\n        <div className=\"divide-y border-y\">\n          {faqs.map((faq) => (\n            <details key={faq.question} className=\"group py-1 [&_summary::-webkit-details-marker]:hidden\">\n              <summary className=\"flex cursor-pointer list-none items-center justify-between gap-4 rounded-md py-4 font-medium outline-none focus-visible:ring-3 focus-visible:ring-ring/50\">\n                {faq.question}\n                <Plus\n                  aria-hidden=\"true\"\n                  className=\"size-4 shrink-0 text-muted-foreground transition-transform duration-200 group-open:rotate-45 motion-reduce:transition-none\"\n                />\n              </summary>\n              <p className=\"pr-8 pb-4 text-pretty text-muted-foreground\">{faq.answer}</p>\n            </details>\n          ))}\n        </div>\n      </div>\n    </section>\n  )\n}\n",
      "type": "registry:component"
    }
  ],
  "meta": {
    "version": "0.1.0"
  },
  "categories": [
    "faq"
  ],
  "type": "registry:block"
}