{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "contacts-quick-list",
  "title": "Contacts Quick List",
  "description": "A two-pane contacts screen: search, All / Favorites / Online filters, a favorites avatar strip, an A–Z list with sticky letters and a jump index, presence dots, hover quick actions for message and call, and a detail pane with actions, favorite toggle and copyable email and phone.",
  "dependencies": [
    "motion",
    "clsx",
    "tailwind-merge"
  ],
  "files": [
    {
      "path": "registry/new-york/contacts-quick-list/contacts-quick-list.tsx",
      "content": "\"use client\";\n\nimport * as React from \"react\";\nimport { AnimatePresence, motion, useReducedMotion } from \"motion/react\";\nimport { clsx, type ClassValue } from \"clsx\";\nimport { twMerge } from \"tailwind-merge\";\n\nfunction cn(...inputs: ClassValue[]) {\n  return twMerge(clsx(inputs));\n}\n\nexport interface Contact {\n  id: string;\n  name: string;\n  title: string;\n  company: string;\n  email: string;\n  phone: string;\n  location: string;\n  localTime: string;\n  presence: \"online\" | \"away\" | \"offline\";\n  color: string;\n  favorite?: boolean;\n  lastContact?: string;\n}\n\nexport interface ContactsQuickListProps {\n  contacts?: Contact[];\n  onMessage?: (c: Contact) => void;\n  onCall?: (c: Contact) => void;\n  theme?: \"dark\" | \"light\";\n  className?: string;\n}\n\nconst PALETTES = {\n  dark: { bg: \"#0A0A0A\", text: \"#F5F4F1\", muted: \"rgba(245,244,241,0.62)\", faint: \"rgba(245,244,241,0.36)\", card: \"#121212\", raised: \"#181818\", well: \"rgba(255,255,255,0.035)\", hover: \"rgba(255,255,255,0.05)\", sel: \"rgba(255,255,255,0.08)\", border: \"rgba(255,255,255,0.08)\", input: \"#0D0D0D\", on: \"#F5F4F1\", onText: \"#0A0A0A\", green: \"#4ADE80\", amber: \"#FBBF24\", star: \"#FBBF24\", ring: \"rgba(245,244,241,0.6)\" },\n  light: { bg: \"#FAFAF8\", text: \"#0A0A0A\", muted: \"rgba(10,10,10,0.62)\", faint: \"rgba(10,10,10,0.42)\", card: \"#FFFFFF\", raised: \"#FFFFFF\", well: \"rgba(10,10,10,0.03)\", hover: \"rgba(10,10,10,0.04)\", sel: \"rgba(10,10,10,0.07)\", border: \"rgba(10,10,10,0.09)\", input: \"#FAFAF8\", on: \"#0A0A0A\", onText: \"#FAFAF8\", green: \"#16A34A\", amber: \"#D97706\", star: \"#D97706\", ring: \"rgba(10,10,10,0.5)\" },\n};\nconst C = (id: string, name: string, title: string, company: string, location: string, localTime: string, presence: Contact[\"presence\"], color: string, favorite = false, lastContact = \"\") => ({\n  id,\n  name,\n  title,\n  company,\n  location,\n  localTime,\n  presence,\n  color,\n  favorite,\n  lastContact,\n  email: `${name.split(\" \")[0].toLowerCase()}@${company.toLowerCase().replace(/[^a-z]/g, \"\")}.com`,\n  phone: (() => {\n    const h = [...name].reduce((a, ch) => (a * 31 + ch.charCodeAt(0)) % 99991, 7);\n    return `+49 30 ${String(2000 + (h % 8000)).padStart(4, \"0\")} ${String(1000 + ((h * 7) % 9000)).padStart(4, \"0\")}`;\n  })(),\n});\nconst CONTACTS: Contact[] = [\n  C(\"c1\", \"Amara Okafor\", \"Head of Design\", \"Halden\", \"Berlin\", \"09:42\", \"online\", \"#F472B6\", true, \"Today\"),\n  C(\"c2\", \"Ben Castillo\", \"Account Executive\", \"Northwind\", \"Madrid\", \"09:42\", \"away\", \"#60A5FA\", false, \"Mon\"),\n  C(\"c3\", \"Chloé Martin\", \"Product Manager\", \"Lumio\", \"Paris\", \"09:42\", \"online\", \"#A78BFA\", true, \"Yesterday\"),\n  C(\"c4\", \"Daniel Sato\", \"Engineering Lead\", \"Kiteworks\", \"Tokyo\", \"17:42\", \"offline\", \"#34D399\", false, \"Oct 28\"),\n  C(\"c5\", \"Elif Demir\", \"Founder\", \"Orbitly\", \"Istanbul\", \"11:42\", \"online\", \"#FB923C\", true, \"Today\"),\n  C(\"c6\", \"Felix Wagner\", \"CFO\", \"Halden\", \"Munich\", \"09:42\", \"offline\", \"#FBBF24\", false, \"Oct 21\"),\n  C(\"c7\", \"Grace Liu\", \"Data Scientist\", \"Pellucid\", \"Singapore\", \"16:42\", \"away\", \"#22D3EE\", false, \"Oct 30\"),\n  C(\"c8\", \"Hugo Bernard\", \"Sales Director\", \"Lumio\", \"Lyon\", \"09:42\", \"online\", \"#F87171\", false, \"Tue\"),\n  C(\"c9\", \"Isla Murphy\", \"Customer Success\", \"Northwind\", \"Dublin\", \"08:42\", \"online\", \"#4ADE80\", false, \"Today\"),\n  C(\"c10\", \"Jonas Berg\", \"Staff Engineer\", \"Kiteworks\", \"Oslo\", \"09:42\", \"offline\", \"#818CF8\", false, \"Sep 30\"),\n  C(\"c11\", \"Keiko Tanaka\", \"Brand Designer\", \"Orbitly\", \"Osaka\", \"17:42\", \"away\", \"#E879F9\", false, \"Oct 12\"),\n  C(\"c12\", \"Lucas Rossi\", \"Operations\", \"Pellucid\", \"Milan\", \"09:42\", \"online\", \"#2DD4BF\", false, \"Wed\"),\n  C(\"c13\", \"Maya Patel\", \"VP Marketing\", \"Halden\", \"London\", \"08:42\", \"online\", \"#FDBA74\", true, \"Yesterday\"),\n  C(\"c14\", \"Noah Fischer\", \"Recruiter\", \"Lumio\", \"Zurich\", \"09:42\", \"offline\", \"#93C5FD\", false, \"Oct 2\"),\n  C(\"c15\", \"Olivia Brooks\", \"Legal Counsel\", \"Northwind\", \"New York\", \"03:42\", \"offline\", \"#C4B5FD\", false, \"Oct 25\"),\n  C(\"c16\", \"Priya Nair\", \"Solutions Architect\", \"Kiteworks\", \"Bangalore\", \"14:12\", \"online\", \"#86EFAC\", false, \"Thu\"),\n];\nconst initials = (n: string) =>\n  n\n    .split(\" \")\n    .map((w) => w[0])\n    .join(\"\")\n    .slice(0, 2);\nconst PATHS = {\n  msg: \"M4 5h16v11H8l-4 4z\",\n  call: \"M5 4h4l2 5-2.5 1.5a11 11 0 0 0 5 5L15 13l5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 6a2 2 0 0 1 2-2\",\n  mail: \"M3 6h18v12H3zM3 7l9 6 9-6\",\n  star: \"m12 3 2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.5 2.9 1-6.1L3.2 9.5l6.1-.9z\",\n  search: \"M11 4a7 7 0 1 0 0 14 7 7 0 0 0 0-14zM21 21l-4.3-4.3\",\n  copy: \"M9 9h11v11H9zM5 15H4V4h11v1\",\n  back: \"M15 18 9 12l6-6\",\n};\nfunction Icon({ d, size = 15, fill = false }: { d: string; size?: number; fill?: boolean }) {\n  return (\n    <svg width={size} height={size} viewBox=\"0 0 24 24\" fill={fill ? \"currentColor\" : \"none\"} stroke=\"currentColor\" strokeWidth=\"1.8\" strokeLinecap=\"round\" strokeLinejoin=\"round\" aria-hidden=\"true\">\n      <path d={d} />\n    </svg>\n  );\n}\n\nexport function ContactsQuickList({ contacts: initial = CONTACTS, onMessage, onCall, theme = \"dark\", className }: ContactsQuickListProps) {\n  const p = PALETTES[theme];\n  const reduce = !!useReducedMotion();\n  const [contacts, setContacts] = React.useState(initial);\n  const [query, setQuery] = React.useState(\"\");\n  const [filter, setFilter] = React.useState<\"all\" | \"favorites\" | \"online\">(\"all\");\n  const [selected, setSelected] = React.useState<string | null>(\"c3\");\n  const [mobileDetail, setMobileDetail] = React.useState(false);\n  const [copied, setCopied] = React.useState<string | null>(null);\n  const [toast, setToast] = React.useState<string | null>(null);\n  const listRef = React.useRef<HTMLDivElement>(null);\n\n  React.useEffect(() => {\n    if (!copied) return;\n    const t = setTimeout(() => setCopied(null), 1400);\n    return () => clearTimeout(t);\n  }, [copied]);\n  React.useEffect(() => {\n    if (!toast) return;\n    const t = setTimeout(() => setToast(null), 2000);\n    return () => clearTimeout(t);\n  }, [toast]);\n\n  const q = query.trim().toLowerCase();\n  const shown = contacts\n    .filter((c) => (filter === \"favorites\" ? c.favorite : filter === \"online\" ? c.presence === \"online\" : true))\n    .filter((c) => !q || `${c.name} ${c.company} ${c.title}`.toLowerCase().includes(q))\n    .sort((a, b) => a.name.localeCompare(b.name));\n  const groups = shown.reduce<Record<string, Contact[]>>((acc, c) => {\n    (acc[c.name[0].toUpperCase()] ??= []).push(c);\n    return acc;\n  }, {});\n  const letters = Object.keys(groups);\n  const favorites = contacts.filter((c) => c.favorite);\n  const current = contacts.find((c) => c.id === selected) ?? null;\n  const onlineCount = contacts.filter((c) => c.presence === \"online\").length;\n\n  const jump = (l: string) => {\n    const box = listRef.current;\n    const el = box?.querySelector<HTMLElement>(`[data-letter=\"${l}\"]`);\n    if (box && el) box.scrollTop = el.offsetTop - box.offsetTop;\n  };\n  const toggleFav = (id: string) => setContacts((list) => list.map((c) => (c.id === id ? { ...c, favorite: !c.favorite } : c)));\n  const copy = (text: string, key: string) => {\n    navigator.clipboard?.writeText(text).catch(() => {});\n    setCopied(key);\n  };\n  const pick = (id: string) => {\n    setSelected(id);\n    setMobileDetail(true);\n  };\n  const onKeyList = (e: React.KeyboardEvent) => {\n    if (e.key !== \"ArrowDown\" && e.key !== \"ArrowUp\") return;\n    e.preventDefault();\n    const i = shown.findIndex((c) => c.id === selected);\n    const next = shown[Math.min(shown.length - 1, Math.max(0, i + (e.key === \"ArrowDown\" ? 1 : -1)))];\n    if (!next) return;\n    setSelected(next.id);\n    listRef.current?.querySelector<HTMLElement>(`[data-id=\"${next.id}\"]`)?.focus();\n  };\n\n  const ring = { [\"--tw-ring-color\" as string]: p.ring, [\"--tw-ring-offset-color\" as string]: p.card } as React.CSSProperties;\n  const focus = \"outline-none focus-visible:ring-2 focus-visible:ring-offset-2\";\n  const dot = (c: Contact) => (c.presence === \"online\" ? p.green : c.presence === \"away\" ? p.amber : p.faint);\n  const avatar = (c: Contact, size: number) => (\n    <span className=\"relative block shrink-0\" style={{ width: size, height: size }}>\n      <span className=\"grid h-full w-full place-items-center rounded-full font-semibold text-[#0A0A0A]\" style={{ background: c.color, fontSize: size * 0.36 }} aria-hidden=\"true\">\n        {initials(c.name)}\n      </span>\n      <span className=\"absolute right-0 bottom-0 rounded-full border-2\" style={{ width: Math.max(9, size * 0.26), height: Math.max(9, size * 0.26), background: dot(c), borderColor: p.card }} aria-hidden=\"true\" />\n    </span>\n  );\n  const iconBtn = cn(\"grid h-8 w-8 shrink-0 cursor-pointer place-items-center rounded-lg border-0 bg-transparent transition-colors\", focus);\n\n  return (\n    <section className={cn(\"@container relative w-full\", className)} style={{ background: p.bg, color: p.text }}>\n      <div className=\"mx-auto max-w-4xl px-4 py-10 @[640px]:px-6\">\n        <div className=\"grid h-[600px] grid-cols-1 overflow-hidden rounded-2xl border @[720px]:grid-cols-[340px_minmax(0,1fr)]\" style={{ background: p.card, borderColor: p.border }}>\n          {/* List */}\n          <div className={cn(\"min-h-0 flex-col border-r\", mobileDetail ? \"hidden @[720px]:flex\" : \"flex\")} style={{ borderColor: p.border }}>\n            <div className=\"border-b p-3.5\" style={{ borderColor: p.border }}>\n              <div className=\"flex items-baseline justify-between\">\n                <h2 className=\"m-0 text-[15px] font-semibold\">Contacts</h2>\n                <span className=\"text-[12px] tabular-nums\" style={{ color: p.faint }}>\n                  {onlineCount} online\n                </span>\n              </div>\n              <label className=\"mt-3 flex h-9 items-center gap-2 rounded-lg border px-2.5 focus-within:ring-2\" style={{ borderColor: p.border, background: p.input, color: p.faint, ...ring }}>\n                <Icon d={PATHS.search} size={14} />\n                <input value={query} onChange={(e) => setQuery(e.target.value)} placeholder=\"Search name or company\" aria-label=\"Search contacts\" className=\"h-full min-w-0 flex-1 border-0 bg-transparent text-[13px] outline-none\" style={{ color: p.text }} />\n                {query && (\n                  <button type=\"button\" onClick={() => setQuery(\"\")} aria-label=\"Clear search\" className={cn(\"cursor-pointer border-0 bg-transparent p-0 text-[14px] leading-none\", focus)} style={{ color: p.faint, ...ring }}>\n                    ×\n                  </button>\n                )}\n              </label>\n              <div role=\"tablist\" aria-label=\"Filter contacts\" className=\"mt-2.5 flex gap-1\">\n                {([\"all\", \"favorites\", \"online\"] as const).map((f) => (\n                  <button key={f} type=\"button\" role=\"tab\" aria-selected={filter === f} onClick={() => setFilter(f)} className={cn(\"relative h-7 cursor-pointer rounded-md border-0 bg-transparent px-2.5 text-[12px] font-medium capitalize\", focus)} style={{ color: filter === f ? p.text : p.muted, ...ring }}>\n                    {filter === f && <motion.span layoutId={reduce ? undefined : \"cql-filter\"} className=\"absolute inset-0 rounded-md\" style={{ background: p.sel }} transition={{ type: \"spring\", stiffness: 500, damping: 38 }} />}\n                    <span className=\"relative\">{f}</span>\n                  </button>\n                ))}\n              </div>\n            </div>\n\n            {filter === \"all\" && !q && favorites.length > 0 && (\n              <div className=\"border-b px-3.5 py-3\" style={{ borderColor: p.border }}>\n                <p className=\"m-0 mb-2 text-[11px] font-medium tracking-[0.06em] uppercase\" style={{ color: p.faint }}>\n                  Favorites\n                </p>\n                <ul className=\"m-0 flex list-none gap-3 overflow-x-auto p-0 [scrollbar-width:none]\">\n                  <AnimatePresence initial={false}>\n                    {favorites.map((c) => (\n                      <motion.li key={c.id} layout={!reduce} initial={reduce ? false : { opacity: 0, scale: 0.6 }} animate={{ opacity: 1, scale: 1 }} exit={reduce ? undefined : { opacity: 0, scale: 0.6 }}>\n                        <button type=\"button\" onClick={() => pick(c.id)} className={cn(\"flex w-12 cursor-pointer flex-col items-center gap-1 rounded-lg border-0 bg-transparent p-0\", focus)} style={{ color: p.muted, ...ring }} aria-label={`${c.name}, ${c.presence}`}>\n                          <span className=\"block rounded-full p-0.5\" style={{ boxShadow: selected === c.id ? `0 0 0 2px ${p.text}` : \"none\" }}>\n                            {avatar(c, 38)}\n                          </span>\n                          <span className=\"w-full truncate text-center text-[11px]\">{c.name.split(\" \")[0]}</span>\n                        </button>\n                      </motion.li>\n                    ))}\n                  </AnimatePresence>\n                </ul>\n              </div>\n            )}\n\n            <div className=\"relative flex min-h-0 flex-1\">\n              <div ref={listRef} className=\"min-h-0 flex-1 overflow-y-auto [scrollbar-width:thin]\" role=\"listbox\" aria-label=\"Contacts\" tabIndex={-1} onKeyDown={onKeyList}>\n                {letters.length === 0 && (\n                  <p className=\"m-0 px-4 py-10 text-center text-[13px]\" style={{ color: p.faint }}>\n                    No contacts match “{query}”\n                  </p>\n                )}\n                {letters.map((l) => (\n                  <div key={l} role=\"group\" aria-label={l}>\n                    <div data-letter={l} className=\"sticky top-0 z-[1] px-4 py-1 text-[11px] font-semibold\" style={{ background: p.card, color: p.faint }}>\n                      {l}\n                    </div>\n                    {groups[l].map((c) => {\n                      const sel = c.id === selected;\n                      return (\n                        <div\n                          key={c.id}\n                          data-id={c.id}\n                          role=\"option\"\n                          aria-selected={sel}\n                          tabIndex={sel || (!selected && c === shown[0]) ? 0 : -1}\n                          onClick={() => pick(c.id)}\n                          onKeyDown={(e) => (e.key === \"Enter\" || e.key === \" \") && (e.preventDefault(), pick(c.id))}\n                          className={cn(\"group mx-1.5 flex cursor-pointer items-center gap-3 rounded-lg px-2.5 py-2 transition-colors\", focus)}\n                          style={{ background: sel ? p.sel : \"transparent\", ...ring }}\n                          onMouseEnter={(e) => !sel && (e.currentTarget.style.background = p.hover)}\n                          onMouseLeave={(e) => !sel && (e.currentTarget.style.background = \"transparent\")}\n                        >\n                          {avatar(c, 34)}\n                          <span className=\"min-w-0 flex-1\">\n                            <span className=\"flex items-center gap-1.5 text-[13.5px] font-medium\">\n                              <span className=\"truncate\">{c.name}</span>\n                              {c.favorite && (\n                                <span style={{ color: p.star }}>\n                                  <Icon d={PATHS.star} size={11} fill />\n                                </span>\n                              )}\n                            </span>\n                            <span className=\"block truncate text-[12px]\" style={{ color: p.faint }}>\n                              {c.title} · {c.company}\n                            </span>\n                          </span>\n                          <span className=\"flex gap-0.5 opacity-0 transition-opacity group-focus-within:opacity-100 group-hover:opacity-100\" style={sel ? { opacity: 1 } : undefined}>\n                            <button\n                              type=\"button\"\n                              tabIndex={-1}\n                              onClick={(e) => {\n                                e.stopPropagation();\n                                onMessage?.(c);\n                                setToast(`Message to ${c.name.split(\" \")[0]}`);\n                              }}\n                              aria-label={`Message ${c.name}`}\n                              className={cn(iconBtn, \"h-7 w-7\")}\n                              style={{ color: p.muted, ...ring }}\n                            >\n                              <Icon d={PATHS.msg} size={14} />\n                            </button>\n                            <button\n                              type=\"button\"\n                              tabIndex={-1}\n                              onClick={(e) => {\n                                e.stopPropagation();\n                                onCall?.(c);\n                                setToast(`Calling ${c.name.split(\" \")[0]}…`);\n                              }}\n                              aria-label={`Call ${c.name}`}\n                              className={cn(iconBtn, \"h-7 w-7\")}\n                              style={{ color: p.muted, ...ring }}\n                            >\n                              <Icon d={PATHS.call} size={14} />\n                            </button>\n                          </span>\n                        </div>\n                      );\n                    })}\n                  </div>\n                ))}\n              </div>\n              {letters.length > 4 && (\n                <nav aria-label=\"Jump to letter\" className=\"flex w-5 shrink-0 flex-col items-center justify-center gap-0.5 py-2\">\n                  {letters.map((l) => (\n                    <button key={l} type=\"button\" onClick={() => jump(l)} aria-label={`Jump to ${l}`} className={cn(\"cursor-pointer rounded border-0 bg-transparent p-0 text-[10px] leading-[14px] font-semibold\", focus)} style={{ color: p.faint, ...ring }}>\n                      {l}\n                    </button>\n                  ))}\n                </nav>\n              )}\n            </div>\n          </div>\n\n          {/* Detail */}\n          <div className={cn(\"min-h-0 flex-col overflow-y-auto\", mobileDetail ? \"flex\" : \"hidden @[720px]:flex\")} aria-live=\"polite\">\n            {current ? (\n              <motion.div key={current.id} initial={reduce ? false : { opacity: 0, y: 8 }} animate={{ opacity: 1, y: 0 }} transition={{ duration: 0.25 }} className=\"flex flex-col\">\n                <div className=\"flex items-center gap-2 px-3 pt-3 @[720px]:hidden\">\n                  <button type=\"button\" onClick={() => setMobileDetail(false)} className={cn(\"flex h-8 cursor-pointer items-center gap-1 rounded-lg border-0 bg-transparent px-2 text-[13px]\", focus)} style={{ color: p.muted, ...ring }}>\n                    <Icon d={PATHS.back} size={14} /> All contacts\n                  </button>\n                </div>\n                <div className=\"flex flex-col items-center px-6 pt-6 pb-5 text-center @[720px]:pt-10\">\n                  {avatar(current, 76)}\n                  <h3 className=\"m-0 mt-3.5 text-[19px] font-semibold\">{current.name}</h3>\n                  <p className=\"m-0 mt-0.5 text-[13px]\" style={{ color: p.muted }}>\n                    {current.title} at {current.company}\n                  </p>\n                  <p className=\"m-0 mt-1.5 flex items-center gap-1.5 text-[12px]\" style={{ color: p.faint }}>\n                    <span className=\"h-1.5 w-1.5 rounded-full\" style={{ background: dot(current) }} />\n                    <span className=\"capitalize\">{current.presence}</span> · {current.localTime} local time in {current.location}\n                  </p>\n                  <div className=\"mt-5 flex gap-2\">\n                    {[\n                      { k: \"msg\", label: \"Message\", d: PATHS.msg, run: () => (onMessage?.(current), setToast(`Message to ${current.name.split(\" \")[0]}`)) },\n                      { k: \"call\", label: \"Call\", d: PATHS.call, run: () => (onCall?.(current), setToast(`Calling ${current.name.split(\" \")[0]}…`)) },\n                      { k: \"mail\", label: \"Email\", d: PATHS.mail, run: () => setToast(`Draft to ${current.email}`) },\n                    ].map((a) => (\n                      <button key={a.k} type=\"button\" onClick={a.run} className={cn(\"flex w-[76px] cursor-pointer flex-col items-center gap-1.5 rounded-xl border py-2.5 text-[12px] transition-colors\", focus)} style={{ borderColor: p.border, background: p.well, color: p.text, ...ring }}>\n                        <Icon d={a.d} size={16} />\n                        {a.label}\n                      </button>\n                    ))}\n                    <button type=\"button\" onClick={() => toggleFav(current.id)} aria-pressed={!!current.favorite} className={cn(\"flex w-[76px] cursor-pointer flex-col items-center gap-1.5 rounded-xl border py-2.5 text-[12px] transition-colors\", focus)} style={{ borderColor: current.favorite ? `${p.star}66` : p.border, background: current.favorite ? `${p.star}14` : p.well, color: current.favorite ? p.star : p.text, ...ring }}>\n                      <motion.span key={String(current.favorite)} initial={reduce || !current.favorite ? false : { scale: 0.4, rotate: -40 }} animate={{ scale: 1, rotate: 0 }} transition={{ type: \"spring\", stiffness: 500, damping: 18 }} className=\"grid\">\n                        <Icon d={PATHS.star} size={16} fill={current.favorite} />\n                      </motion.span>\n                      {current.favorite ? \"Favorited\" : \"Favorite\"}\n                    </button>\n                  </div>\n                </div>\n                <dl className=\"m-0 mx-5 mb-5 divide-y rounded-xl border\" style={{ borderColor: p.border }}>\n                  {[\n                    { k: \"email\", label: \"Email\", value: current.email },\n                    { k: \"phone\", label: \"Phone\", value: current.phone },\n                    { k: \"company\", label: \"Company\", value: current.company },\n                    { k: \"last\", label: \"Last contact\", value: current.lastContact || \"—\" },\n                  ].map((row) => (\n                    <div key={row.k} className=\"flex items-center gap-3 px-4 py-3\" style={{ borderColor: p.border }}>\n                      <dt className=\"w-24 shrink-0 text-[12px]\" style={{ color: p.faint }}>\n                        {row.label}\n                      </dt>\n                      <dd className=\"m-0 min-w-0 flex-1 truncate text-[13px]\">{row.value}</dd>\n                      {(row.k === \"email\" || row.k === \"phone\") && (\n                        <button type=\"button\" onClick={() => copy(row.value, `${current.id}-${row.k}`)} aria-label={`Copy ${row.label.toLowerCase()}`} className={cn(\"flex h-7 shrink-0 cursor-pointer items-center gap-1 rounded-md border-0 bg-transparent px-2 text-[11.5px]\", focus)} style={{ color: copied === `${current.id}-${row.k}` ? p.green : p.faint, ...ring }}>\n                          {copied === `${current.id}-${row.k}` ? \"✓ Copied\" : <Icon d={PATHS.copy} size={13} />}\n                        </button>\n                      )}\n                    </div>\n                  ))}\n                </dl>\n              </motion.div>\n            ) : (\n              <p className=\"m-auto text-[13px]\" style={{ color: p.faint }}>\n                Select a contact\n              </p>\n            )}\n          </div>\n        </div>\n      </div>\n      <AnimatePresence>\n        {toast && (\n          <motion.div key={toast} role=\"status\" initial={reduce ? false : { opacity: 0, y: 8 }} animate={{ opacity: 1, y: 0 }} exit={reduce ? undefined : { opacity: 0 }} className=\"pointer-events-none absolute bottom-6 left-1/2 z-20 -translate-x-1/2 rounded-full border px-3.5 py-1.5 text-[12.5px] shadow-xl\" style={{ background: p.raised, borderColor: p.border, color: p.text }}>\n            {toast}\n          </motion.div>\n        )}\n      </AnimatePresence>\n    </section>\n  );\n}\n\nexport default ContactsQuickList;\n",
      "type": "registry:component"
    }
  ],
  "type": "registry:component"
}