{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "faq",
  "type": "registry:ui",
  "title": "FAQ section (MIAN)",
  "description": "Questions and answers beside a sticky heading, built on the accordion.",
  "categories": [
    "sections",
    "faq",
    "questions",
    "answers",
    "help"
  ],
  "registryDependencies": [
    "https://mian.ro/r/mian-base.json"
  ],
  "files": [
    {
      "path": "mian/components/faq.css",
      "type": "registry:file",
      "target": "mian/components/faq.css",
      "content": ".mn-faq { display: grid; gap: 2rem; }\n.mn-faq > .mn-section-head { margin: 0; }\n@container mn (min-width: 56rem) {\n  .mn-faq { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(3rem, 7cqi, 6rem); align-items: start; }\n  .mn-faq > .mn-section-head { position: sticky; top: 6rem; }"
    },
    {
      "path": "mian/examples/faq.html",
      "type": "registry:file",
      "target": "mian/examples/faq.html",
      "content": "<!-- FAQ -->\n<section class=\"mn-section mn-section-sm\"><div class=\"mn-container mn-faq\">\n  <div class=\"mn-section-head\"><h2 class=\"mn-title\">Questions</h2><p class=\"mn-intro\">Anything else? <a class=\"mn-link\" href=\"#\">Write to us</a>.</p></div>\n  <div class=\"mn-accordion\">\n    <details name=\"faq-ex\" open><summary>Can Ledger move money?</summary><div class=\"mn-accordion-content\"><p>No. Bank connections are read-only.</p></div></details>\n    <details name=\"faq-ex\"><summary>How long does setup take?</summary><div class=\"mn-accordion-content\"><p>Most teams connect everything in an afternoon.</p></div></details>\n    <details name=\"faq-ex\"><summary>Can we export everything?</summary><div class=\"mn-accordion-content\"><p>Yes: CSV, XLSX and a full JSON archive, any time.</p></div></details>\n  </div>\n</div></section>"
    }
  ],
  "docs": "MIAN components are HTML + CSS classes, not React components. The styles are already included in mian-base; this item adds the component's CSS section and example markup for reference. Docs: https://mian.ro/components/faq",
  "meta": {
    "mian": {
      "license": "LicenseRef-MIAN-1.0",
      "requiresJs": false,
      "classes": [
        "mn-faq"
      ],
      "accessibility": [
        "Questions are <summary> elements inside <details>, so they are native disclosures.",
        "Add FAQPage structured data if the answers are also on the page."
      ],
      "intents": [
        "faq",
        "frequently asked questions",
        "questions and answers",
        "objections",
        "help questions"
      ]
    }
  }
}
