{
  "id": "eslam-hany_grumpy-elephant-48",
  "name": "grumpy-elephant-48",
  "category": "buttons",
  "author": "eslam-hany",
  "description": "grumpy-elephant-48 组件 (button, animation, gradient, interactive)",
  "tags": [
    "button",
    "animation",
    "gradient",
    "interactive"
  ],
  "original": {
    "html": "<button class=\"btn\">\n  Button\n</button>",
    "css": "/* From Uiverse.io by eslam-hany - Tags: button */\n.btn {\n  position: relative;\n  padding: 10px 50px;\n  font-size: 20px;\n  border: 1px solid #002B5B;\n  text-transform: uppercase;\n  cursor: pointer;\n  border-radius: 15px;\n  transition: all 0.5s;\n  z-index: 1;\n}\n\n.btn:hover {\n  transform: scale(1.1);\n  color: #fff;\n  transition: all 0.5s;\n}\n\n.btn::after {\n  position: absolute;\n  content: \"\";\n  top: 50%;\n  left: 50%;\n  width: 0%;\n  height: 100%;\n  border-radius: 15px;\n  background: linear-gradient(#002B5b,#EA5455);\n  transition: all 0.5s;\n  z-index: -1;\n}\n\n.btn:hover::after {\n  top: 0%;\n  left: 0%;\n  width: 100%;\n  transition: all 0.5s;\n}",
    "file_path": "/mnt/persist/workspace/Buttons/eslam-hany_grumpy-elephant-48.html"
  },
  "uniapp": {
    "template": "<button class=\"btn\"></button>\n  Button\n</button>",
    "script": "export default {\n  name: 'GalaxyGrumpyElephant48',\n  props: {\n    // 根据组件类型动态生成props\n  },\n  data() {\n    return {\n      // 组件状态\n    };\n  },\n  methods: {\n    // 组件方法\n  }\n}",
    "style": "\n/* From Uiverse.io by eslam-hany - Tags: button */\n.btn {\n  position: relative;\n  padding: 20rpx 100rpx;\n  font-size: 40rpx;\n  border: 2rpx solid #002B5B;\n  text-transform: uppercase;\n  /* #ifdef H5 */\n  cursor: pointer;\n  /* #endif */\n  border-radius: 30rpx;\n  transition: all 0.5s;\n  z-index: 1;\n}\n\n.btn:hover {\n  transform: scale(1.1);\n  color: #fff;\n  transition: all 0.5s;\n}\n\n.btn::after {\n  position: absolute;\n  content: \"\";\n  top: 50%;\n  left: 50%;\n  width: 0%;\n  height: 100%;\n  border-radius: 30rpx;\n  background: linear-gradient(#002B5b,#EA5455);\n  transition: all 0.5s;\n  z-index: -1;\n}\n\n.btn:hover::after {\n  top: 0%;\n  left: 0%;\n  width: 100%;\n  transition: all 0.5s;\n}\n",
    "component_name": "GalaxyGrumpyElephant48"
  },
  "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": 686,
    "render_cost": "medium",
    "memory_usage": "medium"
  },
  "dependencies": [],
  "examples": [
    {
      "title": "",
      "description": "",
      "code": ""
    }
  ],
  "created_at": "2025-07-31T07:55:36.652Z",
  "updated_at": "2025-07-31T07:55:36.652Z"
}