{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "throughline-community-demo",
  "type": "registry:block",
  "title": "Throughline: Community",
  "description": "Integration Logo Paths example, Community: Members' faces on two arcs around a critique circle's sign-up, at night. Hold one to see who and where. A take on the flow diagram (flowchart). Fits hero, integrations and features sections.",
  "author": "KeyframeUI <https://keyframeui.com>",
  "categories": [
    "hero",
    "integrations",
    "features",
    "flow-diagram",
    "animated-background",
    "interaction",
    "motion"
  ],
  "docs": "Live preview, examples and props: https://keyframeui.com/components/throughline#throughline-community-demo",
  "registryDependencies": [
    "https://keyframeui.com/r/throughline.json"
  ],
  "files": [
    {
      "path": "components/throughline-community-demo.tsx",
      "type": "registry:component",
      "content": "\"use client\";\n\nimport * as React from \"react\";\n\nimport { Throughline, type ThroughlineItem, type ThroughlineLine } from \"@/components/ui/throughline\";\n\nconst face = (id: string) =>\n  `https://images.unsplash.com/photo-${id}?auto=format&fit=crop&crop=faces&w=160&h=160&q=80`;\n\nconst MEMBERS = [\n  { name: \"Inés Duarte\", city: \"Porto\", photo: \"1438761681033-6461ffad8d80\" },\n  { name: \"Rafa Ortiz\", city: \"Mexico City\", photo: \"1507003211169-0a1dd7228f2d\" },\n  { name: \"Mei Lin\", city: \"Taipei\", photo: \"1534528741775-53994a69daeb\" },\n  { name: \"Luca Ferri\", city: \"Turin\", photo: \"1500648767791-00dcc994a43e\" },\n  { name: \"Adaeze Obi\", city: \"Lagos\", photo: \"1531123897727-8f129e1688ce\" },\n  { name: \"Jonas Berg\", city: \"Oslo\", photo: \"1539571696357-5a69c17a67c6\" },\n  { name: \"Sofia Marin\", city: \"Bucharest\", photo: \"1494790108377-be9c29b29330\" },\n  { name: \"Tom Hale\", city: \"Leeds\", photo: \"1506794778202-cad84cf45f1d\" },\n];\n\n// Two long arcs, one over the copy and one under it, so a face never sits on a word.\nconst LINES: ThroughlineLine[] = [\n  { from: [3, 34], to: [97, 8], bend: -0.2 },\n  { from: [97, 70], to: [3, 94], bend: -0.2 },\n];\n\nconst ITEMS: ThroughlineItem[] = MEMBERS.map((m) => ({\n  label: `${m.name} · ${m.city}`,\n  icon: <span className=\"block rounded-full bg-zinc-800 bg-cover bg-center\" style={{ backgroundImage: `url(${face(m.photo)})` }} />,\n  className:\n    \"[--throughline-icon:100%] rounded-full border-0 bg-transparent p-[3px] backdrop-blur-none shadow-[0_0_0_1.5px_rgb(198_255_61/0.9),0_14px_28px_-12px_rgb(0_0_0/0.8)] dark:bg-transparent dark:shadow-[0_0_0_1.5px_rgb(198_255_61/0.9),0_14px_28px_-12px_rgb(0_0_0/0.8)]\",\n}));\n\nexport function ThroughlineCommunityDemo() {\n  const [sent, setSent] = React.useState(false);\n  return (\n    <section className=\"w-full overflow-hidden rounded-[28px] bg-[#0b0b12] text-white\">\n      <Throughline lines={LINES} items={ITEMS} duration={30} className=\"text-[#c6ff3d]\">\n        <div className=\"flex flex-col items-center px-6 py-[max(7rem,15cqi)] text-center text-white\">\n          <p className=\"rounded-full border border-white/10 px-3 py-1 text-xs font-medium text-zinc-300\">\n            Kiln · a critique circle for product designers\n          </p>\n          <h2 className=\"mt-5 max-w-[30rem] text-balance text-[clamp(1.9rem,5cqi,3.25rem)] font-semibold leading-[1.04] tracking-[-0.04em]\">\n            Post one shot a week. Get three honest notes back.\n          </h2>\n          <p className=\"mt-4 max-w-[24rem] text-pretty text-[15px] leading-relaxed text-zinc-400\">\n            2,431 designers in 64 cities. No likes, no followers, just notes by Sunday.\n          </p>\n          <form\n            className=\"mt-7 flex w-full max-w-[22rem] items-center gap-1.5 rounded-full border border-white/10 bg-white/[0.06] p-1.5 transition-colors duration-150 focus-within:border-[#c6ff3d]/60\"\n            onSubmit={(e) => {\n              e.preventDefault();\n              setSent(true);\n            }}\n          >\n            <label htmlFor=\"kiln-email\" className=\"sr-only\">\n              Email\n            </label>\n            <input\n              id=\"kiln-email\"\n              type=\"email\"\n              required\n              placeholder=\"you@studio.com\"\n              className=\"h-10 min-w-0 flex-1 bg-transparent px-3.5 text-sm text-white outline-none placeholder:text-zinc-500\"\n            />\n            <button\n              type=\"submit\"\n              className=\"h-10 shrink-0 rounded-full bg-[#c6ff3d] px-4 text-sm font-semibold text-zinc-950 transition-transform duration-150 ease-out active:scale-[0.97] focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-[#c6ff3d]\"\n            >\n              {sent ? \"You're in\" : \"Join the circle\"}\n            </button>\n          </form>\n        </div>\n      </Throughline>\n    </section>\n  );\n}\n"
    }
  ]
}