{
  "id": "KhaledMatalkah_stale-squid-66",
  "name": "stale-squid-66",
  "category": "buttons",
  "author": "KhaledMatalkah",
  "description": "stale-squid-66 组件 (button, hover, transition, animation, gradient, interactive)",
  "tags": [
    "button",
    "hover",
    "transition",
    "animation",
    "gradient",
    "interactive"
  ],
  "original": {
    "html": "<button class=\"button\">\n  Button\n</button>",
    "css": "/* From Uiverse.io by KhaledMatalkah - Tags: button, hover, transition */\n.button {\n  display: inline-block;\n  padding: 15px 32px;\n  font-size: 17px;\n  font-weight: bold;\n  color: #fff;\n  background: linear-gradient(130deg, #ff6b6b, #c94d4d, #8e3636);\n  border-radius: 50px;\n  text-align: center;\n  text-decoration: none;\n  cursor: pointer;\n  position: relative;\n  overflow: hidden;\n  z-index: 1;\n  border: none;\n  border-style: solid;\n  border-width: 2px;\n}\n\n.button:before,\n.button:after {\n  content: \"\";\n  position: absolute;\n  top: 0;\n  width: 100%;\n  height: 100%;\n  opacity: 0.3;\n  pointer-events: none;\n  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;\n}\n\n.button:before {\n  left: 100%;\n  background: linear-gradient(130deg, #ff6b6b, #c94d4d, #8e3636);\n  z-index: -1;\n}\n\n.button:hover:before {\n  transform: translateX(-50%);\n  opacity: 1;\n}\n\n.button:after {\n  right: 100%;\n  background: linear-gradient(130deg, #ff6b6b, #c94d4d, #8e3636);\n  z-index: -1;\n}\n\n.button:hover:after {\n  transform: translateX(50%);\n  opacity: 1;\n}\n\n.button:hover .button-text {\n  transform: translateY(-3px);\n}\n\n.button-text {\n  transition: transform 0.3s ease-in-out;\n}",
    "file_path": "/mnt/persist/workspace/Buttons/KhaledMatalkah_stale-squid-66.html"
  },
  "uniapp": {
    "template": "<button class=\"button\"></button>\n  Button\n</button>",
    "script": "export default {\n  name: 'GalaxyStaleSquid66',\n  props: {\n    // 根据组件类型动态生成props\n  },\n  data() {\n    return {\n      // 组件状态\n    };\n  },\n  methods: {\n    // 组件方法\n  }\n}",
    "style": "\n/* From Uiverse.io by KhaledMatalkah - Tags: button, hover, transition */\n.button {\n  display: inline-block;\n  padding: 30rpx 64rpx;\n  font-size: 34rpx;\n  font-weight: bold;\n  color: #fff;\n  background: linear-gradient(130deg, #ff6b6b, #c94d4d, #8e3636);\n  border-radius: 100rpx;\n  text-align: center;\n  text-decoration: none;\n  /* #ifdef H5 */\n  cursor: pointer;\n  /* #endif */\n  position: relative;\n  overflow: hidden;\n  z-index: 1;\n  border: none;\n  border-style: solid;\n  border-width: 4rpx;\n}\n\n.button:before,\n.button:after {\n  content: \"\";\n  position: absolute;\n  top: 0;\n  width: 100%;\n  height: 100%;\n  opacity: 0.3;\n  pointer-events: none;\n  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;\n}\n\n.button:before {\n  left: 100%;\n  background: linear-gradient(130deg, #ff6b6b, #c94d4d, #8e3636);\n  z-index: -1;\n}\n\n.button:hover:before {\n  transform: translateX(-50%);\n  opacity: 1;\n}\n\n.button:after {\n  right: 100%;\n  background: linear-gradient(130deg, #ff6b6b, #c94d4d, #8e3636);\n  z-index: -1;\n}\n\n.button:hover:after {\n  transform: translateX(50%);\n  opacity: 1;\n}\n\n.button:hover .button-text {\n  transform: translateY(-6rpx);\n}\n\n.button-text {\n  transition: transform 0.3s ease-in-out;\n}\n\n",
    "component_name": "GalaxyStaleSquid66"
  },
  "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": 1219,
    "render_cost": "medium",
    "memory_usage": "medium"
  },
  "dependencies": [],
  "examples": [
    {
      "title": "",
      "description": "",
      "code": ""
    }
  ],
  "created_at": "2025-07-31T07:55:33.728Z",
  "updated_at": "2025-07-31T07:55:33.728Z"
}