{
  "id": "mrhyddenn_weak-swan-50",
  "name": "weak-swan-50",
  "category": "buttons",
  "author": "mrhyddenn",
  "description": "weak-swan-50 组件 (button, animation, interactive)",
  "tags": [
    "button",
    "animation",
    "interactive"
  ],
  "original": {
    "html": "<button>\n    <span>Button</span><i></i>\n</button>",
    "css": "/* From Uiverse.io by mrhyddenn - Tags: button */\nbutton {\n  text-transform: uppercase;\n  letter-spacing: 0.1em;\n  padding: 10px 30px;\n  transition: 0.5s;\n  position: relative;\n  font-size: 17px;\n  background: #333;\n  border: none;\n  color: #fff;\n}\n\nbutton:hover {\n  letter-spacing: 0.25em;\n  background: #ff1867;\n  color: #ff1867;\n  box-shadow: 0 0 45px #ff1867;\n}\n\nbutton::before {\n  content: '';\n  position: absolute;\n  inset: 2px;\n  background: #222222;\n}\n\nbutton span {\n  position: relative;\n  z-index: 1;\n}\n\nbutton i {\n  position: absolute;\n  inset: 0;\n  display: block;\n}\n\nbutton i::before {\n  content: '';\n  position: absolute;\n  border: 2px solid #ff1867;\n  width: 7px;\n  height: 4px;\n  top: -3.5px;\n  left: 80%;\n  background: #222222;\n  transform: translateX(-50%);\n  transition: 0.5s;\n}\n\nbutton:hover i::before {\n  width: 20px;\n  left: 20%;\n}\n\nbutton i::after {\n  content: '';\n  position: absolute;\n  border: 2px solid #ff1867;\n  width: 7px;\n  height: 4px;\n  bottom: -3.5px;\n  left: 20%;\n  background: #222222;\n  transform: translateX(-50%);\n  transition: 0.5s;\n}\n\nbutton:hover i::after {\n  width: 20px;\n  left: 80%;\n}",
    "file_path": "/mnt/persist/workspace/Buttons/mrhyddenn_weak-swan-50.html"
  },
  "uniapp": {
    "template": "<button></button>\n    <text>Button</text><i></i>\n</button>",
    "script": "export default {\n  name: 'GalaxyWeakSwan50',\n  props: {\n    // 根据组件类型动态生成props\n  },\n  data() {\n    return {\n      // 组件状态\n    };\n  },\n  methods: {\n    // 组件方法\n  }\n}",
    "style": "\n/* From Uiverse.io by mrhyddenn - Tags: button */\nbutton {\n  text-transform: uppercase;\n  letter-spacing: 0.1em;\n  padding: 20rpx 60rpx;\n  transition: 0.5s;\n  position: relative;\n  font-size: 34rpx;\n  background: #333;\n  border: none;\n  color: #fff;\n}\n\nbutton:hover {\n  letter-spacing: 0.25em;\n  background: #ff1867;\n  color: #ff1867;\n  /* #ifdef H5 */\n  /* #ifdef H5 */\n  box-shadow: 0 0 90rpx #ff1867;\n  /* #endif */\n  /* #ifdef MP */\n  border: 1rpx solid rgba(0,0,0,0.1);\n  /* #endif */\n  /* #endif */\n}\n\nbutton::before {\n  content: '';\n  position: absolute;\n  inset: 4rpx;\n  background: #222222;\n}\n\nbutton span {\n  position: relative;\n  z-index: 1;\n}\n\nbutton i {\n  position: absolute;\n  inset: 0;\n  display: block;\n}\n\nbutton i::before {\n  content: '';\n  position: absolute;\n  border: 4rpx solid #ff1867;\n  width: 14rpx;\n  height: 8rpx;\n  top: -7rpx;\n  left: 80%;\n  background: #222222;\n  transform: translateX(-50%);\n  transition: 0.5s;\n}\n\nbutton:hover i::before {\n  width: 40rpx;\n  left: 20%;\n}\n\nbutton i::after {\n  content: '';\n  position: absolute;\n  border: 4rpx solid #ff1867;\n  width: 14rpx;\n  height: 8rpx;\n  bottom: -7rpx;\n  left: 20%;\n  background: #222222;\n  transform: translateX(-50%);\n  transition: 0.5s;\n}\n\nbutton:hover i::after {\n  width: 40rpx;\n  left: 80%;\n}\n",
    "component_name": "GalaxyWeakSwan50"
  },
  "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 属性"
      ],
      "alternatives": []
    },
    "mp-alipay": {
      "supported": true,
      "issues": [
        "不支持 box-shadow 属性"
      ],
      "alternatives": []
    },
    "app-plus": {
      "supported": true,
      "issues": [],
      "alternatives": []
    }
  },
  "performance": {
    "complexity": "medium",
    "bundle_size": 1182,
    "render_cost": "medium",
    "memory_usage": "medium"
  },
  "dependencies": [],
  "examples": [
    {
      "title": "",
      "description": "",
      "code": ""
    }
  ],
  "created_at": "2025-07-31T07:55:37.392Z",
  "updated_at": "2025-07-31T07:55:37.392Z"
}