{
  "id": "Peary74_ugly-ape-46",
  "name": "ugly-ape-46",
  "category": "buttons",
  "author": "Peary74",
  "description": "ugly-ape-46 组件 (button, hover, active, animation, interactive)",
  "tags": [
    "button",
    "hover",
    "active",
    "animation",
    "interactive"
  ],
  "original": {
    "html": "<button class=\"btn\">\n <svg class=\"icon\" width=\"30\" height=\"30\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M12,21.35L10.55,20.03C5.4,15.36 2,12.27 2,8.5C2,5.41 4.42,3 7.5,3C9.24,3 10.91,3.81 12,5.08C13.09,3.81 14.76,3 16.5,3C19.58,3 22,5.41 22,8.5C22,12.27 18.6,15.36 13.45,20.03L12,21.35Z\"></path></svg>\n</button>",
    "css": "/* From Uiverse.io by Peary74 - Tags: button, hover, active */\n.btn {\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  border-radius: 10px;\n  border: none;\n  background-color: transparent;\n  position: relative;\n}\n\n.btn:hover > .icon {\n  transform: scale(1.2);\n  cursor: pointer;\n  transition: .2s linear;\n}\n\n.btn:focus > .icon {\n  fill: #fd1853;\n  animation: grosseur .2s linear;\n}\n\n@keyframes grosseur {\n  0% {\n    width: 50px;\n    height: 50px;\n    fill: #fd1853;\n  }\n\n  100% {\n    width: 30px;\n    height: 30px;\n    fill: #fd1853;\n  }\n}",
    "file_path": "/mnt/persist/workspace/Buttons/Peary74_ugly-ape-46.html"
  },
  "uniapp": {
    "template": "<button class=\"btn\"></button>\n <view class=\"icon\" width=\"30\" height=\"30\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M12,21.35L10.55,20.03C5.4,15.36 2,12.27 2,8.5C2,5.41 4.42,3 7.5,3C9.24,3 10.91,3.81 12,5.08C13.09,3.81 14.76,3 16.5,3C19.58,3 22,5.41 22,8.5C22,12.27 18.6,15.36 13.45,20.03L12,21.35Z\"></path></view>\n</button>",
    "script": "export default {\n  name: 'GalaxyUglyApe46',\n  props: {\n    // 根据组件类型动态生成props\n  },\n  data() {\n    return {\n      // 组件状态\n    };\n  },\n  methods: {\n    // 组件方法\n  }\n}",
    "style": "\n/* From Uiverse.io by Peary74 - Tags: button, hover, active */\n.btn {\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  border-radius: 20rpx;\n  border: none;\n  background-color: transparent;\n  position: relative;\n}\n\n.btn:hover > .icon {\n  transform: scale(1.2);\n  /* #ifdef H5 */\n  cursor: pointer;\n  /* #endif */\n  transition: .2s linear;\n}\n\n.btn:focus > .icon {\n  fill: #fd1853;\n  animation: grosseur .2s linear;\n}\n\n@keyframes grosseur {\n  0% {\n    width: 100rpx;\n    height: 100rpx;\n    fill: #fd1853;\n  }\n\n  100% {\n    width: 60rpx;\n    height: 60rpx;\n    fill: #fd1853;\n  }\n}\n\n\n\n\n\n\n",
    "component_name": "GalaxyUglyApe46"
  },
  "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": 903,
    "render_cost": "medium",
    "memory_usage": "medium"
  },
  "dependencies": [],
  "examples": [
    {
      "title": "",
      "description": "",
      "code": ""
    }
  ],
  "created_at": "2025-07-31T07:55:34.208Z",
  "updated_at": "2025-07-31T07:55:34.208Z"
}