{
  "id": "Muhammad-Usman-911_heavy-moose-44",
  "name": "heavy-moose-44",
  "category": "buttons",
  "author": "Muhammad-Usman-911",
  "description": "heavy-moose-44 组件 (button, animation, gradient, interactive)",
  "tags": [
    "button",
    "animation",
    "gradient",
    "interactive"
  ],
  "original": {
    "html": "<a class=\"codepen-button\"><span class=\"span\"><p class=\"p\">Shop</p>\n    <svg xmlns=\"http://www.w3.org/2000/svg\" height=\"1em\" viewBox=\"0 0 576 512\" fill=\"#000\" class=\"cart\">\n      <path d=\"M0 24C0 10.7 10.7 0 24 0H69.5c22 0 41.5 12.8 50.6 32h411c26.3 0 45.5 25 38.6 50.4l-41 152.3c-8.5 31.4-37 53.3-69.5 53.3H170.7l5.4 28.5c2.2 11.3 12.1 19.5 23.6 19.5H488c13.3 0 24 10.7 24 24s-10.7 24-24 24H199.7c-34.6 0-64.3-24.6-70.7-58.5L77.4 54.5c-.7-3.8-4-6.5-7.9-6.5H24C10.7 48 0 37.3 0 24zM128 464a48 48 0 1 1 96 0 48 48 0 1 1 -96 0zm336-48a48 48 0 1 1 0 96 48 48 0 1 1 0-96z\"></path></svg></span></a>",
    "css": "/* From Uiverse.io by Muhammad-Usman-911  - Website: https://uiverse.io/SelfMadeSystem/strange-cobra-12 - Name: SelfMadeSystem - Tags: button */\n.codepen-button {\n  font-family: monospace;\n  font-weight: bolder;\n  display: block;\n  cursor: pointer;\n  color: #000;\n  margin: 0 auto;\n  position: relative;\n  text-decoration: none;\n  font-weight: 600;\n  border-radius: 6px;\n  overflow: hidden;\n  padding: 3px;\n  width: 130px;\n  isolation: isolate;\n  transform: scale(0.85);\n}\n\n.codepen-button::before {\n  content: \"\";\n  position: absolute;\n  top: 0;\n  left: 0;\n  width: 420%;\n  height: 120%;\n  background: linear-gradient(\n    115deg,\n    #628fbc,\n    hsl(0, 93%, 73%),\n    #f032a7,\n    #329af0,\n    #f032a7\n  );\n  background-size: 25% 100%;\n  animation: border-animation 0.75s linear infinite;\n  animation-play-state: paused;\n  translate: -5% 0%;\n  transition: translate 0.25s ease-out;\n}\n\n.codepen-button:hover::before {\n  animation-play-state: running;\n  transition-duration: 0.75s;\n  translate: 0% 0%;\n}\n\n@keyframes border-animation {\n  to {\n    transform: translateX(-25%);\n  }\n}\n\n.codepen-button span {\n  position: relative;\n  display: block;\n  padding: 1rem 1.5rem;\n  font-size: 1.1rem;\n  background: #fff;\n  border-radius: 3px;\n  height: 100%;\n}\n\n.codepen-button .span {\n  display: flex;\n  flex-direction: row;\n  justify-content: start;\n  align-items: center;\n  gap: 10px;\n}\n\n.codepen-button .p {\n  margin: 0;\n}",
    "file_path": "/mnt/persist/workspace/Buttons/Muhammad-Usman-911_heavy-moose-44.html"
  },
  "uniapp": {
    "template": "<navigator class=\"codepen-button\"></navigator><text class=\"span\"></text><text class=\"p\">Shop</text>\n    <view xmlns=\"http://www.w3.org/2000/svg\" height=\"1em\" viewBox=\"0 0 576 512\" fill=\"#000\" class=\"cart\"></view>\n      <path d=\"M0 24C0 10.7 10.7 0 24 0H69.5c22 0 41.5 12.8 50.6 32h411c26.3 0 45.5 25 38.6 50.4l-41 152.3c-8.5 31.4-37 53.3-69.5 53.3H170.7l5.4 28.5c2.2 11.3 12.1 19.5 23.6 19.5H488c13.3 0 24 10.7 24 24s-10.7 24-24 24H199.7c-34.6 0-64.3-24.6-70.7-58.5L77.4 54.5c-.7-3.8-4-6.5-7.9-6.5H24C10.7 48 0 37.3 0 24zM128 464a48 48 0 1 1 96 0 48 48 0 1 1 -96 0zm336-48a48 48 0 1 1 0 96 48 48 0 1 1 0-96z\"></path></svg></span></a>",
    "script": "export default {\n  name: 'GalaxyHeavyMoose44',\n  props: {\n    // 根据组件类型动态生成props\n  },\n  data() {\n    return {\n      // 组件状态\n    };\n  },\n  methods: {\n    // 组件方法\n  }\n}",
    "style": "\n/* From Uiverse.io by Muhammad-Usman-911  - Website: https://uiverse.io/SelfMadeSystem/strange-cobra-12 - Name: SelfMadeSystem - Tags: button */\n.codepen-button {\n  font-family: monospace;\n  font-weight: bolder;\n  display: block;\n  /* #ifdef H5 */\n  cursor: pointer;\n  /* #endif */\n  color: #000;\n  margin: 0 auto;\n  position: relative;\n  text-decoration: none;\n  font-weight: 600;\n  border-radius: 12rpx;\n  overflow: hidden;\n  padding: 6rpx;\n  width: 260rpx;\n  isolation: isolate;\n  transform: scale(0.85);\n}\n\n.codepen-button::before {\n  content: \"\";\n  position: absolute;\n  top: 0;\n  left: 0;\n  width: 420%;\n  height: 120%;\n  background: linear-gradient(\n    115deg,\n    #628fbc,\n    hsl(0, 93%, 73%),\n    #f032a7,\n    #329af0,\n    #f032a7\n  );\n  background-size: 25% 100%;\n  animation: border-animation 0.75s linear infinite;\n  animation-play-state: paused;\n  translate: -5% 0%;\n  transition: translate 0.25s ease-out;\n}\n\n.codepen-button:hover::before {\n  animation-play-state: running;\n  transition-duration: 0.75s;\n  translate: 0% 0%;\n}\n\n@keyframes border-animation {\n  to {\n    transform: translateX(-25%);\n  }\n}\n\n.codepen-button span {\n  position: relative;\n  display: block;\n  padding: 1rem 1.5rem;\n  font-size: 1.1rem;\n  background: #fff;\n  border-radius: 6rpx;\n  height: 100%;\n}\n\n.codepen-button .span {\n  display: flex;\n  flex-direction: row;\n  justify-content: start;\n  align-items: center;\n  gap: 20rpx;\n}\n\n.codepen-button .p {\n  margin: 0;\n}\n\n",
    "component_name": "GalaxyHeavyMoose44"
  },
  "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": 2018,
    "render_cost": "medium",
    "memory_usage": "medium"
  },
  "dependencies": [],
  "examples": [
    {
      "title": "",
      "description": "",
      "code": ""
    }
  ],
  "created_at": "2025-07-31T07:55:34.007Z",
  "updated_at": "2025-07-31T07:55:34.007Z"
}