{
  "id": "barisdogansutcu_average-chipmunk-44",
  "name": "average-chipmunk-44",
  "category": "buttons",
  "author": "barisdogansutcu",
  "description": "average-chipmunk-44 组件 (button, animation, interactive)",
  "tags": [
    "button",
    "animation",
    "interactive"
  ],
  "original": {
    "html": "<button>\n  <span>PLAY NOW</span>\n</button>",
    "css": "/* From Uiverse.io by barisdogansutcu - Tags: button */\nbutton {\n border: none;\n position: relative;\n width: 200px;\n height: 73px;\n padding: 0;\n z-index: 2;\n -webkit-mask: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='868' width='2500' viewBox='0 0 726 252.17'%3E%3Cpath d='M483.92 0S481.38 24.71 466 40.11c-11.74 11.74-24.09 12.66-40.26 15.07-9.42 1.41-29.7 3.77-34.81-.79-2.37-2.11-3-21-3.22-27.62-.21-6.92-1.36-16.52-2.82-18-.75 3.06-2.49 11.53-3.09 13.61S378.49 34.3 378 36a85.13 85.13 0 0 0-30.09 0c-.46-1.67-3.17-11.48-3.77-13.56s-2.34-10.55-3.09-13.61c-1.45 1.45-2.61 11.05-2.82 18-.21 6.67-.84 25.51-3.22 27.62-5.11 4.56-25.38 2.2-34.8.79-16.16-2.47-28.51-3.39-40.21-15.13C244.57 24.71 242 0 242 0H0s69.52 22.74 97.52 68.59c16.56 27.11 14.14 58.49 9.92 74.73C170 140 221.46 140 273 158.57c69.23 24.93 83.2 76.19 90 93.6 6.77-17.41 20.75-68.67 90-93.6 51.54-18.56 103-18.59 165.56-15.25-4.21-16.24-6.63-47.62 9.93-74.73C656.43 22.74 726 0 726 0z'/%3E%3C/svg%3E\") no-repeat 50% 50%;\n mask: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='868' width='2500' viewBox='0 0 726 252.17'%3E%3Cpath d='M483.92 0S481.38 24.71 466 40.11c-11.74 11.74-24.09 12.66-40.26 15.07-9.42 1.41-29.7 3.77-34.81-.79-2.37-2.11-3-21-3.22-27.62-.21-6.92-1.36-16.52-2.82-18-.75 3.06-2.49 11.53-3.09 13.61S378.49 34.3 378 36a85.13 85.13 0 0 0-30.09 0c-.46-1.67-3.17-11.48-3.77-13.56s-2.34-10.55-3.09-13.61c-1.45 1.45-2.61 11.05-2.82 18-.21 6.67-.84 25.51-3.22 27.62-5.11 4.56-25.38 2.2-34.8.79-16.16-2.47-28.51-3.39-40.21-15.13C244.57 24.71 242 0 242 0H0s69.52 22.74 97.52 68.59c16.56 27.11 14.14 58.49 9.92 74.73C170 140 221.46 140 273 158.57c69.23 24.93 83.2 76.19 90 93.6 6.77-17.41 20.75-68.67 90-93.6 51.54-18.56 103-18.59 165.56-15.25-4.21-16.24-6.63-47.62 9.93-74.73C656.43 22.74 726 0 726 0z'/%3E%3C/svg%3E\") no-repeat 50% 50%;\n -webkit-mask-size: 100%;\n cursor: pointer;\n background-color: transparent;\n transform: translateY(8px)\n}\n\nbutton:after {\n content: '';\n position: absolute;\n left: 0;\n right: 0;\n bottom: 0;\n box-shadow: 0px 0 0 0 white;\n transition: all 2s ease;\n}\n\nbutton:hover:after {\n box-shadow: 0px -13px 56px 12px #ffffffa6;\n}\n\nbutton span {\n position: absolute;\n width: 100%;\n font-size: 15px;\n font-weight: 100;\n left: 50%;\n top: 39%;\n letter-spacing: 3px;\n text-align: center;\n transform: translate(-50%,-50%);\n color: black;\n transition: all 2s ease;\n}\n\nbutton:hover span {\n color: white;\n}\n\nbutton:before {\n content: '';\n position: absolute;\n width: 0;\n height: 100%;\n background-color: black;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n transition: all 1s ease;\n}\n\nbutton:hover:before {\n width: 100%;\n}",
    "file_path": "/mnt/persist/workspace/Buttons/barisdogansutcu_average-chipmunk-44.html"
  },
  "uniapp": {
    "template": "<button></button>\n  <text>PLAY NOW</text>\n</button>",
    "script": "export default {\n  name: 'GalaxyAverageChipmunk44',\n  props: {\n    // 根据组件类型动态生成props\n  },\n  data() {\n    return {\n      // 组件状态\n    };\n  },\n  methods: {\n    // 组件方法\n  }\n}",
    "style": "\n/* From Uiverse.io by barisdogansutcu - Tags: button */\nbutton {\n border: none;\n position: relative;\n width: 400rpx;\n height: 146rpx;\n padding: 0;\n z-index: 2;\n -webkit-\n \n -webkit-mask-size: 100%;\n /* #ifdef H5 */\n  cursor: pointer;\n  /* #endif */\n background-color: transparent;\n transform: translateY(16rpx)\n}\n\nbutton:after {\n content: '';\n position: absolute;\n left: 0;\n right: 0;\n bottom: 0;\n /* #ifdef H5 */\n  /* #ifdef H5 */\n  box-shadow: 0rpx 0 0 0 white;\n  /* #endif */\n  /* #ifdef MP */\n  border: 1rpx solid rgba(0,0,0,0.1);\n  /* #endif */\n  /* #endif */\n transition: all 2s ease;\n}\n\nbutton:hover:after {\n /* #ifdef H5 */\n  /* #ifdef H5 */\n  box-shadow: 0rpx -26rpx 112rpx 24rpx #ffffffa6;\n  /* #endif */\n  /* #ifdef MP */\n  border: 1rpx solid rgba(0,0,0,0.1);\n  /* #endif */\n  /* #endif */\n}\n\nbutton span {\n position: absolute;\n width: 100%;\n font-size: 30rpx;\n font-weight: 100;\n left: 50%;\n top: 39%;\n letter-spacing: 6rpx;\n text-align: center;\n transform: translate(-50%,-50%);\n color: black;\n transition: all 2s ease;\n}\n\nbutton:hover span {\n color: white;\n}\n\nbutton:before {\n content: '';\n position: absolute;\n width: 0;\n height: 100%;\n background-color: black;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n transition: all 1s ease;\n}\n\nbutton:hover:before {\n width: 100%;\n}\n\n\n",
    "component_name": "GalaxyAverageChipmunk44"
  },
  "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": [
        "不支持 box-shadow 属性",
        "不支持 mask 属性",
        "不支持 cursor 属性"
      ],
      "alternatives": []
    },
    "mp-alipay": {
      "supported": true,
      "issues": [
        "不支持 box-shadow 属性",
        "不支持 mask 属性",
        "不支持 cursor 属性"
      ],
      "alternatives": []
    },
    "app-plus": {
      "supported": true,
      "issues": [],
      "alternatives": []
    }
  },
  "performance": {
    "complexity": "medium",
    "bundle_size": 2729,
    "render_cost": "medium",
    "memory_usage": "medium"
  },
  "dependencies": [],
  "examples": [
    {
      "title": "",
      "description": "",
      "code": ""
    }
  ],
  "created_at": "2025-07-31T07:55:35.836Z",
  "updated_at": "2025-07-31T07:55:35.836Z"
}