{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "testimonial-social-cards",
  "title": "Testimonial — Social Cards",
  "type": "registry:block",
  "files": [
    {
      "path": "packages/registry-react/blocks/testimonial-social-cards/TestimonialSocialCards.tsx",
      "content": "'use client'\n\nimport { Heart, MessageCircle, Repeat2 } from 'lucide-react'\nimport { Avatar, AvatarFallback } from '@/components/ui/avatar'\nimport { Badge } from '@/components/ui/badge'\nimport { Button } from '@/components/ui/button'\nimport { Card, CardContent } from '@/components/ui/card'\n\n// Written as posts, not polished quotes — the lowercase, the caveats, and the\n// specific numbers are what make them read as real.\nconst posts = [\n  {\n    name: 'Erin Walsh',\n    handle: '@erinwalsh',\n    initials: 'EW',\n    when: '4h',\n    body: 'closed the month in four days. four. i have been doing this for eleven years and that number has never started with a four.',\n    replies: 18,\n    reposts: 42,\n    likes: 310,\n  },\n  {\n    name: 'Marcus Ellery',\n    handle: '@mellery',\n    initials: 'ME',\n    when: '1d',\n    body: 'the thing that sold me was the diff. every metric change opens a PR. i can finally review what finance is about to publish instead of finding out in the board deck.',\n    replies: 7,\n    reposts: 91,\n    likes: 604,\n  },\n  {\n    name: 'Anna Reyes',\n    handle: '@annareyes',\n    initials: 'AR',\n    when: '2d',\n    body: 'migration took longer than the marketing site says (three weeks, not one) but nothing broke and we did not copy a single row out of the warehouse.',\n    replies: 24,\n    reposts: 33,\n    likes: 188,\n  },\n  {\n    name: 'Tom Fairbanks',\n    handle: '@tfairbanks',\n    initials: 'TF',\n    when: '3d',\n    body: 'row level scoping wired to okta groups. someone changes teams, their dashboards change with them. this used to be a quarterly cleanup ticket.',\n    replies: 11,\n    reposts: 57,\n    likes: 402,\n  },\n  {\n    name: 'Priya Raman',\n    handle: '@praman',\n    initials: 'PR',\n    when: '5d',\n    body: 'forecast review used to open with twenty minutes of reconciling two decks. now it opens with the forecast. small change, enormous difference.',\n    replies: 5,\n    reposts: 28,\n    likes: 233,\n  },\n  {\n    name: 'Sophie Lindqvist',\n    handle: '@slindqvist',\n    initials: 'SL',\n    when: '1w',\n    body: 'handed the auditors an exported change log instead of a shared folder and they were visibly confused about what to do with their afternoon.',\n    replies: 31,\n    reposts: 120,\n    likes: 870,\n  },\n]\n\nexport function TestimonialSocialCards() {\n  return (\n    <section data-slot=\"testimonial-social-cards\" className=\"bg-background\">\n      <div className=\"mx-auto max-w-6xl px-6 py-20 lg:py-28\">\n        <div className=\"max-w-2xl\">\n          <Badge variant=\"secondary\">In the wild</Badge>\n          <h2 className=\"mt-4 text-3xl font-semibold tracking-tight sm:text-4xl\">Posted without being asked</h2>\n          <p className=\"text-muted-foreground mt-3 text-lg\">\n            Unedited, including the one about the migration taking three weeks.\n          </p>\n        </div>\n\n        {/* CSS columns give a masonry flow with no JS layout pass; cards use\n            break-inside to avoid splitting across a column boundary. */}\n        <div className=\"mt-10 gap-4 sm:columns-2 lg:columns-3\">\n          {posts.map((post) => (\n            <Card key={post.handle} className=\"mb-4 break-inside-avoid\">\n              <CardContent className=\"p-5\">\n                <div className=\"flex items-center gap-3\">\n                  <Avatar className=\"size-9\">\n                    <AvatarFallback className=\"text-xs\">{post.initials}</AvatarFallback>\n                  </Avatar>\n                  <div className=\"min-w-0\">\n                    <p className=\"truncate text-sm font-medium\">{post.name}</p>\n                    <p className=\"text-muted-foreground truncate text-xs\">\n                      {post.handle} · {post.when}\n                    </p>\n                  </div>\n                </div>\n\n                <p className=\"mt-3 text-sm leading-relaxed\">{post.body}</p>\n\n                <div className=\"text-muted-foreground mt-4 flex items-center gap-5 text-xs\">\n                  <Button variant=\"ghost\" size=\"sm\" className=\"h-auto gap-1.5 px-1.5 py-1 text-xs font-normal\">\n                    <MessageCircle className=\"size-3.5\" aria-hidden=\"true\" />\n                    {post.replies}\n                  </Button>\n                  <Button variant=\"ghost\" size=\"sm\" className=\"h-auto gap-1.5 px-1.5 py-1 text-xs font-normal\">\n                    <Repeat2 className=\"size-3.5\" aria-hidden=\"true\" />\n                    {post.reposts}\n                  </Button>\n                  <Button variant=\"ghost\" size=\"sm\" className=\"h-auto gap-1.5 px-1.5 py-1 text-xs font-normal\">\n                    <Heart className=\"size-3.5\" aria-hidden=\"true\" />\n                    {post.likes}\n                  </Button>\n                </div>\n              </CardContent>\n            </Card>\n          ))}\n        </div>\n      </div>\n    </section>\n  )\n}\n",
      "type": "registry:block",
      "target": "~/components/blocks/TestimonialSocialCards.tsx"
    }
  ],
  "dependencies": [
    "lucide-react"
  ],
  "devDependencies": [],
  "registryDependencies": [
    "https://uipkge.dev/r/react/avatar.json",
    "https://uipkge.dev/r/react/badge.json",
    "https://uipkge.dev/r/react/button.json",
    "https://uipkge.dev/r/react/card.json"
  ],
  "description": "Masonry of social-post style endorsements with handle, avatar, timestamp, body copy, and engagement counts, formatted as posts rather than polished marketing quotes.",
  "categories": [
    "marketing"
  ],
  "deprecated": true,
  "replacedBy": "testimonial"
}