{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "press-quotes-linked-snap",
  "title": "Press Quotes Linked Snap",
  "description": "Use this when press coverage is shown as swipeable quote cards: a no-library scroll-snap row where each card is one link to the article and Tab brings the focused card into view.",
  "registryDependencies": [
    "@tealmac/carousel-snap"
  ],
  "files": [
    {
      "path": "registry/patterns/press-quotes-linked-snap/press-quotes-linked-snap.tsx",
      "content": "\"use client\"\n\nimport * as React from \"react\"\n\nimport { cn } from \"@/lib/utils\"\nimport { CarouselSnap } from \"@/components/ui/carousel-snap\"\n\nexport interface PressQuote {\n  id: string\n  quote: string\n  outlet: string\n  href: string\n}\n\nexport interface PressQuotesLinkedSnapProps {\n  quotes: PressQuote[]\n  label: string\n  className?: string\n}\n\nexport function PressQuotesLinkedSnap({\n  quotes,\n  label,\n  className,\n}: PressQuotesLinkedSnapProps) {\n  return (\n    <CarouselSnap\n      label={label}\n      className={cn(className)}\n      slideClassName=\"basis-[85%] sm:basis-[46%]\"\n      items={quotes.map((item) => ({\n        id: item.id,\n        label: item.outlet,\n        content: (\n          <a\n            href={item.href}\n            className=\"hover:bg-accent focus-visible:ring-ring/50 flex h-full flex-col justify-between gap-6 rounded-xl border p-5 transition-colors focus-visible:ring-[3px] focus-visible:outline-none\"\n          >\n            <span className=\"text-base leading-relaxed\">\n              &ldquo;{item.quote}&rdquo;\n            </span>\n            <span className=\"text-sm font-semibold\">\n              {item.outlet} <span className=\"sr-only\">(read the article)</span>\n            </span>\n          </a>\n        ),\n      }))}\n    />\n  )\n}\n",
      "type": "registry:block"
    }
  ],
  "type": "registry:block"
}