{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "stamp-card",
  "type": "registry:component",
  "title": "StampCard",
  "description": "A loyalty punch card: a row of paper slots that fill with rubber stamps. Each stamp lands with its own seeded tilt and ink, and the newest one thunks onto the card.",
  "categories": [
    "display"
  ],
  "dependencies": [
    "@plop-ui/react",
    "@plop-ui/fonts"
  ],
  "registryDependencies": [
    "https://plopui.com/r/plop-setup.json"
  ],
  "files": [
    {
      "path": "registry/plopui/stamp-card-example.tsx",
      "type": "registry:component",
      "target": "components/plop/stamp-card-example.tsx",
      "content": "\"use client\";\n\nimport { StampCard } from \"@plop-ui/react\";\n\n/** StampCard: the example from https://plopui.com/docs/components/stamp-card. Edit it freely; the component comes from npm. */\nexport function StampCardExample() {\n  return (\n    <>\n      <StampCard total={8} filled={3} title=\"Matcha Corner\" />\n\n      // Your own stamp, drawn in currentColor so it takes the ink.\n      <StampCard\n        total={8}\n        filled={5}\n        title=\"Matcha Corner\"\n        ink=\"leaf\"\n        stamp={\n          <svg viewBox=\"0 0 48 48\" aria-hidden=\"true\">\n            <path d=\"M10 17h25l-2.6 19.5c-.3 2.4-2.3 4.2-4.7 4.2H17.4c-2.4 0-4.4-1.8-4.7-4.2Z\" fill=\"none\" stroke=\"currentColor\" strokeWidth=\"3\" />\n          </svg>\n        }\n      />\n\n      // A different last stamp: pass a function of the slot index.\n      <StampCard total={6} filled={6} stamp={(i) => (i === 5 ? <b>FREE</b> : \"★\")} />\n    </>\n  );\n}\n"
    }
  ],
  "docs": "Example: components/plop/stamp-card-example.tsx. Docs: https://plopui.com/docs/components/stamp-card"
}
