{
  "id": "gharsh11032000_neat-treefrog-57",
  "name": "neat-treefrog-57",
  "category": "buttons",
  "author": "gharsh11032000",
  "description": "neat-treefrog-57 组件 (gradient, button, hover effect, interactive)",
  "tags": [
    "gradient",
    "button",
    "hover effect",
    "interactive"
  ],
  "original": {
    "html": "<button class=\"button\">\n  <span>Contact</span>\n</button>",
    "css": "/* From Uiverse.io by gharsh11032000 - Tags: gradient, button, hover effect */\n.button {\n  position: relative;\n  text-decoration: none;\n  color: #e8e8e8;\n  padding: 15px 30px;\n  width: 170px;\n  height: 60px;\n  font-weight: 600;\n  font-size: 18px;\n  cursor: pointer;\n  border: none;\n  overflow: hidden;\n  background: linear-gradient(-45deg, #f89b29 0%, #ff0f7b 100% );\n  transition: all 0.3s cubic-bezier(0.215, 0.610, 0.355, 1);\n}\n\n.button span , .button span::before {\n  position: absolute;\n  top: 0%;\n  left: 0;\n  width: 100%;\n  height: 100%;\n  display: flex;\n  align-items: center;\n  pointer-events: none;\n  justify-content: center;\n  transition: all 0.3s cubic-bezier(0.215, 0.610, 0.355, 1);\n}\n\n.button span::before {\n  content: 'Hello!';\n  top: -100%;\n}\n\n.button:before {\n  top: 0;\n  left: 0;\n  border-top: 2px solid #e8e8e8;\n  border-left: 2px solid #e8e8e8;\n}\n\n.button:after {\n  bottom: 0;\n  right: 0;\n  border-bottom: 2px solid #e8e8e8;\n  border-right: 2px solid #e8e8e8;\n}\n\n.button:after,\n.button:before {\n  content: \"\";\n  position: absolute;\n  width: 24px;\n  height: 24px;\n  pointer-events: none;\n  transition: all 0.3s cubic-bezier(0.215, 0.610, 0.355, 1);\n}\n\n.button:hover {\n  box-shadow: 0 0 30px rgba(248 ,155, 41,0.4),\n  0 0 30px rgba(255, 15, 123,0.4);\n  ;\n}\n\n.button:hover:before,\n.button:hover:after {\n  width: 100%;\n  height: 100%;\n}\n\n.button:hover span {\n  top: 100%;\n}\n\n.button:active {\n  scale: 0.95;\n  box-shadow: 0 0 10px rgba(248 ,155, 41,0.4),\n  0 0 10px rgba(255, 15, 123,0.4);\n  ;\n}",
    "file_path": "/mnt/persist/workspace/Buttons/gharsh11032000_neat-treefrog-57.html"
  },
  "uniapp": {
    "template": "<button class=\"button\"></button>\n  <text>Contact</text>\n</button>",
    "script": "export default {\n  name: 'GalaxyNeatTreefrog57',\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: gradient, button, hover effect */\n.button {\n  position: relative;\n  text-decoration: none;\n  color: #e8e8e8;\n  padding: 30rpx 60rpx;\n  width: 340rpx;\n  height: 120rpx;\n  font-weight: 600;\n  font-size: 36rpx;\n  /* #ifdef H5 */\n  cursor: pointer;\n  /* #endif */\n  border: none;\n  overflow: hidden;\n  background: linear-gradient(-45deg, #f89b29 0%, #ff0f7b 100% );\n  transition: all 0.3s cubic-bezier(0.215, 0.610, 0.355, 1);\n}\n\n.button span , .button span::before {\n  position: absolute;\n  top: 0%;\n  left: 0;\n  width: 100%;\n  height: 100%;\n  display: flex;\n  align-items: center;\n  pointer-events: none;\n  justify-content: center;\n  transition: all 0.3s cubic-bezier(0.215, 0.610, 0.355, 1);\n}\n\n.button span::before {\n  content: 'Hello!';\n  top: -100%;\n}\n\n.button:before {\n  top: 0;\n  left: 0;\n  border-top: 4rpx solid #e8e8e8;\n  border-left: 4rpx solid #e8e8e8;\n}\n\n.button:after {\n  bottom: 0;\n  right: 0;\n  border-bottom: 4rpx solid #e8e8e8;\n  border-right: 4rpx solid #e8e8e8;\n}\n\n.button:after,\n.button:before {\n  content: \"\";\n  position: absolute;\n  width: 48rpx;\n  height: 48rpx;\n  pointer-events: none;\n  transition: all 0.3s cubic-bezier(0.215, 0.610, 0.355, 1);\n}\n\n.button:hover {\n  /* #ifdef H5 */\n  /* #ifdef H5 */\n  box-shadow: 0 0 60rpx rgba(248 ,155, 41,0.4),\n  0 0 60rpx rgba(255, 15, 123,0.4);\n  /* #endif */\n  /* #ifdef MP */\n  border: 1rpx solid rgba(0,0,0,0.1);\n  /* #endif */\n  /* #endif */\n  ;\n}\n\n.button:hover:before,\n.button:hover:after {\n  width: 100%;\n  height: 100%;\n}\n\n.button:hover span {\n  top: 100%;\n}\n\n.button:active {\n  scale: 0.95;\n  /* #ifdef H5 */\n  /* #ifdef H5 */\n  box-shadow: 0 0 20rpx rgba(248 ,155, 41,0.4),\n  0 0 20rpx rgba(255, 15, 123,0.4);\n  /* #endif */\n  /* #ifdef MP */\n  border: 1rpx solid rgba(0,0,0,0.1);\n  /* #endif */\n  /* #endif */\n  ;\n}\n\n\n",
    "component_name": "GalaxyNeatTreefrog57"
  },
  "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 属性",
        "不支持 cursor 属性"
      ],
      "alternatives": []
    },
    "mp-alipay": {
      "supported": true,
      "issues": [
        "不支持 box-shadow 属性",
        "不支持 cursor 属性"
      ],
      "alternatives": []
    },
    "app-plus": {
      "supported": true,
      "issues": [],
      "alternatives": []
    }
  },
  "performance": {
    "complexity": "low",
    "bundle_size": 1573,
    "render_cost": "low",
    "memory_usage": "low"
  },
  "dependencies": [],
  "examples": [
    {
      "title": "",
      "description": "",
      "code": ""
    }
  ],
  "created_at": "2025-07-31T07:55:36.858Z",
  "updated_at": "2025-07-31T07:55:36.858Z"
}