{
  "id": "andrew-demchenk0_tasty-yak-79",
  "name": "tasty-yak-79",
  "category": "buttons",
  "author": "andrew-demchenk0",
  "description": "tasty-yak-79 组件 (button, animation, interactive)",
  "tags": [
    "button",
    "animation",
    "interactive"
  ],
  "original": {
    "html": "<button class=\"button\" type=\"button\">\n  <span class=\"button__text\">Download</span>\n  <span class=\"button__icon\"><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 35 35\" id=\"bdd05811-e15d-428c-bb53-8661459f9307\" data-name=\"Layer 2\" class=\"svg\"><path d=\"M17.5,22.131a1.249,1.249,0,0,1-1.25-1.25V2.187a1.25,1.25,0,0,1,2.5,0V20.881A1.25,1.25,0,0,1,17.5,22.131Z\"></path><path d=\"M17.5,22.693a3.189,3.189,0,0,1-2.262-.936L8.487,15.006a1.249,1.249,0,0,1,1.767-1.767l6.751,6.751a.7.7,0,0,0,.99,0l6.751-6.751a1.25,1.25,0,0,1,1.768,1.767l-6.752,6.751A3.191,3.191,0,0,1,17.5,22.693Z\"></path><path d=\"M31.436,34.063H3.564A3.318,3.318,0,0,1,.25,30.749V22.011a1.25,1.25,0,0,1,2.5,0v8.738a.815.815,0,0,0,.814.814H31.436a.815.815,0,0,0,.814-.814V22.011a1.25,1.25,0,1,1,2.5,0v8.738A3.318,3.318,0,0,1,31.436,34.063Z\"></path></svg></span>\n</button>",
    "css": "/* From Uiverse.io by andrew-demchenk0 - Tags: button */\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 #17795E;\n  background-color: #209978;\n  overflow: hidden;\n}\n\n.button, .button__icon, .button__text {\n  transition: all 0.3s;\n}\n\n.button .button__text {\n  transform: translateX(22px);\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: #17795E;\n  display: flex;\n  align-items: center;\n  justify-content: center;\n}\n\n.button .svg {\n  width: 20px;\n  fill: #fff;\n}\n\n.button:hover {\n  background: #17795E;\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: #146c54;\n}\n\n.button:active {\n  border: 1px solid #146c54;\n}",
    "file_path": "/mnt/persist/workspace/Buttons/andrew-demchenk0_tasty-yak-79.html"
  },
  "uniapp": {
    "template": "<button class=\"button\" type=\"button\"></button>\n  <text class=\"button__text\">Download</text>\n  <text class=\"button__icon\"><view xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 35 35\" id=\"bdd05811-e15d-428c-bb53-8661459f9307\" data-name=\"Layer 2\" class=\"svg\"><path d=\"M17.5,22.131a1.249,1.249,0,0,1-1.25-1.25V2.187a1.25,1.25,0,0,1,2.5,0V20.881A1.25,1.25,0,0,1,17.5,22.131Z\"></path><path d=\"M17.5,22.693a3.189,3.189,0,0,1-2.262-.936L8.487,15.006a1.249,1.249,0,0,1,1.767-1.767l6.751,6.751a.7.7,0,0,0,.99,0l6.751-6.751a1.25,1.25,0,0,1,1.768,1.767l-6.752,6.751A3.191,3.191,0,0,1,17.5,22.693Z\"></path><path d=\"M31.436,34.063H3.564A3.318,3.318,0,0,1,.25,30.749V22.011a1.25,1.25,0,0,1,2.5,0v8.738a.815.815,0,0,0,.814.814H31.436a.815.815,0,0,0,.814-.814V22.011a1.25,1.25,0,1,1,2.5,0v8.738A3.318,3.318,0,0,1,31.436,34.063Z\"></path></view></text>\n</button>",
    "script": "export default {\n  name: 'GalaxyTastyYak79',\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: button */\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 #17795E;\n  background-color: #209978;\n  overflow: hidden;\n}\n\n.button, .button__icon, .button__text {\n  transition: all 0.3s;\n}\n\n.button .button__text {\n  transform: translateX(44rpx);\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: #17795E;\n  display: flex;\n  align-items: center;\n  justify-content: center;\n}\n\n.button .svg {\n  width: 40rpx;\n  fill: #fff;\n}\n\n.button:hover {\n  background: #17795E;\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: #146c54;\n}\n\n.button:active {\n  border: 2rpx solid #146c54;\n}\n",
    "component_name": "GalaxyTastyYak79"
  },
  "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": 1796,
    "render_cost": "medium",
    "memory_usage": "medium"
  },
  "dependencies": [],
  "examples": [
    {
      "title": "",
      "description": "",
      "code": ""
    }
  ],
  "created_at": "2025-07-31T07:55:35.723Z",
  "updated_at": "2025-07-31T07:55:35.723Z"
}