{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "profile-card",
  "title": "Profile card",
  "description": "A compact, centered profile card — avatar initials, role, follower stats, and follow/message actions.",
  "registryDependencies": [
    "card",
    "button",
    "badge",
    "separator",
    "https://www.quilldesignsystem.com/r/icon.json"
  ],
  "files": [
    {
      "path": "registry/blocks/profile-card.tsx",
      "content": "import { Card, CardContent, CardFooter } from '@/components/ui/card'\nimport { Button } from '@/components/ui/button'\nimport { Badge } from '@/components/ui/badge'\nimport { Icon } from '@/components/ui/icon'\n\n/** A compact, centered profile card — avatar initials, role, follower stats, and follow/message actions. */\nexport function ProfileCard() {\n  return (\n    <Card className=\"w-card-sm\">\n      <CardContent className=\"flex flex-col items-center gap-3 pt-6 text-center\">\n        <div className=\"flex size-16 items-center justify-center rounded-full bg-muted text-xl font-medium text-muted-foreground\">\n          AL\n        </div>\n        <div className=\"flex flex-col items-center gap-1\">\n          <span className=\"text-lg font-medium text-foreground\">Ada Lovelace</span>\n          <span className=\"text-sm text-muted-foreground\">Principal Engineer</span>\n          <Badge variant=\"secondary\">Pro</Badge>\n        </div>\n        <div className=\"flex w-full items-center justify-around pt-2\">\n          {[\n            { label: 'Projects', value: '24' },\n            { label: 'Followers', value: '1.2k' },\n            { label: 'Following', value: '318' },\n          ].map((s) => (\n            <div key={s.label} className=\"flex flex-col items-center\">\n              <span className=\"text-base font-medium text-foreground tabular-nums\">{s.value}</span>\n              <span className=\"text-xs text-muted-foreground\">{s.label}</span>\n            </div>\n          ))}\n        </div>\n      </CardContent>\n      <CardFooter className=\"gap-2 pt-4\">\n        <Button className=\"flex-1\">\n          <Icon name=\"add\" /> Follow\n        </Button>\n        <Button variant=\"outline\" className=\"flex-1\">\n          <Icon name=\"mail\" /> Message\n        </Button>\n      </CardFooter>\n    </Card>\n  )\n}\n",
      "type": "registry:component",
      "target": "components/quill/profile-card.tsx"
    }
  ],
  "meta": {
    "intent": [
      "data-display"
    ],
    "use_when": "You need a compact user profile with avatar, role, stats, and follow / message actions.",
    "not_for": "you want to show what someone did, not a static summary of who they are → activity-feed; you're listing many people at once — a table or list reads better than a full card per person → data-table"
  },
  "docs": "A compact, centered profile card — avatar initials, role, follower stats, and follow/message actions. Do: Label every stat (\"Followers\", \"Following\") directly beneath its number — a bare number has no meaning on its own. Don't: Show raw numbers with no label and expect position alone to convey what they mean. Use activity-feed when you want to show what someone did, not a static summary of who they are. Use data-table when you're listing many people at once — a table or list reads better than a full card per person.",
  "categories": [
    "data-display"
  ],
  "type": "registry:block"
}