{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "button",
  "type": "registry:component",
  "title": "Button",
  "description": "The hero sticker. Peels on hover, squishes on press, springs back. Add a buddy for the one action that matters most on a screen, and a burst for the presses worth celebrating.",
  "categories": [
    "actions"
  ],
  "dependencies": [
    "@plop-ui/react",
    "@plop-ui/fonts"
  ],
  "registryDependencies": [
    "https://plopui.com/r/plop-setup.json"
  ],
  "files": [
    {
      "path": "registry/plopui/button-example.tsx",
      "type": "registry:component",
      "target": "components/plop/button-example.tsx",
      "content": "\"use client\";\n\nimport { useState } from \"react\";\nimport { Button, ButtonLink } from \"@plop-ui/react\";\n\n/** Button: the hero sticker. Peels on hover, squishes on press, springs back. */\nexport function ButtonExample() {\n  const [cancelling, setCancelling] = useState(false);\n  return (\n    <>\n      <Button variant=\"ink\" size=\"lg\" buddy>\n        Post sketch\n      </Button>\n      {/* buddy=\"peek\": the buddy pops up on hover or focus. Pass as={Link} to use your router's link. */}\n      <ButtonLink href=\"/start\" size=\"lg\" buddy=\"peek\">\n        Get started\n      </ButtonLink>\n\n      <Button shadow=\"stripes\">Crayon shadow</Button> {/* or \"solid\", \"outline\", \"none\"; default \"soft\" */}\n      <Button variant=\"mint\" burst>\n        Mark as shipped\n      </Button>\n      <Button burst=\"stars\">You did it</Button> {/* \"confetti\" | \"stars\" | \"sparkle\" | \"hearts\" */}\n      <Button burst=\"zap\">Try again</Button> {/* went wrong, shakes too: \"poof\" | \"zap\" | \"drops\" */}\n\n      <Button variant=\"periwinkle\">Add note</Button>\n      <Button\n        variant=\"tomato\"\n        loading={cancelling}\n        onClick={() => {\n          setCancelling(true);\n          setTimeout(() => setCancelling(false), 1500);\n        }}\n      >\n        Delete draft\n      </Button>\n      <Button variant=\"plain\">Skip for now</Button>\n    </>\n  );\n}\n"
    }
  ],
  "docs": "Example: components/plop/button-example.tsx. Docs: https://plopui.com/docs/components/button"
}
