{
  "id": "andrew-demchenk0_mighty-moose-66",
  "name": "mighty-moose-66",
  "category": "buttons",
  "author": "andrew-demchenk0",
  "description": "mighty-moose-66 组件 (green, button, add, animation, interactive)",
  "tags": [
    "green",
    "button",
    "add",
    "animation",
    "interactive"
  ],
  "original": {
    "html": "<button type=\"button\" class=\"button\">\n  <span class=\"button__text\">Add Item</span>\n  <span class=\"button__icon\"><svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" viewBox=\"0 0 24 24\" stroke-width=\"2\" stroke-linejoin=\"round\" stroke-linecap=\"round\" stroke=\"currentColor\" height=\"24\" fill=\"none\" class=\"svg\"><line y2=\"19\" y1=\"5\" x2=\"12\" x1=\"12\"></line><line y2=\"12\" y1=\"12\" x2=\"19\" x1=\"5\"></line></svg></span>\n</button>",
    "css": "/* From Uiverse.io by andrew-demchenk0 - Tags: green, button, add */\n.button {\n  position: relative;\n  width: 150px;\n  height: 40px;\n  cursor: pointer;\n  display: flex;\n  align-items: center;\n  border: 1px solid #34974d;\n  background-color: #3aa856;\n}\n\n.button, .button__icon, .button__text {\n  transition: all 0.3s;\n}\n\n.button .button__text {\n  transform: translateX(30px);\n  color: #fff;\n  font-weight: 600;\n}\n\n.button .button__icon {\n  position: absolute;\n  transform: translateX(109px);\n  height: 100%;\n  width: 39px;\n  background-color: #34974d;\n  display: flex;\n  align-items: center;\n  justify-content: center;\n}\n\n.button .svg {\n  width: 30px;\n  stroke: #fff;\n}\n\n.button:hover {\n  background: #34974d;\n}\n\n.button:hover .button__text {\n  color: transparent;\n}\n\n.button:hover .button__icon {\n  width: 148px;\n  transform: translateX(0);\n}\n\n.button:active .button__icon {\n  background-color: #2e8644;\n}\n\n.button:active {\n  border: 1px solid #2e8644;\n}",
    "file_path": "/mnt/persist/workspace/Buttons/andrew-demchenk0_mighty-moose-66.html"
  },
  "uniapp": {
    "template": "<button type=\"button\" class=\"button\"></button>\n  <text class=\"button__text\">Add Item</text>\n  <text class=\"button__icon\"><view xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" viewBox=\"0 0 24 24\" stroke-width=\"2\" stroke-linejoin=\"round\" stroke-linecap=\"round\" stroke=\"currentColor\" height=\"24\" fill=\"none\" class=\"svg\"><line y2=\"19\" y1=\"5\" x2=\"12\" x1=\"12\"></line><line y2=\"12\" y1=\"12\" x2=\"19\" x1=\"5\"></line></view></text>\n</button>",
    "script": "export default {\n  name: 'GalaxyMightyMoose66',\n  props: {\n    // 根据组件类型动态生成props\n  },\n  data() {\n    return {\n      // 组件状态\n    };\n  },\n  methods: {\n    // 组件方法\n  }\n}",
    "style": "\n/* From Uiverse.io by andrew-demchenk0 - Tags: green, button, add */\n.button {\n  position: relative;\n  width: 300rpx;\n  height: 80rpx;\n  /* #ifdef H5 */\n  cursor: pointer;\n  /* #endif */\n  display: flex;\n  align-items: center;\n  border: 2rpx solid #34974d;\n  background-color: #3aa856;\n}\n\n.button, .button__icon, .button__text {\n  transition: all 0.3s;\n}\n\n.button .button__text {\n  transform: translateX(60rpx);\n  color: #fff;\n  font-weight: 600;\n}\n\n.button .button__icon {\n  position: absolute;\n  transform: translateX(218rpx);\n  height: 100%;\n  width: 78rpx;\n  background-color: #34974d;\n  display: flex;\n  align-items: center;\n  justify-content: center;\n}\n\n.button .svg {\n  width: 60rpx;\n  stroke: #fff;\n}\n\n.button:hover {\n  background: #34974d;\n}\n\n.button:hover .button__text {\n  color: transparent;\n}\n\n.button:hover .button__icon {\n  width: 296rpx;\n  transform: translateX(0);\n}\n\n.button:active .button__icon {\n  background-color: #2e8644;\n}\n\n.button:active {\n  border: 2rpx solid #2e8644;\n}\n",
    "component_name": "GalaxyMightyMoose66"
  },
  "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": 1374,
    "render_cost": "medium",
    "memory_usage": "medium"
  },
  "dependencies": [],
  "examples": [
    {
      "title": "",
      "description": "",
      "code": ""
    }
  ],
  "created_at": "2025-07-31T07:55:35.659Z",
  "updated_at": "2025-07-31T07:55:35.659Z"
}