{
  "id": "htwarriors108_tender-cobra-44",
  "name": "tender-cobra-44",
  "category": "buttons",
  "author": "htwarriors108",
  "description": "tender-cobra-44 组件 (gradient, button, hover, clean, color, hover effect, buttons, animation, interactive)",
  "tags": [
    "gradient",
    "button",
    "hover",
    "clean",
    "color",
    "hover effect",
    "buttons",
    "animation",
    "interactive"
  ],
  "original": {
    "html": "<button style=\"--i:#a955ff;--j:#ea51ff;\">\n            <span class=\"icon\">\n              <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"currentColor\" class=\"bi bi-heart\" viewBox=\"0 0 16 16\">\n  <path d=\"m8 2.748-.717-.737C5.6.281 2.514.878 1.4 3.053c-.523 1.023-.641 2.5.314 4.385.92 1.815 2.834 3.989 6.286 6.357 3.452-2.368 5.365-4.542 6.286-6.357.955-1.886.838-3.362.314-4.385C13.486.878 10.4.28 8.717 2.01L8 2.748zM8 15C-7.333 4.868 3.279-3.04 7.824 1.143c.06.055.119.112.176.171a3.12 3.12 0 0 1 .176-.17C12.72-3.042 23.333 4.867 8 15z\"></path>\n</svg>\n            </span>\n            <span class=\"title\">i love it</span>\n        </button>",
    "css": "/* From Uiverse.io by htwarriors108 - Tags: gradient, button, hover, clean, color, hover effect, buttons */\nbutton {\n  background-color: #fff;\n  position: relative;\n  list-style: none;\n  width: 60px;\n  height: 60px;\n  border-radius: 60px;\n  cursor: pointer;\n  box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.1);\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  transition: 0.5s;\n  border: none;\n}\n\nbutton:active {\n  scale: 1.2;\n}\n\nbutton:hover {\n  width: 180px;\n  box-shadow: 0px 10px 25px rgba(0, 0, 0, 0);\n}\n\nbutton::before {\n  content: '';\n  position: absolute;\n  inset: 0;\n  border-radius: 50px;\n  background: linear-gradient(45deg, var(--i), var(--j));\n  opacity: 0;\n  transition: 0.5s;\n}\n\nbutton:hover::before {\n  opacity: 1;\n}\n\nbutton::after {\n  content: '';\n  position: absolute;\n  top: 10px;\n  width: 100%;\n  height: 100%;\n  border-radius: 60px;\n  background: linear-gradient(45deg, var(--i), var(--j));\n  filter: blur(15px);\n  transition: 0.5s;\n  z-index: -1;\n  opacity: 0;\n}\n\nbutton:hover::after {\n  opacity: 0.5;\n}\n\nbutton svg {\n  color: #777;\n  width: auto;\n  height: 30px;\n  transition: 0.5s;\n  transition-delay: 0.25s;\n}\n\nbutton:hover svg {\n  transform: scale(0);\n  color: #fff;\n  transition-delay: 0s;\n}\n\nbutton span {\n  position: absolute;\n}\n\nbutton .title {\n  color: #fff;\n  font-size: 1.3em;\n  text-transform: uppercase;\n  letter-spacing: 0.1em;\n  transform: scale(0);\n  transition: 0.5s;\n  transition-delay: 0s;\n  font-weight: 600;\n}\n\nbutton:hover .title {\n  transform: scale(1);\n  transition-delay: 0.25s;\n}",
    "file_path": "/mnt/persist/workspace/Buttons/htwarriors108_tender-cobra-44.html"
  },
  "uniapp": {
    "template": "<button style=\"--i:#a955ff;--j:#ea51ff;\"></button>\n            <text class=\"icon\"></text>\n              <view xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"currentColor\" class=\"bi bi-heart\" viewBox=\"0 0 16 16\"></view>\n  <path d=\"m8 2.748-.717-.737C5.6.281 2.514.878 1.4 3.053c-.523 1.023-.641 2.5.314 4.385.92 1.815 2.834 3.989 6.286 6.357 3.452-2.368 5.365-4.542 6.286-6.357.955-1.886.838-3.362.314-4.385C13.486.878 10.4.28 8.717 2.01L8 2.748zM8 15C-7.333 4.868 3.279-3.04 7.824 1.143c.06.055.119.112.176.171a3.12 3.12 0 0 1 .176-.17C12.72-3.042 23.333 4.867 8 15z\"></path>\n</svg>\n            </span>\n            <text class=\"title\">i love it</text>\n        </button>",
    "script": "export default {\n  name: 'GalaxyTenderCobra44',\n  props: {\n    // 根据组件类型动态生成props\n  },\n  data() {\n    return {\n      // 组件状态\n    };\n  },\n  methods: {\n    // 组件方法\n  }\n}",
    "style": "\n/* From Uiverse.io by htwarriors108 - Tags: gradient, button, hover, clean, color, hover effect, buttons */\nbutton {\n  background-color: #fff;\n  position: relative;\n  list-style: none;\n  width: 120rpx;\n  height: 120rpx;\n  border-radius: 120rpx;\n  /* #ifdef H5 */\n  cursor: pointer;\n  /* #endif */\n  /* #ifdef H5 */\n  /* #ifdef H5 */\n  box-shadow: 0rpx 20rpx 50rpx rgba(0, 0, 0, 0.1);\n  /* #endif */\n  /* #ifdef MP */\n  border: 1rpx solid rgba(0,0,0,0.1);\n  /* #endif */\n  /* #endif */\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  transition: 0.5s;\n  border: none;\n}\n\nbutton:active {\n  scale: 1.2;\n}\n\nbutton:hover {\n  width: 360rpx;\n  /* #ifdef H5 */\n  /* #ifdef H5 */\n  box-shadow: 0rpx 20rpx 50rpx rgba(0, 0, 0, 0);\n  /* #endif */\n  /* #ifdef MP */\n  border: 1rpx solid rgba(0,0,0,0.1);\n  /* #endif */\n  /* #endif */\n}\n\nbutton::before {\n  content: '';\n  position: absolute;\n  inset: 0;\n  border-radius: 100rpx;\n  background: linear-gradient(45deg, var(--i), var(--j));\n  opacity: 0;\n  transition: 0.5s;\n}\n\nbutton:hover::before {\n  opacity: 1;\n}\n\nbutton::after {\n  content: '';\n  position: absolute;\n  top: 20rpx;\n  width: 100%;\n  height: 100%;\n  border-radius: 120rpx;\n  background: linear-gradient(45deg, var(--i), var(--j));\n  \n  transition: 0.5s;\n  z-index: -1;\n  opacity: 0;\n}\n\nbutton:hover::after {\n  opacity: 0.5;\n}\n\nbutton svg {\n  color: #777;\n  width: auto;\n  height: 60rpx;\n  transition: 0.5s;\n  transition-delay: 0.25s;\n}\n\nbutton:hover svg {\n  transform: scale(0);\n  color: #fff;\n  transition-delay: 0s;\n}\n\nbutton span {\n  position: absolute;\n}\n\nbutton .title {\n  color: #fff;\n  font-size: 1.3em;\n  text-transform: uppercase;\n  letter-spacing: 0.1em;\n  transform: scale(0);\n  transition: 0.5s;\n  transition-delay: 0s;\n  font-weight: 600;\n}\n\nbutton:hover .title {\n  transform: scale(1);\n  transition-delay: 0.25s;\n}\n",
    "component_name": "GalaxyTenderCobra44"
  },
  "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 属性",
        "不支持 filter 属性",
        "不支持 cursor 属性"
      ],
      "alternatives": []
    },
    "mp-alipay": {
      "supported": true,
      "issues": [
        "不支持 box-shadow 属性",
        "不支持 filter 属性",
        "不支持 cursor 属性"
      ],
      "alternatives": []
    },
    "app-plus": {
      "supported": true,
      "issues": [],
      "alternatives": []
    }
  },
  "performance": {
    "complexity": "medium",
    "bundle_size": 2208,
    "render_cost": "medium",
    "memory_usage": "medium"
  },
  "dependencies": [],
  "examples": [
    {
      "title": "",
      "description": "",
      "code": ""
    }
  ],
  "created_at": "2025-07-31T07:55:36.955Z",
  "updated_at": "2025-07-31T07:55:36.955Z"
}