{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "buddy",
  "type": "registry:component",
  "title": "Buddy",
  "description": "A cast of characters, one per state: Pip cheers success, Bix winces at errors, Snooze dozes on stale data, Confetti celebrates, Specs previews and Hum thinks while loading. Stand one alone, or let it peek over any component.",
  "categories": [
    "feedback"
  ],
  "dependencies": [
    "@plop-ui/react",
    "@plop-ui/fonts"
  ],
  "registryDependencies": [
    "https://plopui.com/r/plop-setup.json"
  ],
  "files": [
    {
      "path": "registry/plopui/buddy-example.tsx",
      "type": "registry:component",
      "target": "components/plop/buddy-example.tsx",
      "content": "\"use client\";\n\nimport { Buddy, BuddyPeek, Button, Callout, TicketCard, toast } from \"@plop-ui/react\";\n\n/** Buddy: the cast on its own, peeking over things, and built into toasts, callouts and buttons. */\nexport function BuddyExample() {\n  return (\n    <>\n      <Buddy mood=\"congrats\" size=\"lg\" />\n\n      {/* Peek over anything: the head ducks behind it, the hands grip the edge. */}\n      <BuddyPeek mood=\"preview\">\n        <TicketCard title=\"Cat in a teacup\" meta=\"#1042 · Draft\" />\n      </BuddyPeek>\n\n      {/* Built into Toast and Callout: true picks the character for the kind or tone. */}\n      <Button onClick={() => toast.success(\"Copied to clipboard\", { buddy: true })}>Copy (Pip)</Button>\n      <Button onClick={() => toast(\"Every page is filled\", { buddy: \"congrats\" })}>Finish (Confetti)</Button>\n      <Callout tone=\"warn\" title=\"Last update 12 min ago\" buddy />\n\n      {/* On a Button: pick who peeks over it. */}\n      <Button variant=\"tomato\" buddy buddyMood=\"error\">\n        Retry\n      </Button>\n    </>\n  );\n}\n"
    }
  ],
  "docs": "Example: components/plop/buddy-example.tsx. Docs: https://plopui.com/docs/components/buddy"
}
