{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "social48",
  "title": "Community Channels",
  "description": "A community section listing four linked places to join as full-width hairline rows, each with an icon tile, a description, a light membership figure, and an arrow that shifts on hover.",
  "dependencies": [
    "clsx",
    "tailwind-merge",
    "lucide-react"
  ],
  "registryDependencies": [],
  "files": [
    {
      "path": "registry/social48/social48.tsx",
      "content": "\"use client\";\n\nimport { ArrowUpRight } from \"lucide-react\";\nimport { Badge23 } from \"@/components/beste/component/badge23\";\nimport { BookOpen, MessagesSquare, Radio, Users } from \"lucide-react\";\nimport type { LucideIcon } from \"lucide-react\";\nimport { cn } from \"@/lib/utils\";\nimport Link from \"next/link\";\n\ninterface Badge {\n  label: string;\n}\n\ninterface Channel {\n  icon: LucideIcon;\n  name: string;\n  description: string;\n  count: string;\n  countLabel: string;\n  href: string;\n}\n\ninterface Social48Props {\n  badge?: Badge;\n  heading?: string;\n  description?: string;\n  channels?: Channel[];\n  footnote?: string;\n  className?: string;\n}\n\nexport const social48Demo: Social48Props = {\n  badge: { label: \"Where people talk\" },\n  heading: \"The rooms our users are already in\",\n  description:\n    \"None of these are marketing lists. They are places practices ask each other things we would not have thought to answer.\",\n  channels: [\n    {\n      icon: MessagesSquare,\n      name: \"The forum\",\n      description:\n        \"Practices swapping rota patterns, insurer quirks, and the workarounds they wish we had shipped.\",\n      count: \"2,140\",\n      countLabel: \"members\",\n      href: \"https://beste.co\",\n    },\n    {\n      icon: BookOpen,\n      name: \"The monthly note\",\n      description:\n        \"One letter on the first Tuesday about what shipped, what broke, and one longer piece of writing.\",\n      count: \"3,860\",\n      countLabel: \"subscribers\",\n      href: \"https://beste.co\",\n    },\n    {\n      icon: Radio,\n      name: \"Office hours\",\n      description:\n        \"An open call every second Thursday. No agenda, no demo, and no obligation to turn your camera on.\",\n      count: \"40\",\n      countLabel: \"seats each session\",\n      href: \"https://beste.co\",\n    },\n    {\n      icon: Users,\n      name: \"The practice group\",\n      description:\n        \"A smaller room for managers running four or more sites, where the questions get considerably more specific.\",\n      count: \"118\",\n      countLabel: \"practices\",\n      href: \"https://beste.co\",\n    },\n  ],\n  footnote:\n    \"We read everything and answer in public wherever we can, because the next practice with that question should not have to ask it again.\",\n};\n\nexport function Social48({\n  badge,\n  heading,\n  description,\n  channels = [],\n  footnote,\n  className,\n}: Social48Props) {\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          {channels.map((channel, index) => {\n            const Icon = channel.icon;\n            return (\n              <Link\n                key={index}\n                href={channel.href}\n                className=\"group/social48 grid gap-4 border-t border-border py-6 transition-colors hover:bg-muted md:grid-cols-[minmax(0,1.6fr)_minmax(0,1fr)_2rem] md:items-center md:gap-10 md:px-4\"\n              >\n                <div className=\"flex items-start gap-4\">\n                  <span\n                    className=\"flex size-10 shrink-0 items-center justify-center rounded-md bg-primary/10 text-primary\"\n                    aria-hidden=\"true\"\n                  >\n                    <Icon className=\"size-5\" />\n                  </span>\n                  <div>\n                    <h3 className=\"text-xl font-medium text-foreground\">{channel.name}</h3>\n                    <p className=\"mt-2 max-w-xl text-base leading-relaxed text-muted-foreground\">\n                      {channel.description}\n                    </p>\n                  </div>\n                </div>\n\n                <div className=\"pl-14 md:pl-0\">\n                  <p className=\"text-3xl font-light tracking-tight tabular-nums text-foreground\">\n                    {channel.count}\n                  </p>\n                  <p className=\"mt-1 text-sm text-muted-foreground\">{channel.countLabel}</p>\n                </div>\n\n                <ArrowUpRight\n                  className=\"hidden size-4 shrink-0 text-muted-foreground transition-transform motion-safe:group-hover/social48:-translate-y-0.5 md:block\"\n                  aria-hidden=\"true\"\n                />\n              </Link>\n            );\n          })}\n        </div>\n\n        {footnote && (\n          <p className=\"mt-8 max-w-2xl text-base leading-relaxed text-muted-foreground\">\n            {footnote}\n          </p>\n        )}\n      </div>\n    </section>\n  );\n}\n",
      "type": "registry:component",
      "target": "components/beste/block/social48.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"
}