{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "launch-dock-demo",
  "type": "registry:block",
  "title": "Launch Dock: Customer Apps",
  "description": "Mac-Style App Dock example, Customer Apps: Six apps built on one sync platform, each with its own window. Autoplay walks through them until you pick one, and the line under the dock follows the open app. A take on the dock (mac dock). Fits testimonials, logo cloud and portfolio sections.",
  "author": "KeyframeUI <https://keyframeui.com>",
  "categories": [
    "testimonials",
    "logo-cloud",
    "portfolio",
    "dock",
    "modal",
    "showcase",
    "motion"
  ],
  "docs": "Live preview, examples and props: https://keyframeui.com/components/launch-dock#launch-dock-demo",
  "registryDependencies": [
    "https://keyframeui.com/r/launch-dock.json"
  ],
  "files": [
    {
      "path": "components/launch-dock-demo.tsx",
      "type": "registry:component",
      "content": "\"use client\";\n\nimport * as React from \"react\";\n\nimport { LaunchDock, type LaunchDockItem } from \"@/components/ui/launch-dock\";\n\nconst photo = (id: string, w: number, h: number) =>\n  `https://images.unsplash.com/photo-${id}?auto=format&fit=crop&w=${w}&h=${h}&q=80`;\n\n/* ── Icons ─────────────────────────────────────────────── */\n\nfunction Tile({ from, to, children }: { from: string; to: string; children: React.ReactNode }) {\n  const id = React.useId();\n  return (\n    <svg viewBox=\"0 0 64 64\" aria-hidden>\n      <defs>\n        <linearGradient id={`${id}-bg`} x1=\"0\" y1=\"0\" x2=\"0\" y2=\"1\">\n          <stop offset=\"0\" stopColor={from} />\n          <stop offset=\"1\" stopColor={to} />\n        </linearGradient>\n        <linearGradient id={`${id}-sheen`} x1=\"0\" y1=\"0\" x2=\"0\" y2=\"1\">\n          <stop offset=\"0\" stopColor=\"#fff\" stopOpacity=\"0.28\" />\n          <stop offset=\"0.5\" stopColor=\"#fff\" stopOpacity=\"0\" />\n        </linearGradient>\n      </defs>\n      <rect width=\"64\" height=\"64\" fill={`url(#${id}-bg)`} />\n      <rect width=\"64\" height=\"64\" fill={`url(#${id}-sheen)`} />\n      {children}\n    </svg>\n  );\n}\n\nconst icons = {\n  plume: (\n    <Tile from=\"#7c83ff\" to=\"#4338ca\">\n      <path d=\"M44 15c-11 1-21 9-24 21l-3 12 3 1 4-9c9-1 17-7 20-16-4 2-7 3-11 3 5-3 9-7 11-12Z\" fill=\"#fff\" />\n    </Tile>\n  ),\n  cadence: (\n    <Tile from=\"#ff8a73\" to=\"#e8433f\">\n      <rect x=\"16\" y=\"18\" width=\"32\" height=\"30\" rx=\"6\" fill=\"#fff\" />\n      <rect x=\"16\" y=\"18\" width=\"32\" height=\"8\" rx=\"4\" fill=\"#ffd6cf\" />\n      <g fill=\"#e8433f\">\n        <rect x=\"21\" y=\"31\" width=\"5\" height=\"5\" rx=\"1.5\" />\n        <rect x=\"29.5\" y=\"31\" width=\"5\" height=\"5\" rx=\"1.5\" opacity=\"0.35\" />\n        <rect x=\"38\" y=\"31\" width=\"5\" height=\"5\" rx=\"1.5\" opacity=\"0.35\" />\n        <rect x=\"21\" y=\"39\" width=\"5\" height=\"5\" rx=\"1.5\" opacity=\"0.35\" />\n        <rect x=\"29.5\" y=\"39\" width=\"5\" height=\"5\" rx=\"1.5\" opacity=\"0.35\" />\n      </g>\n    </Tile>\n  ),\n  tally: (\n    <Tile from=\"#34d399\" to=\"#047857\">\n      <g fill=\"#fff\">\n        <rect x=\"17\" y=\"34\" width=\"7\" height=\"13\" rx=\"2\" opacity=\"0.7\" />\n        <rect x=\"28.5\" y=\"26\" width=\"7\" height=\"21\" rx=\"2\" opacity=\"0.85\" />\n        <rect x=\"40\" y=\"17\" width=\"7\" height=\"30\" rx=\"2\" />\n      </g>\n    </Tile>\n  ),\n  loop: (\n    <Tile from=\"#fb7185\" to=\"#f97316\">\n      <circle cx=\"32\" cy=\"32\" r=\"15\" fill=\"none\" stroke=\"#fff\" strokeWidth=\"5\" />\n      <circle cx=\"32\" cy=\"32\" r=\"4.5\" fill=\"#fff\" />\n    </Tile>\n  ),\n  tessera: (\n    <Tile from=\"#fde047\" to=\"#f59e0b\">\n      <rect x=\"15\" y=\"15\" width=\"20\" height=\"20\" rx=\"5\" fill=\"#fff\" />\n      <circle cx=\"39\" cy=\"39\" r=\"11\" fill=\"#fff\" fillOpacity=\"0.7\" />\n    </Tile>\n  ),\n  pigeon: (\n    <Tile from=\"#38bdf8\" to=\"#0369a1\">\n      <path d=\"M17 22a7 7 0 0 1 7-7h16a7 7 0 0 1 7 7v12a7 7 0 0 1-7 7h-9l-8 7v-7a6 6 0 0 1-6-6Z\" fill=\"#fff\" />\n      <g fill=\"#0ea5e9\">\n        <circle cx=\"25\" cy=\"28\" r=\"2.5\" />\n        <circle cx=\"32\" cy=\"28\" r=\"2.5\" />\n        <circle cx=\"39\" cy=\"28\" r=\"2.5\" />\n      </g>\n    </Tile>\n  ),\n};\n\n/* ── Shared bits for the app windows ───────────────────── */\n\nconst ink = \"text-zinc-900 dark:text-zinc-100\";\nconst muted = \"text-zinc-500 dark:text-zinc-400\";\nconst hairline = \"border-zinc-950/[0.07] dark:border-white/[0.07]\";\n\nfunction Face({ initials, className }: { initials: string; className: string }) {\n  return (\n    <span\n      className={`grid size-7 shrink-0 place-items-center rounded-full text-[11px] font-semibold text-white ring-2 ring-white dark:ring-zinc-900 ${className}`}\n    >\n      {initials}\n    </span>\n  );\n}\n\nfunction Side({ title, children }: { title: string; children: React.ReactNode }) {\n  return (\n    <aside className={`flex w-[212px] shrink-0 flex-col gap-6 border-r bg-zinc-50/70 px-4 py-5 dark:bg-white/[0.02] ${hairline}`}>\n      <div className={`flex items-center gap-2 text-[14px] font-semibold ${ink}`}>{title}</div>\n      {children}\n    </aside>\n  );\n}\n\nfunction SideRow({ children, on, count }: { children: React.ReactNode; on?: boolean; count?: number }) {\n  return (\n    <div\n      className={`flex items-center justify-between rounded-md px-2 py-1.5 text-[13px] ${\n        on ? `bg-zinc-950/[0.05] font-medium dark:bg-white/[0.07] ${ink}` : muted\n      }`}\n    >\n      <span className=\"truncate\">{children}</span>\n      {count ? <span className=\"text-[11px] tabular-nums opacity-70\">{count}</span> : null}\n    </div>\n  );\n}\n\n/* ── The apps ──────────────────────────────────────────── */\n\nfunction PlumeApp() {\n  return (\n    <div className=\"flex h-full bg-white dark:bg-zinc-900\">\n      <Side title=\"Halden Lab\">\n        <div className=\"flex flex-col gap-0.5\">\n          <SideRow count={4}>Inbox</SideRow>\n          <SideRow>Drafts</SideRow>\n          <SideRow>Shared with me</SideRow>\n        </div>\n        <div className=\"flex flex-col gap-0.5\">\n          <p className={`px-2 pb-1 text-[11px] font-medium uppercase tracking-wide ${muted}`}>Research</p>\n          <SideRow on>Field notes: Lisbon</SideRow>\n          <SideRow>Interview guide v3</SideRow>\n          <SideRow>Survey synthesis</SideRow>\n          <SideRow>Q4 research plan</SideRow>\n        </div>\n      </Side>\n      <main className=\"relative flex-1 px-14 py-9\">\n        <div className=\"flex items-center justify-between\">\n          <p className={`text-[12px] ${muted}`}>Research / Field notes</p>\n          <div className=\"flex items-center gap-2\">\n            <div className=\"flex -space-x-2\">\n              <Face initials=\"IM\" className=\"bg-indigo-500\" />\n              <Face initials=\"TS\" className=\"bg-amber-500\" />\n              <Face initials=\"MC\" className=\"bg-emerald-500\" />\n            </div>\n            <span className={`text-[12px] ${muted}`}>3 editing</span>\n          </div>\n        </div>\n        <h1 className={`mt-8 text-[30px] font-semibold tracking-[-0.02em] ${ink}`}>Field notes: Lisbon offsite</h1>\n        <p className={`mt-2 text-[12px] ${muted}`}>Edited just now by Inês Moreau</p>\n        <div className={`mt-7 max-w-[456px] space-y-4 text-[14.5px] leading-[1.7] ${ink}`}>\n          <p>\n            Six interviews<span className=\"relative mx-px inline-block h-[18px] w-0.5 translate-y-[3px] bg-amber-500\">\n              <span className=\"absolute -top-5 left-0 rounded-sm bg-amber-500 px-1 py-px text-[10px] font-semibold whitespace-nowrap text-white\">\n                Tomás\n              </span>\n            </span>{\" \"}\n            over two days, all with people who run small studios. The pattern was the same\n            every time: the work happens in a shared doc, and the doc is never where the decision ends up.\n          </p>\n          <p>\n            <span className=\"rounded-sm bg-indigo-500/15 px-0.5\">\n              Nobody trusts the copy they&apos;re looking at to be the latest one\n            </span>\n            , so they paste it into chat to be sure. Two of them keep a printed version\n on the wall.\n          </p>\n        </div>\n        <div className={`absolute top-[236px] right-7 w-[176px] rounded-lg border bg-white p-3 shadow-sm dark:bg-zinc-800 ${hairline}`}>\n          <div className=\"flex items-center gap-2\">\n            <Face initials=\"IM\" className=\"size-5 bg-indigo-500 text-[9px] ring-0\" />\n            <span className={`text-[12px] font-medium ${ink}`}>Inês</span>\n          </div>\n          <p className={`mt-1.5 text-[12px] leading-snug ${muted}`}>Can we lead the readout with this line?</p>\n        </div>\n      </main>\n    </div>\n  );\n}\n\nconst week = [\"Mon 9\", \"Tue 10\", \"Wed 11\", \"Thu 12\", \"Fri 13\"];\nconst events = [\n  { day: 0, start: 10, end: 11, title: \"Design crit\", tone: \"bg-rose-500/15 text-rose-700 dark:text-rose-300 border-rose-500\" },\n  { day: 1, start: 9.5, end: 10, title: \"1:1 Priya\", tone: \"bg-sky-500/15 text-sky-700 dark:text-sky-300 border-sky-500\" },\n  { day: 1, start: 13, end: 15, title: \"Pricing workshop\", tone: \"bg-amber-500/15 text-amber-700 dark:text-amber-300 border-amber-500\" },\n  { day: 2, start: 11, end: 12.5, title: \"Launch review\", tone: \"bg-rose-500/15 text-rose-700 dark:text-rose-300 border-rose-500\" },\n  { day: 3, start: 9, end: 12, title: \"Focus: Q4 plan\", tone: \"bg-zinc-500/10 text-zinc-600 dark:text-zinc-300 border-zinc-400\" },\n  { day: 3, start: 14, end: 15, title: \"Hiring sync\", tone: \"bg-emerald-500/15 text-emerald-700 dark:text-emerald-300 border-emerald-500\" },\n  { day: 4, start: 15, end: 16.5, title: \"Offsite planning\", tone: \"bg-sky-500/15 text-sky-700 dark:text-sky-300 border-sky-500\" },\n];\n\nfunction CadenceApp() {\n  const hour = 52;\n  return (\n    <div className=\"flex h-full flex-col bg-white dark:bg-zinc-900\">\n      <header className={`flex items-center justify-between border-b px-6 py-4 ${hairline}`}>\n        <div className=\"flex items-baseline gap-3\">\n          <h1 className={`text-[20px] font-semibold tracking-[-0.01em] ${ink}`}>November 2026</h1>\n          <span className={`text-[13px] ${muted}`}>Week 46</span>\n        </div>\n        <div className=\"flex items-center gap-2\">\n          <span className={`rounded-md border px-2.5 py-1 text-[12px] font-medium ${hairline} ${ink}`}>Today</span>\n          <div className=\"flex rounded-md bg-zinc-950/[0.05] p-0.5 text-[12px] dark:bg-white/[0.06]\">\n            <span className={`rounded px-2.5 py-0.5 ${muted}`}>Day</span>\n            <span className={`rounded bg-white px-2.5 py-0.5 font-medium shadow-sm dark:bg-zinc-700 ${ink}`}>Week</span>\n            <span className={`rounded px-2.5 py-0.5 ${muted}`}>Month</span>\n          </div>\n        </div>\n      </header>\n      <div className=\"flex flex-1 overflow-hidden\">\n        <div className=\"w-14 shrink-0 pt-10\">\n          {[9, 10, 11, 12, 13, 14, 15, 16].map((h) => (\n            <div key={h} style={{ height: hour }} className={`-mt-2 pr-2 text-right text-[11px] tabular-nums ${muted}`}>\n              {h > 12 ? h - 12 : h} {h >= 12 ? \"PM\" : \"AM\"}\n            </div>\n          ))}\n        </div>\n        {week.map((day, d) => (\n          <div key={day} className={`relative flex-1 border-l ${hairline}`}>\n            <div className={`flex h-10 items-center gap-1.5 px-3 text-[12px] ${d === 3 ? \"font-semibold text-rose-600 dark:text-rose-400\" : muted}`}>\n              {day}\n            </div>\n            {[0, 1, 2, 3, 4, 5, 6, 7].map((h) => (\n              <div key={h} style={{ height: hour }} className={`border-t ${hairline}`} />\n            ))}\n            {events\n              .filter((event) => event.day === d)\n              .map((event) => (\n                <div\n                  key={event.title}\n                  style={{ top: 40 + (event.start - 9) * hour + 2, height: (event.end - event.start) * hour - 4 }}\n                  className={`absolute inset-x-1.5 overflow-hidden rounded-md border-l-[3px] px-2 py-1 text-[11.5px] leading-tight font-medium ${event.tone}`}\n                >\n                  {event.title}\n                </div>\n              ))}\n            {d === 3 ? (\n              <div style={{ top: 40 + 1.6 * hour }} className=\"absolute -left-1 right-0 flex items-center\">\n                <span className=\"size-2 rounded-full bg-rose-500\" />\n                <span className=\"h-px flex-1 bg-rose-500\" />\n              </div>\n            ) : null}\n          </div>\n        ))}\n      </div>\n    </div>\n  );\n}\n\nconst spend = [32, 18, 44, 26, 12, 58, 22, 30, 16, 40, 24, 64, 20, 28, 36, 14, 48, 26, 18, 34, 52, 20, 30, 12];\nconst ledger = [\n  { name: \"Salary · Halden Lab\", when: \"Nov 1\", amount: \"+$4,200.00\", plus: true },\n  { name: \"Rent · Calle da Luna\", when: \"Nov 1\", amount: \"−$1,350.00\" },\n  { name: \"Bakehouse on Rua Nova\", when: \"Today\", amount: \"−$8.40\" },\n  { name: \"Metro pass\", when: \"Yesterday\", amount: \"−$42.00\" },\n  { name: \"Livraria Sá da Costa\", when: \"Nov 10\", amount: \"−$27.90\" },\n];\n\nfunction TallyApp() {\n  return (\n    <div className=\"flex h-full bg-zinc-50 dark:bg-zinc-950\">\n      <nav className={`flex w-16 shrink-0 flex-col items-center gap-4 border-r bg-white py-5 dark:bg-zinc-900 ${hairline}`}>\n        <span className=\"size-8 rounded-lg bg-emerald-600\" />\n        {[0, 1, 2, 3].map((i) => (\n          <span key={i} className={`size-7 rounded-md ${i === 0 ? \"bg-emerald-500/15\" : \"bg-zinc-950/[0.05] dark:bg-white/[0.06]\"}`} />\n        ))}\n      </nav>\n      <main className=\"flex flex-1 flex-col gap-5 p-7\">\n        <div className=\"flex items-end justify-between\">\n          <div>\n            <p className={`text-[13px] ${muted}`}>Left to spend in November</p>\n            <p className={`mt-1 text-[38px] font-semibold tracking-[-0.03em] tabular-nums ${ink}`}>$2,481.20</p>\n          </div>\n          <span className=\"rounded-full bg-emerald-500/15 px-3 py-1 text-[12px] font-medium text-emerald-700 dark:text-emerald-300\">\n            $312 under plan\n          </span>\n        </div>\n        <div className={`rounded-xl border bg-white p-5 dark:bg-zinc-900 ${hairline}`}>\n          <div className=\"flex items-center justify-between\">\n            <p className={`text-[13px] font-medium ${ink}`}>Daily spending</p>\n            <p className={`text-[12px] ${muted}`}>Nov 1 – 24</p>\n          </div>\n          <div className=\"mt-4 flex h-[92px] items-end gap-[7px]\">\n            {spend.map((value, i) => (\n              <span\n                key={i}\n                style={{ height: `${value * 1.4}px` }}\n                className={`flex-1 rounded-t-[3px] ${i === spend.length - 1 ? \"bg-emerald-500\" : \"bg-emerald-500/30\"}`}\n              />\n            ))}\n          </div>\n        </div>\n        <div className={`flex-1 rounded-xl border bg-white px-5 py-2 dark:bg-zinc-900 ${hairline}`}>\n          {ledger.map((row) => (\n            <div key={row.name} className={`flex items-center justify-between border-b py-3 last:border-0 ${hairline}`}>\n              <div>\n                <p className={`text-[13.5px] font-medium ${ink}`}>{row.name}</p>\n                <p className={`text-[12px] ${muted}`}>{row.when}</p>\n              </div>\n              <p className={`text-[13.5px] font-medium tabular-nums ${row.plus ? \"text-emerald-600 dark:text-emerald-400\" : ink}`}>\n                {row.amount}\n              </p>\n            </div>\n          ))}\n        </div>\n      </main>\n    </div>\n  );\n}\n\nconst tracks = [\n  { name: \"Low Sun\", time: \"3:41\" },\n  { name: \"Yellow Hours\", time: \"4:12\" },\n  { name: \"Seawall\", time: \"2:58\" },\n  { name: \"Tram 28\", time: \"3:33\" },\n  { name: \"Almost Home\", time: \"5:06\" },\n];\n\nfunction LoopApp() {\n  return (\n    <div className=\"flex h-full flex-col bg-zinc-950 text-white\">\n      <div className=\"flex flex-1 overflow-hidden\">\n        <Side title=\"Loop\">\n          <div className=\"flex flex-col gap-0.5 [&>div]:text-zinc-400\">\n            <SideRow>Listen now</SideRow>\n            <SideRow>Radio</SideRow>\n            <SideRow on>Library</SideRow>\n          </div>\n        </Side>\n        <main className=\"flex-1 overflow-hidden p-8\">\n          <div className=\"flex items-end gap-6\">\n            {/* eslint-disable-next-line @next/next/no-img-element */}\n            <img\n              src={photo(\"1505740420928-5e560c06d30e\", 360, 360)}\n              alt=\"Album cover: yellow headphones on a yellow wall\"\n              className=\"size-[172px] rounded-xl object-cover shadow-2xl shadow-black/50\"\n            />\n            <div>\n              <p className=\"text-[12px] font-medium tracking-wide text-orange-300 uppercase\">Album · 2026</p>\n              <h1 className=\"mt-2 text-[34px] font-semibold tracking-[-0.03em]\">Yellow Hours</h1>\n              <p className=\"mt-1 text-[14px] text-zinc-400\">Saint Juniper · 11 songs, 41 min</p>\n              <div className=\"mt-4 flex gap-2\">\n                <span className=\"rounded-full bg-gradient-to-r from-rose-500 to-orange-500 px-5 py-2 text-[13px] font-semibold\">\n                  Play\n                </span>\n                <span className=\"rounded-full bg-white/10 px-5 py-2 text-[13px] font-medium\">Shuffle</span>\n              </div>\n            </div>\n          </div>\n          <div className=\"mt-7\">\n            {tracks.map((track, i) => (\n              <div\n                key={track.name}\n                className={`flex items-center gap-4 rounded-lg px-3 py-2.5 text-[13.5px] ${i === 1 ? \"bg-white/[0.07]\" : \"\"}`}\n              >\n                <span className={`w-4 text-right tabular-nums ${i === 1 ? \"text-orange-400\" : \"text-zinc-500\"}`}>{i + 1}</span>\n                <span className={`flex-1 ${i === 1 ? \"font-medium text-orange-300\" : \"text-zinc-200\"}`}>{track.name}</span>\n                <span className=\"text-zinc-500 tabular-nums\">{track.time}</span>\n              </div>\n            ))}\n          </div>\n        </main>\n      </div>\n      <footer className=\"flex items-center gap-4 border-t border-white/[0.07] bg-zinc-900 px-6 py-3.5\">\n        <span className=\"text-[13px] font-medium\">Yellow Hours</span>\n        <span className=\"text-[12px] text-zinc-500 tabular-nums\">1:48</span>\n        <span className=\"h-1 flex-1 rounded-full bg-white/10\">\n          <span className=\"block h-full w-[43%] rounded-full bg-gradient-to-r from-rose-500 to-orange-400\" />\n        </span>\n        <span className=\"text-[12px] text-zinc-500 tabular-nums\">4:12</span>\n      </footer>\n    </div>\n  );\n}\n\nconst notes = [\n  { x: 96, y: 118, r: -3, tone: \"bg-yellow-200 text-yellow-950\", text: \"Ask for the team size before the plan\" },\n  { x: 290, y: 96, r: 2, tone: \"bg-pink-200 text-pink-950\", text: \"Skip the tour if they've imported\" },\n  { x: 484, y: 132, r: -1.5, tone: \"bg-sky-200 text-sky-950\", text: \"First doc opens with their own data\" },\n  { x: 678, y: 104, r: 3, tone: \"bg-lime-200 text-lime-950\", text: \"Invite step: suggest from email domain\" },\n];\n\nfunction TesseraApp() {\n  return (\n    <div className=\"relative h-full overflow-hidden bg-zinc-50 [background-image:radial-gradient(rgb(0_0_0/0.12)_1px,transparent_1px)] [background-size:22px_22px] dark:bg-zinc-900 dark:[background-image:radial-gradient(rgb(255_255_255/0.1)_1px,transparent_1px)]\">\n      <div className={`absolute top-[56px] left-[64px] h-[300px] w-[832px] rounded-2xl border-2 border-dashed border-amber-500/50`}>\n        <span className=\"absolute -top-7 left-0 text-[13px] font-semibold text-amber-600 dark:text-amber-400\">\n          Onboarding flow v2\n        </span>\n      </div>\n      {notes.map((note, i) => (\n        <div\n          key={note.text}\n          style={{ left: note.x, top: note.y, rotate: `${note.r}deg` }}\n          className={`absolute flex size-[150px] flex-col justify-between rounded-sm p-3.5 text-[15px] leading-snug font-medium shadow-md ${note.tone}`}\n        >\n          {note.text}\n          <span className=\"text-[11px] font-normal opacity-60\">Step {i + 1}</span>\n        </div>\n      ))}\n      <svg className=\"absolute inset-0 size-full\" aria-hidden>\n        <g fill=\"none\" stroke=\"currentColor\" strokeWidth=\"2\" strokeDasharray=\"5 6\" className=\"text-amber-500/70\">\n          <path d=\"M246 196 C 262 196, 274 186, 290 180\" />\n          <path d=\"M440 176 C 456 186, 468 200, 484 206\" />\n          <path d=\"M634 210 C 650 200, 662 188, 678 182\" />\n        </g>\n      </svg>\n      <div className=\"absolute top-[392px] left-[96px] w-[360px] rounded-xl bg-white p-4 shadow-md ring-1 ring-zinc-950/5 dark:bg-zinc-800 dark:ring-white/10\">\n        <p className={`text-[13px] font-semibold ${ink}`}>Open questions</p>\n        <ul className={`mt-2 space-y-1.5 text-[13px] ${muted}`}>\n          <li>· Do we show pricing before the invite step?</li>\n          <li>· What does an empty workspace look like?</li>\n        </ul>\n      </div>\n      <div className=\"absolute top-[300px] left-[560px] flex flex-col items-start\">\n        <svg width=\"18\" height=\"18\" viewBox=\"0 0 18 18\" aria-hidden>\n          <path d=\"M2 2l13 5.5-5.5 1.6L7.8 15Z\" className=\"fill-pink-500\" />\n        </svg>\n        <span className=\"ml-3 rounded-full bg-pink-500 px-2 py-0.5 text-[11px] font-semibold text-white\">Mei</span>\n      </div>\n      <div className=\"absolute top-[420px] left-[700px] flex flex-col items-start\">\n        <svg width=\"18\" height=\"18\" viewBox=\"0 0 18 18\" aria-hidden>\n          <path d=\"M2 2l13 5.5-5.5 1.6L7.8 15Z\" className=\"fill-sky-500\" />\n        </svg>\n        <span className=\"ml-3 rounded-full bg-sky-500 px-2 py-0.5 text-[11px] font-semibold text-white\">Jonas</span>\n      </div>\n      <div className=\"absolute bottom-6 left-1/2 flex -translate-x-1/2 gap-1 rounded-xl bg-white p-1.5 shadow-lg ring-1 ring-zinc-950/5 dark:bg-zinc-800 dark:ring-white/10\">\n        {[\"Select\", \"Note\", \"Shape\", \"Line\", \"Text\"].map((tool, i) => (\n          <span\n            key={tool}\n            className={`rounded-lg px-3 py-1.5 text-[12px] font-medium ${i === 1 ? \"bg-amber-400 text-amber-950\" : muted}`}\n          >\n            {tool}\n          </span>\n        ))}\n      </div>\n    </div>\n  );\n}\n\nconst messages = [\n  { who: \"Priya Raman\", initials: \"PR\", tone: \"bg-violet-500\", time: \"9:12\", text: \"Build 412 is on staging. Can everyone give the new invite flow a spin before standup?\" },\n  { who: \"Jonas Weber\", initials: \"JW\", tone: \"bg-sky-500\", time: \"9:20\", text: \"Invites from a phone work now. The email preview still shows the old logo though.\" },\n  { who: \"Mei Tanaka\", initials: \"MT\", tone: \"bg-pink-500\", time: \"9:24\", text: \"Fixed in 413, deploying now. Attaching the before and after.\" },\n];\n\nfunction PigeonApp() {\n  return (\n    <div className=\"flex h-full bg-white dark:bg-zinc-900\">\n      <Side title=\"Northwind\">\n        <div className=\"flex flex-col gap-0.5\">\n          <p className={`px-2 pb-1 text-[11px] font-medium uppercase tracking-wide ${muted}`}>Channels</p>\n          <SideRow># general</SideRow>\n          <SideRow on># launch</SideRow>\n          <SideRow count={3}># design</SideRow>\n          <SideRow># support</SideRow>\n        </div>\n        <div className=\"flex flex-col gap-0.5\">\n          <p className={`px-2 pb-1 text-[11px] font-medium uppercase tracking-wide ${muted}`}>Direct</p>\n          <SideRow>Priya Raman</SideRow>\n          <SideRow>Mei Tanaka</SideRow>\n        </div>\n      </Side>\n      <main className=\"flex flex-1 flex-col\">\n        <header className={`flex items-center justify-between border-b px-6 py-4 ${hairline}`}>\n          <p className={`text-[15px] font-semibold ${ink}`}># launch</p>\n          <p className={`text-[12px] ${muted}`}>14 members</p>\n        </header>\n        <div className=\"flex flex-1 flex-col gap-5 px-6 py-5\">\n          {messages.map((message) => (\n            <div key={message.time} className=\"flex gap-3\">\n              <Face initials={message.initials} className={`size-9 rounded-lg text-[12px] ring-0 ${message.tone}`} />\n              <div className=\"min-w-0\">\n                <p className=\"text-[13px]\">\n                  <span className={`font-semibold ${ink}`}>{message.who}</span>\n                  <span className={`ml-2 text-[11.5px] ${muted}`}>{message.time}</span>\n                </p>\n                <p className={`mt-0.5 text-[14px] leading-relaxed ${ink}`}>{message.text}</p>\n              </div>\n            </div>\n          ))}\n          <div className={`ml-12 flex w-[300px] items-center gap-3 rounded-lg border p-2.5 ${hairline}`}>\n            <span className=\"grid size-10 place-items-center rounded-md bg-sky-500/15 text-[11px] font-semibold text-sky-700 dark:text-sky-300\">\n              PNG\n            </span>\n            <div>\n              <p className={`text-[13px] font-medium ${ink}`}>invite-email-before-after.png</p>\n              <p className={`text-[11.5px] ${muted}`}>418 KB</p>\n            </div>\n          </div>\n        </div>\n        <div className=\"px-6 pb-5\">\n          <p className={`mb-2 text-[12px] ${muted}`}>Priya is typing…</p>\n          <div className={`rounded-xl border px-4 py-3 text-[13.5px] ${hairline} ${muted}`}>Message # launch</div>\n        </div>\n      </main>\n    </div>\n  );\n}\n\n/* ── Demo ──────────────────────────────────────────────── */\n\nconst apps: (LaunchDockItem & { line: string })[] = [\n  { id: \"plume\", label: \"Plume\", title: \"Field notes: Lisbon offsite\", icon: icons.plume, content: <PlumeApp />, line: \"Docs that research teams write together, offline on the train.\" },\n  { id: \"cadence\", label: \"Cadence\", title: \"Cadence: week 46\", icon: icons.cadence, content: <CadenceApp />, line: \"A shared calendar where a moved meeting moves for everyone at once.\" },\n  { id: \"tally\", label: \"Tally\", title: \"Tally: November budget\", icon: icons.tally, content: <TallyApp />, line: \"A household budget that two phones and a laptop keep honest.\" },\n  { id: \"loop\", label: \"Loop\", title: \"Loop\", icon: icons.loop, content: <LoopApp />, line: \"A music library that picks up on the laptop where the phone stopped.\" },\n  { id: \"tessera\", label: \"Tessera\", title: \"Onboarding flow v2: Tessera\", icon: icons.tessera, content: <TesseraApp />, line: \"A whiteboard where every sticky lands for everyone in the room.\" },\n  { id: \"pigeon\", label: \"Pigeon\", title: \"# launch: Northwind\", icon: icons.pigeon, content: <PigeonApp />, line: \"Team chat that never shows a message twice, even after a dead zone.\" },\n];\n\nexport function LaunchDockDemo() {\n  const [open, setOpen] = React.useState(apps[0].id);\n  const app = apps.find((item) => item.id === open) ?? apps[0];\n\n  return (\n    <div className=\"flex w-full max-w-3xl flex-col items-center gap-5\">\n      <LaunchDock items={apps} value={open} onValueChange={setOpen} autoplay dockLabel=\"Apps built on Shoal\" />\n      <p aria-live=\"polite\" className=\"max-w-md text-center text-sm text-balance text-zinc-500 dark:text-zinc-400\">\n        <span className=\"font-medium text-zinc-900 dark:text-zinc-100\">{app.label}</span> · {app.line}\n      </p>\n    </div>\n  );\n}\n"
    }
  ]
}