{
  "id": "niat786_perfect-warthog-57",
  "name": "perfect-warthog-57",
  "category": "buttons",
  "author": "niat786",
  "description": "perfect-warthog-57 组件 (button, animation, gradient, interactive)",
  "tags": [
    "button",
    "animation",
    "gradient",
    "interactive"
  ],
  "original": {
    "html": "<button> Button\n</button>",
    "css": "/* From Uiverse.io by niat786 - Tags: button */\nbutton {\n border: none;\n color: #fff;\n background-image: linear-gradient(30deg, #0400ff, #4ce3f7);\n border-radius: 20px;\n background-size: 100% auto;\n font-family: inherit;\n font-size: 17px;\n padding: 0.6em 1.5em;\n}\n\nbutton:hover {\n background-position: right center;\n background-size: 200% auto;\n -webkit-animation: pulse 2s infinite;\n animation: pulse512 1.5s infinite;\n}\n\n@keyframes pulse512 {\n 0% {\n  box-shadow: 0 0 0 0 #05bada66;\n }\n\n 70% {\n  box-shadow: 0 0 0 10px rgb(218 103 68 / 0%);\n }\n\n 100% {\n  box-shadow: 0 0 0 0 rgb(218 103 68 / 0%);\n }\n}",
    "file_path": "/mnt/persist/workspace/Buttons/niat786_perfect-warthog-57.html"
  },
  "uniapp": {
    "template": "<button></button> Button\n</button>",
    "script": "export default {\n  name: 'GalaxyPerfectWarthog57',\n  props: {\n    // 根据组件类型动态生成props\n  },\n  data() {\n    return {\n      // 组件状态\n    };\n  },\n  methods: {\n    // 组件方法\n  }\n}",
    "style": "\n/* From Uiverse.io by niat786 - Tags: button */\nbutton {\n border: none;\n color: #fff;\n background-image: linear-gradient(30deg, #0400ff, #4ce3f7);\n border-radius: 40rpx;\n background-size: 100% auto;\n font-family: inherit;\n font-size: 34rpx;\n padding: 0.6em 1.5em;\n}\n\nbutton:hover {\n background-position: right center;\n background-size: 200% auto;\n -webkit-animation: pulse 2s infinite;\n animation: pulse512 1.5s infinite;\n}\n\n@keyframes pulse512 {\n 0% {\n  /* #ifdef H5 */\n  /* #ifdef H5 */\n  box-shadow: 0 0 0 0 #05bada66;\n  /* #endif */\n  /* #ifdef MP */\n  border: 1rpx solid rgba(0,0,0,0.1);\n  /* #endif */\n  /* #endif */\n }\n\n 70% {\n  /* #ifdef H5 */\n  /* #ifdef H5 */\n  box-shadow: 0 0 0 20rpx rgb(218 103 68 / 0%);\n  /* #endif */\n  /* #ifdef MP */\n  border: 1rpx solid rgba(0,0,0,0.1);\n  /* #endif */\n  /* #endif */\n }\n\n 100% {\n  /* #ifdef H5 */\n  /* #ifdef H5 */\n  box-shadow: 0 0 0 0 rgb(218 103 68 / 0%);\n  /* #endif */\n  /* #ifdef MP */\n  border: 1rpx solid rgba(0,0,0,0.1);\n  /* #endif */\n  /* #endif */\n }\n}\n",
    "component_name": "GalaxyPerfectWarthog57"
  },
  "platforms": {
    "h5": true,
    "mp-weixin": true,
    "mp-alipay": true,
    "mp-baidu": true,
    "mp-toutiao": true,
    "app-plus": true
  },
  "props": [
    {
      "name": "disabled",
      "type": "Boolean",
      "default": false,
      "required": false,
      "description": "是否禁用"
    },
    {
      "name": "text",
      "type": "String",
      "default": "按钮",
      "required": false,
      "description": "按钮文字"
    },
    {
      "name": "type",
      "type": "String",
      "default": "primary",
      "required": false,
      "description": "按钮类型"
    }
  ],
  "events": [
    {
      "name": "click",
      "description": "点击事件",
      "parameters": [
        "event"
      ]
    }
  ],
  "slots": [
    {
      "name": "",
      "description": "",
      "props": []
    }
  ],
  "compatibility": {
    "h5": {
      "supported": true,
      "issues": [],
      "alternatives": []
    },
    "mp-weixin": {
      "supported": true,
      "issues": [
        "不支持 box-shadow 属性"
      ],
      "alternatives": []
    },
    "mp-alipay": {
      "supported": true,
      "issues": [
        "不支持 box-shadow 属性"
      ],
      "alternatives": []
    },
    "app-plus": {
      "supported": true,
      "issues": [],
      "alternatives": []
    }
  },
  "performance": {
    "complexity": "medium",
    "bundle_size": 631,
    "render_cost": "medium",
    "memory_usage": "medium"
  },
  "dependencies": [],
  "examples": [
    {
      "title": "",
      "description": "",
      "code": ""
    }
  ],
  "created_at": "2025-07-31T07:55:37.472Z",
  "updated_at": "2025-07-31T07:55:37.472Z"
}