{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "launch-dock-logos",
  "type": "registry:block",
  "title": "Launch Dock Logos",
  "description": "Logo Cloud built with Launch Dock (mac-style app dock): each logo launches a card with its story. A take on the dock (mac dock). A logo cloud that tells you why each logo is there. The customers' marks sit quiet in a dock; pick one, or let it walk through them, and its mark takes its color while a small card launches out of it with the one number its story is about and a link to the rest.",
  "author": "KeyframeUI <https://keyframeui.com>",
  "categories": [
    "blocks",
    "logo-clouds",
    "logo-cloud",
    "dock"
  ],
  "docs": "Live preview and the components it's built with: https://keyframeui.com/blocks/logo-clouds/launch-dock-logos",
  "registryDependencies": [
    "https://keyframeui.com/r/launch-dock.json"
  ],
  "files": [
    {
      "path": "components/launch-dock-logos.tsx",
      "type": "registry:component",
      "content": "\"use client\";\n\nimport * as React from \"react\";\n\nimport { LaunchDock, type LaunchDockItem } from \"@/components/ui/launch-dock\";\n\n/* ── Content ─────────────────────────────────────────────────\n * Everything you'd change to make the section yours: the line\n * over the logos, and each customer's mark, color and the one\n * number their story is about. The marks are small SVGs; swap\n * in your customers' logos.\n * ─────────────────────────────────────────────────────────── */\n\nconst LABEL = \"Teams that run on Shoal\";\nconst HINT = \"Pick a logo to see what changed.\";\nconst STORY_LINK = \"Read the story\";\n\ntype Customer = {\n  id: string;\n  name: string;\n  /** The mark's color once its story is open. */\n  color: string;\n  /** The mark: SVG shapes on a 24-unit grid, drawn in the current color. */\n  mark: React.ReactNode;\n  metric: string;\n  metricLabel: string;\n  story: string;\n  href: string;\n};\n\nconst CUSTOMERS: Customer[] = [\n  {\n    id: \"northwind\",\n    name: \"Northwind Air\",\n    color: \"#2563eb\",\n    mark: <path d=\"M3 15.5 21 6l-6.5 13-2.2-5.3Z\" />,\n    metric: \"6 sec\",\n    metricLabel: \"from a gate tablet to the manifest\",\n    story: \"2,400 crew tablets check passengers in at the gate, online or not, and every one lands in the manifest.\",\n    href: \"#northwind\",\n  },\n  {\n    id: \"harbor\",\n    name: \"Harbor\",\n    color: \"#0d9488\",\n    mark: (\n      <>\n        <circle cx=\"12\" cy=\"6.5\" r=\"2.5\" />\n        <path d=\"M11 9h2v8.2a5.5 5.5 0 0 0 4.6-3.7l-1.7.4L18.5 11l1.3 4.6-1.6-.6A7.5 7.5 0 0 1 12 20a7.5 7.5 0 0 1-6.2-5l-1.6.6L5.5 11l2.6 2.9-1.7-.4A5.5 5.5 0 0 0 11 17.2Z\" />\n      </>\n    ),\n    metric: \"11 hrs\",\n    metricLabel: \"back per inspector, every week\",\n    story: \"Field inspections write to the phone first and sync when the truck finds signal. No more evening data entry.\",\n    href: \"#harbor\",\n  },\n  {\n    id: \"kvarter\",\n    name: \"Kvarter\",\n    color: \"#ea580c\",\n    mark: (\n      <>\n        <rect x=\"4\" y=\"4\" width=\"7\" height=\"7\" rx=\"1\" />\n        <rect x=\"13\" y=\"4\" width=\"7\" height=\"7\" rx=\"3.5\" />\n        <rect x=\"4\" y=\"13\" width=\"7\" height=\"7\" rx=\"3.5\" />\n        <rect x=\"13\" y=\"13\" width=\"7\" height=\"7\" rx=\"1\" />\n      </>\n    ),\n    metric: \"−92%\",\n    metricLabel: \"merge conflicts on shared plans\",\n    story: \"Thirty architects edit one floor plan at a time of day that used to mean overwriting each other.\",\n    href: \"#kvarter\",\n  },\n  {\n    id: \"okto\",\n    name: \"Okto\",\n    color: \"#7c3aed\",\n    mark: <path d=\"M12 3a9 9 0 1 0 0 18 9 9 0 0 0 0-18Zm0 4.5a4.5 4.5 0 1 1 0 9 4.5 4.5 0 0 1 0-9Z\" fillRule=\"evenodd\" />,\n    metric: \"40 ms\",\n    metricLabel: \"median note sync, phone to laptop\",\n    story: \"Meeting notes appear on every attendee's device before the next agenda item starts.\",\n    href: \"#okto\",\n  },\n  {\n    id: \"ferngrove\",\n    name: \"Ferngrove Schools\",\n    color: \"#16a34a\",\n    mark: <path d=\"M12 2 4.5 14h4L6 19h12l-2.5-5h4Z\" />,\n    metric: \"180\",\n    metricLabel: \"schools on one timetable\",\n    story: \"A room change made in the office reaches every teacher's tablet before the bell, even in the basement labs.\",\n    href: \"#ferngrove\",\n  },\n  {\n    id: \"tinta\",\n    name: \"Tinta Print\",\n    color: \"#db2777\",\n    mark: (\n      <>\n        <path d=\"M12 3c3 4 6 7 6 10.5a6 6 0 0 1-12 0C6 10 9 7 12 3Z\" />\n      </>\n    ),\n    metric: \"3×\",\n    metricLabel: \"orders through the shop floor\",\n    story: \"Press operators mark jobs done on a tablet by the machine, and the front desk sees it in the same second.\",\n    href: \"#tinta\",\n  },\n];\n\n/* ── Section ─────────────────────────────────────────────── */\n\nexport function LaunchDockLogos() {\n  const [open, setOpen] = React.useState(CUSTOMERS[0].id);\n\n  // The open customer's mark takes its color; the rest stay quiet, like a logo wall.\n  const items: LaunchDockItem[] = CUSTOMERS.map((customer) => ({\n    id: customer.id,\n    label: customer.name,\n    icon: <Mark customer={customer} lit={customer.id === open} />,\n    content: <Story customer={customer} />,\n  }));\n\n  return (\n    <section className=\"bg-white text-zinc-950 dark:bg-zinc-950 dark:text-white\">\n      <div className=\"mx-auto max-w-6xl px-6 py-20 sm:py-24\">\n        <div className=\"text-center\">\n          <h2 className=\"text-sm font-semibold tracking-tight\">{LABEL}</h2>\n          <p className=\"mt-1 text-sm text-zinc-500 dark:text-zinc-400\">{HINT}</p>\n        </div>\n        <LaunchDock\n          items={items}\n          value={open}\n          onValueChange={(id) => setOpen(id)}\n          frame=\"card\"\n          fade={false}\n          autoplay={4500}\n          windowSize={[560, 236]}\n          dockLabel=\"Customers\"\n          className=\"mx-auto mt-8 max-w-[560px]\"\n          trayClassName=\"bg-zinc-50/80 shadow-none ring-zinc-950/[0.06] dark:bg-white/[0.04] dark:shadow-none\"\n          windowClassName=\"bg-zinc-50 ring-zinc-950/[0.06] dark:bg-zinc-900\"\n        />\n      </div>\n    </section>\n  );\n}\n\nfunction Mark({ customer, lit }: { customer: Customer; lit: boolean }) {\n  return (\n    <span className=\"grid size-full place-items-center bg-white dark:bg-zinc-900\">\n      <svg\n        viewBox=\"0 0 24 24\"\n        aria-hidden\n        style={{ color: lit ? customer.color : undefined }}\n        className=\"size-[56%] fill-current text-zinc-400 transition-colors duration-300 motion-reduce:transition-none dark:text-zinc-500\"\n      >\n        {customer.mark}\n      </svg>\n    </span>\n  );\n}\n\nfunction Story({ customer }: { customer: Customer }) {\n  return (\n    <div className=\"flex h-full flex-col justify-between px-9 py-8\">\n      <div className=\"flex items-center justify-between\">\n        <p className=\"text-[13px] font-semibold tracking-[0.08em] text-zinc-500 uppercase dark:text-zinc-400\">{customer.name}</p>\n        <a\n          href={customer.href}\n          className=\"inline-flex items-center gap-1 rounded-sm text-[14px] font-semibold text-zinc-950 underline-offset-4 hover:underline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-zinc-950 dark:text-white dark:focus-visible:outline-white\"\n        >\n          {STORY_LINK}\n          <svg viewBox=\"0 0 16 16\" className=\"size-4\" fill=\"none\" stroke=\"currentColor\" strokeWidth={1.6} aria-hidden>\n            <path d=\"M3.5 8h9m-3.5-3.5L12.5 8 9 11.5\" strokeLinecap=\"round\" strokeLinejoin=\"round\" />\n          </svg>\n        </a>\n      </div>\n      <p className=\"flex items-baseline gap-3\">\n        <span style={{ color: customer.color }} className=\"text-[46px] leading-none font-semibold tracking-[-0.04em] tabular-nums\">\n          {customer.metric}\n        </span>\n        <span className=\"text-[16px] text-zinc-600 dark:text-zinc-400\">{customer.metricLabel}</span>\n      </p>\n      <p className=\"text-[16.5px] leading-relaxed text-pretty text-zinc-800 dark:text-zinc-200\">{customer.story}</p>\n    </div>\n  );\n}\n"
    }
  ]
}