{
  "id": "vinodjangid07_average-pig-54",
  "name": "average-pig-54",
  "category": "buttons",
  "author": "vinodjangid07",
  "description": "average-pig-54 组件 (animation, black, button, code, hover effect, interactive)",
  "tags": [
    "animation",
    "black",
    "button",
    "code",
    "hover effect",
    "interactive"
  ],
  "original": {
    "html": "<button class=\"button\">\n  <span class=\"bracket left\">❴</span>\n  <span class=\"text\">Code</span>\n  <span class=\"bracket right\">❵</span>\n</button>",
    "css": "/* From Uiverse.io by vinodjangid07  - Tags: animation, black, button, code, hover effect */\n.button {\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  gap: 5px;\n  height: 45px;\n  width: 45px;\n  border: none;\n  border-radius: 10px;\n  background-color: black;\n  cursor: pointer;\n  transition: all 0.3s;\n  overflow: hidden;\n}\n.bracket {\n  font-size: 18px;\n  transition: all 0.3s;\n  color: rgb(182, 104, 255);\n}\n.text {\n  font-size: 15px;\n  width: 0;\n  transform: scale(0);\n  transition: all 0.3s;\n  color: white;\n}\n.button:hover {\n  width: 100px;\n}\n.button:hover .text {\n  transform: scale(1);\n  width: 40px;\n}",
    "file_path": "/mnt/persist/workspace/Buttons/vinodjangid07_average-pig-54.html"
  },
  "uniapp": {
    "template": "<button class=\"button\"></button>\n  <text class=\"bracket left\">❴</text>\n  <text class=\"text\">Code</text>\n  <text class=\"bracket right\">❵</text>\n</button>",
    "script": "export default {\n  name: 'GalaxyAveragePig54',\n  props: {\n    // 根据组件类型动态生成props\n  },\n  data() {\n    return {\n      // 组件状态\n    };\n  },\n  methods: {\n    // 组件方法\n  }\n}",
    "style": "\n/* From Uiverse.io by vinodjangid07  - Tags: animation, black, button, code, hover effect */\n.button {\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  gap: 10rpx;\n  height: 90rpx;\n  width: 90rpx;\n  border: none;\n  border-radius: 20rpx;\n  background-color: black;\n  /* #ifdef H5 */\n  cursor: pointer;\n  /* #endif */\n  transition: all 0.3s;\n  overflow: hidden;\n}\n.bracket {\n  font-size: 36rpx;\n  transition: all 0.3s;\n  color: rgb(182, 104, 255);\n}\n.text {\n  font-size: 30rpx;\n  width: 0;\n  transform: scale(0);\n  transition: all 0.3s;\n  color: white;\n}\n.button:hover {\n  width: 200rpx;\n}\n.button:hover .text {\n  transform: scale(1);\n  width: 80rpx;\n}\n\n",
    "component_name": "GalaxyAveragePig54"
  },
  "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": 781,
    "render_cost": "medium",
    "memory_usage": "medium"
  },
  "dependencies": [],
  "examples": [
    {
      "title": "",
      "description": "",
      "code": ""
    }
  ],
  "created_at": "2025-07-31T07:55:38.027Z",
  "updated_at": "2025-07-31T07:55:38.027Z"
}