{
  "id": "Yaya12085_plastic-quail-42",
  "name": "plastic-quail-42",
  "category": "buttons",
  "author": "Yaya12085",
  "description": "plastic-quail-42 组件 (button, design, hover button, gradient, interactive)",
  "tags": [
    "button",
    "design",
    "hover button",
    "gradient",
    "interactive"
  ],
  "original": {
    "html": "<button class=\"button\">\n    <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 36 24\">\n        <path d=\"m18 0 8 12 10-8-4 20H4L0 4l10 8 8-12z\"></path>\n    </svg>\n    Unlock Pro\n</button>",
    "css": "/* From Uiverse.io by Yaya12085 - Source: https://uiverse.io/satyamchaudharydev/great-seahorse-44 - Tags: button, design, hover button */\n.button {\n  width: fit-content;\n  display: flex;\n  padding: 1.2em 1rem;\n  cursor: pointer;\n  gap: 0.4rem;\n  font-weight: bold;\n  border-radius: 30px;\n  text-shadow: 2px 2px 3px rgb(136 0 136 / 50%);\n  background: linear-gradient(15deg, #880088, #aa2068, #cc3f47, #de6f3d, #f09f33, #de6f3d, #cc3f47, #aa2068, #880088) no-repeat;\n  background-size: 300%;\n  color: #fff;\n  border: none;\n  background-position: left center;\n  box-shadow: 0 30px 10px -20px rgba(0,0,0,.2);\n  transition: background .3s ease;\n}\n\n.button:hover {\n  background-size: 320%;\n  background-position: right center;\n}\n\n.button:hover svg {\n  fill: #fff;\n}\n\n.button svg {\n  width: 23px;\n  fill: #f09f33;\n  transition: .3s ease;\n}",
    "file_path": "/mnt/persist/workspace/Buttons/Yaya12085_plastic-quail-42.html"
  },
  "uniapp": {
    "template": "<button class=\"button\"></button>\n    <view xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 36 24\"></view>\n        <path d=\"m18 0 8 12 10-8-4 20H4L0 4l10 8 8-12z\"></path>\n    </svg>\n    Unlock Pro\n</button>",
    "script": "export default {\n  name: 'GalaxyPlasticQuail42',\n  props: {\n    // 根据组件类型动态生成props\n  },\n  data() {\n    return {\n      // 组件状态\n    };\n  },\n  methods: {\n    // 组件方法\n  }\n}",
    "style": "\n/* From Uiverse.io by Yaya12085 - Source: https://uiverse.io/satyamchaudharydev/great-seahorse-44 - Tags: button, design, hover button */\n.button {\n  width: fit-content;\n  display: flex;\n  padding: 1.2em 1rem;\n  /* #ifdef H5 */\n  cursor: pointer;\n  /* #endif */\n  gap: 0.4rem;\n  font-weight: bold;\n  border-radius: 60rpx;\n  /* #ifdef H5 */\n  text-shadow: 4rpx 4rpx 6rpx rgb(136 0 136 / 50%);\n  /* #endif */\n  background: linear-gradient(15deg, #880088, #aa2068, #cc3f47, #de6f3d, #f09f33, #de6f3d, #cc3f47, #aa2068, #880088) no-repeat;\n  background-size: 300%;\n  color: #fff;\n  border: none;\n  background-position: left center;\n  /* #ifdef H5 */\n  /* #ifdef H5 */\n  box-shadow: 0 60rpx 20rpx -40rpx rgba(0,0,0,.2);\n  /* #endif */\n  /* #ifdef MP */\n  border: 1rpx solid rgba(0,0,0,0.1);\n  /* #endif */\n  /* #endif */\n  transition: background .3s ease;\n}\n\n.button:hover {\n  background-size: 320%;\n  background-position: right center;\n}\n\n.button:hover svg {\n  fill: #fff;\n}\n\n.button svg {\n  width: 46rpx;\n  fill: #f09f33;\n  transition: .3s ease;\n}\n",
    "component_name": "GalaxyPlasticQuail42"
  },
  "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 属性",
        "不支持 text-shadow 属性",
        "不支持 cursor 属性"
      ],
      "alternatives": []
    },
    "mp-alipay": {
      "supported": true,
      "issues": [
        "不支持 box-shadow 属性",
        "不支持 text-shadow 属性",
        "不支持 cursor 属性"
      ],
      "alternatives": []
    },
    "app-plus": {
      "supported": true,
      "issues": [],
      "alternatives": []
    }
  },
  "performance": {
    "complexity": "low",
    "bundle_size": 1025,
    "render_cost": "low",
    "memory_usage": "low"
  },
  "dependencies": [],
  "examples": [
    {
      "title": "",
      "description": "",
      "code": ""
    }
  ],
  "created_at": "2025-07-31T07:55:35.229Z",
  "updated_at": "2025-07-31T07:55:35.229Z"
}