{
  "id": "PriyanshuGupta28_nasty-wasp-10",
  "name": "nasty-wasp-10",
  "category": "buttons",
  "author": "PriyanshuGupta28",
  "description": "nasty-wasp-10 组件 (button, animation, gradient, interactive)",
  "tags": [
    "button",
    "animation",
    "gradient",
    "interactive"
  ],
  "original": {
    "html": "<button class=\"custom-button\">Click Me</button>",
    "css": "/* From Uiverse.io by PriyanshuGupta28 - Tags: button */\n/* styles.css */\n\n/* Reset default styles for the button */\nbutton {\n  border: none;\n  outline: none;\n  padding: 10px 20px;\n  font-size: 16px;\n  border-radius: 4px;\n  cursor: pointer;\n  background-color: #4158D0;\n  background-image: linear-gradient(43deg, #4158D0 0%, #C850C0 46%, #FFCC70 100%);\n  color: #fff;\n  position: relative;\n  overflow: hidden;\n}\n\n/* Add a pseudo-element for the animation effect */\nbutton::before {\n  content: '';\n  position: absolute;\n  top: 0;\n  left: 50%;\n  width: 0;\n  height: 100%;\n  background-color: rgba(255, 255, 255, 0.2);\n  transform: translateX(-50%);\n  transition: width 0.3s ease;\n}\n\n/* Hover effect for the button */\nbutton:hover::before {\n  width: 100%;\n}\n\n/* Active effect for the button */\nbutton:active::before {\n  background-color: rgba(255, 255, 255, 0.4);\n  transition: none;\n  animation: ripple 0.4s ease;\n}\n\n/* Keyframes animation for the active effect */\n@keyframes ripple {\n  to {\n    transform: scale(2);\n    opacity: 0;\n  }\n}",
    "file_path": "/mnt/persist/workspace/Buttons/PriyanshuGupta28_nasty-wasp-10.html"
  },
  "uniapp": {
    "template": "<button class=\"custom-button\"></button>Click Me</button>",
    "script": "export default {\n  name: 'GalaxyNastyWasp10',\n  props: {\n    // 根据组件类型动态生成props\n  },\n  data() {\n    return {\n      // 组件状态\n    };\n  },\n  methods: {\n    // 组件方法\n  }\n}",
    "style": "\n/* From Uiverse.io by PriyanshuGupta28 - Tags: button */\n/* styles.css */\n\n/* Reset default styles for the button */\nbutton {\n  border: none;\n  outline: none;\n  padding: 20rpx 40rpx;\n  font-size: 32rpx;\n  border-radius: 8rpx;\n  /* #ifdef H5 */\n  cursor: pointer;\n  /* #endif */\n  background-color: #4158D0;\n  background-image: linear-gradient(43deg, #4158D0 0%, #C850C0 46%, #FFCC70 100%);\n  color: #fff;\n  position: relative;\n  overflow: hidden;\n}\n\n/* Add a pseudo-element for the animation effect */\nbutton::before {\n  content: '';\n  position: absolute;\n  top: 0;\n  left: 50%;\n  width: 0;\n  height: 100%;\n  background-color: rgba(255, 255, 255, 0.2);\n  transform: translateX(-50%);\n  transition: width 0.3s ease;\n}\n\n/* Hover effect for the button */\nbutton:hover::before {\n  width: 100%;\n}\n\n/* Active effect for the button */\nbutton:active::before {\n  background-color: rgba(255, 255, 255, 0.4);\n  transition: none;\n  animation: ripple 0.4s ease;\n}\n\n/* Keyframes animation for the active effect */\n@keyframes ripple {\n  to {\n    transform: scale(2);\n    opacity: 0;\n  }\n}\n\n",
    "component_name": "GalaxyNastyWasp10"
  },
  "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": [
        "不支持 cursor 属性"
      ],
      "alternatives": []
    },
    "mp-alipay": {
      "supported": true,
      "issues": [
        "不支持 cursor 属性"
      ],
      "alternatives": []
    },
    "app-plus": {
      "supported": true,
      "issues": [],
      "alternatives": []
    }
  },
  "performance": {
    "complexity": "medium",
    "bundle_size": 1088,
    "render_cost": "medium",
    "memory_usage": "medium"
  },
  "dependencies": [],
  "examples": [
    {
      "title": "",
      "description": "",
      "code": ""
    }
  ],
  "created_at": "2025-07-31T07:55:34.348Z",
  "updated_at": "2025-07-31T07:55:34.348Z"
}