{
  "id": "gharsh11032000_bad-dragon-47",
  "name": "bad-dragon-47",
  "category": "buttons",
  "author": "gharsh11032000",
  "description": "bad-dragon-47 组件 (button, hover effect, animation, gradient, interactive)",
  "tags": [
    "button",
    "hover effect",
    "animation",
    "gradient",
    "interactive"
  ],
  "original": {
    "html": "<button class=\"button\">\n  <span>Hover me</span>\n</button>",
    "css": "/* From Uiverse.io by gharsh11032000 - Tags: button, hover effect */\n.button {\n  position: relative;\n  padding: 15px 30px;\n  font-family: inherit;\n  background-color: var(--color-primary);\n  border: 2px solid;\n  font-size: 20px;\n  font-weight: 600;\n  color: white;\n  cursor: pointer;\n  text-transform: uppercase;\n  overflow: hidden;\n  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);\n}\n\n.button:hover span {\n  background: linear-gradient(135deg, #aefb2a 0%, #57ebde 100% );\n  background-clip: text;\n  -webkit-background-clip: text;\n  -webkit-text-fill-color: transparent;\n}\n\n.button::before {\n  position: absolute;\n  content: '';\n  width: 100%;\n  height: 100%;\n  left: -110%;\n  top: -0%;\n  background: #aefb2a;\n  pointer-events: none;\n  margin: auto;\n  transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);\n}\n\n.button:hover {\n  letter-spacing: 2px;\n  border-image: linear-gradient(135deg, #aefb2a 0%, #57ebde 100% );\n  border-image-slice: 1;\n}\n\n.button:hover::before {\n  left: 110%;\n}\n\n.button:active {\n  scale: 0.95;\n}",
    "file_path": "/mnt/persist/workspace/Buttons/gharsh11032000_bad-dragon-47.html"
  },
  "uniapp": {
    "template": "<button class=\"button\"></button>\n  <text>Hover me</text>\n</button>",
    "script": "export default {\n  name: 'GalaxyBadDragon47',\n  props: {\n    // 根据组件类型动态生成props\n  },\n  data() {\n    return {\n      // 组件状态\n    };\n  },\n  methods: {\n    // 组件方法\n  }\n}",
    "style": "\n/* From Uiverse.io by gharsh11032000 - Tags: button, hover effect */\n.button {\n  position: relative;\n  padding: 30rpx 60rpx;\n  font-family: inherit;\n  background-color: var(--color-primary);\n  border: 4rpx solid;\n  font-size: 40rpx;\n  font-weight: 600;\n  color: white;\n  /* #ifdef H5 */\n  cursor: pointer;\n  /* #endif */\n  text-transform: uppercase;\n  overflow: hidden;\n  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);\n}\n\n.button:hover span {\n  background: linear-gradient(135deg, #aefb2a 0%, #57ebde 100% );\n  background-clip: text;\n  -webkit-background-clip: text;\n  -webkit-text-fill-color: transparent;\n}\n\n.button::before {\n  position: absolute;\n  content: '';\n  width: 100%;\n  height: 100%;\n  left: -110%;\n  top: -0%;\n  background: #aefb2a;\n  pointer-events: none;\n  margin: auto;\n  transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);\n}\n\n.button:hover {\n  letter-spacing: 4rpx;\n  border-image: linear-gradient(135deg, #aefb2a 0%, #57ebde 100% );\n  border-image-slice: 1;\n}\n\n.button:hover::before {\n  left: 110%;\n}\n\n.button:active {\n  scale: 0.95;\n}\n",
    "component_name": "GalaxyBadDragon47"
  },
  "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": 1084,
    "render_cost": "medium",
    "memory_usage": "medium"
  },
  "dependencies": [],
  "examples": [
    {
      "title": "",
      "description": "",
      "code": ""
    }
  ],
  "created_at": "2025-07-31T07:55:36.801Z",
  "updated_at": "2025-07-31T07:55:36.801Z"
}