{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "faq84",
  "title": "Hairline Answer Ledger",
  "description": "A compact FAQ with nothing hidden behind a click: three labelled groups of question and answer pairs set as two-column hairline rows, closing on a link to longer reading.",
  "dependencies": [
    "clsx",
    "tailwind-merge",
    "lucide-react"
  ],
  "registryDependencies": [],
  "files": [
    {
      "path": "registry/faq84/faq84.tsx",
      "content": "\"use client\";\n\nimport { Badge23 } from \"@/components/beste/component/badge23\";\nimport { cn } from \"@/lib/utils\";\nimport Link from \"next/link\";\n\ninterface Badge {\n  label: string;\n}\n\ninterface LedgerEntry {\n  question: string;\n  answer: string;\n}\n\ninterface LedgerGroup {\n  label: string;\n  entries: LedgerEntry[];\n}\n\ninterface Faq84Props {\n  badge?: Badge;\n  heading?: string;\n  description?: string;\n  groups?: LedgerGroup[];\n  footerLabel?: string;\n  footerLink?: { label: string; href: string };\n  className?: string;\n}\n\nexport const faq84Demo: Faq84Props = {\n  badge: { label: \"Short answers\" },\n  heading: \"The quick ones, without an accordion in the way\",\n  description:\n    \"Everything here fits in two lines, so nothing is hidden behind a click. The longer answers live in the help centre.\",\n  groups: [\n    {\n      label: \"Getting started\",\n      entries: [\n        {\n          question: \"Is there a free tier?\",\n          answer: \"Yes, free while you are running a single clinic, with no card and no time limit.\",\n        },\n        {\n          question: \"How long is setup?\",\n          answer: \"An afternoon for one clinic, a fortnight for a group moving off another system.\",\n        },\n        {\n          question: \"Do we need training?\",\n          answer:\n            \"No formal training. We stay on the call until your first real booking goes through.\",\n        },\n      ],\n    },\n    {\n      label: \"Day to day\",\n      entries: [\n        {\n          question: \"Does it work on a phone?\",\n          answer: \"Yes, and members get a link rather than an app they have to install.\",\n        },\n        {\n          question: \"Can we run several sites?\",\n          answer:\n            \"Yes, on every plan. Sites share capacity and a waiting list but keep their own rules.\",\n        },\n        {\n          question: \"Is there an API?\",\n          answer: \"Read and write access to appointments and invoices, shipping shortly after launch.\",\n        },\n      ],\n    },\n    {\n      label: \"Money and exit\",\n      entries: [\n        {\n          question: \"How are we billed?\",\n          answer: \"Monthly in arrears, per seat, prorated in both directions when the team changes.\",\n        },\n        {\n          question: \"Any setup fees?\",\n          answer: \"None. Migration, mapping, and the first go-live are part of the subscription.\",\n        },\n        {\n          question: \"What if we leave?\",\n          answer:\n            \"Thirty days' notice, no penalty, and a full export that stays available for ninety days.\",\n        },\n      ],\n    },\n  ],\n  footerLabel: \"Longer questions, longer answers\",\n  footerLink: { label: \"Open the help centre\", href: \"https://beste.co\" },\n};\n\nexport function Faq84({\n  badge,\n  heading,\n  description,\n  groups = [],\n  footerLabel,\n  footerLink,\n  className,\n}: Faq84Props) {\n  return (\n    <section className={cn(\"bg-background py-16 md:py-24 w-full\", className)}>\n      <div className=\"mx-auto max-w-7xl px-4 md:px-6\">\n        {badge && <Badge23 label={badge.label} />}\n\n        <div className=\"mt-6 border-t border-border pt-8 md:pt-10\">\n          <div className=\"grid gap-6 md:grid-cols-2 md:gap-12\">\n            {heading && (\n              <h2 className=\"text-3xl font-light leading-[1.1] tracking-tight text-foreground md:text-5xl\">\n                {heading}\n              </h2>\n            )}\n            {description && (\n              <div className=\"flex md:justify-end\">\n                <p className=\"max-w-md text-base leading-relaxed text-muted-foreground\">\n                  {description}\n                </p>\n              </div>\n            )}\n          </div>\n        </div>\n\n        <div className=\"mt-12 md:mt-16\">\n          {groups.map((group, groupIndex) => (\n            <div key={groupIndex} className=\"mb-10 last:mb-0\">\n              <h3 className=\"text-sm text-muted-foreground\">\n                {group.label}\n              </h3>\n              <dl className=\"mt-4\">\n                {group.entries.map((entry, index) => (\n                  <div\n                    key={index}\n                    className=\"grid gap-2 border-t border-border py-4 last:border-b md:grid-cols-[minmax(0,1fr)_minmax(0,1.6fr)] md:gap-12\"\n                  >\n                    <dt className=\"text-base font-medium text-foreground\">{entry.question}</dt>\n                    <dd className=\"text-base leading-relaxed text-muted-foreground\">\n                      {entry.answer}\n                    </dd>\n                  </div>\n                ))}\n              </dl>\n            </div>\n          ))}\n        </div>\n\n        {footerLabel && footerLink && (\n          <p className=\"mt-4 text-base text-muted-foreground\">\n            {footerLabel}{\" \"}\n            <Link\n              href={footerLink.href}\n              className=\"text-foreground underline underline-offset-4 transition-colors hover:text-primary\"\n            >\n              {footerLink.label}\n            </Link>\n          </p>\n        )}\n      </div>\n    </section>\n  );\n}\n",
      "type": "registry:component",
      "target": "components/beste/block/faq84.tsx"
    },
    {
      "path": "registry-components/badge23/badge23.tsx",
      "content": "\"use client\";\n\nimport { cn } from \"@/lib/utils\";\n\ntype Tone = \"muted\" | \"foreground\" | \"primary\";\n\ninterface Badge23Props {\n  /** Eyebrow label */\n  label: string;\n  /** Text/border tone */\n  tone?: Tone;\n  /** Additional classes merged onto the root */\n  className?: string;\n}\n\nconst toneStyles: Record<Tone, string> = {\n  muted: \"border-border text-muted-foreground\",\n  foreground: \"border-foreground/30 text-foreground\",\n  primary: \"border-primary/40 text-primary\",\n};\n\nexport const badge23Demo: Badge23Props = {\n  label: \"Product\",\n};\n\nexport function Badge23({ label, tone = \"muted\", className }: Badge23Props) {\n  return (\n    <span\n      className={cn(\n        \"inline-flex items-center rounded-md border bg-transparent px-2.5 py-1 text-sm font-medium leading-none\",\n        toneStyles[tone],\n        className\n      )}\n    >\n      {label}\n    </span>\n  );\n}\n",
      "type": "registry:component",
      "target": "components/beste/component/badge23.tsx"
    }
  ],
  "type": "registry:block"
}