{
  "id": "JohnnyCSilva_brave-cougar-40",
  "name": "brave-cougar-40",
  "category": "buttons",
  "author": "JohnnyCSilva",
  "description": "brave-cougar-40 组件 (button, animation, interactive)",
  "tags": [
    "button",
    "animation",
    "interactive"
  ],
  "original": {
    "html": "<button class=\"btn\">Button \n  <span class=\"icon-right\"></span>\n  <span class=\"icon-right after\"></span>\n</button>",
    "css": "/* From Uiverse.io by JohnnyCSilva - Tags: button */\nbutton {\n  font-family: 'Poppins', sans-serif;\n  letter-spacing: 2px;\n  background: none;\n  color: white;\n  position: relative;\n  outline: none;\n  border: none;\n  height: 50px;\n  width: 190px;\n  font-size: 14px;\n  z-index: 2;\n  transition: 0.01s 0.23s ease-out all;\n  overflow: hidden;\n}\n\nbutton:before {\n  content: \"\";\n  position: absolute;\n  left: 0;\n  top: 0;\n  height: 100%;\n  width: 55%;\n  background: #303030;\n  z-index: -1;\n  transition: 0.3s ease-in all;\n}\n\nbutton:after {\n  content: \"\";\n  position: absolute;\n  left: -5%;\n  top: 5%;\n  height: 90%;\n  width: 5%;\n  background: white;\n  transition: 0.4s 0.02s ease-in all;\n}\n\nbutton:hover {\n  cursor: pointer;\n  color: transparent;\n}\n\nbutton:hover:before {\n  left: 120%;\n  width: 25%;\n}\n\nbutton:hover:after {\n  left: 100%;\n  width: 70%;\n}\n\nbutton:hover > .icon-right.after:after {\n  left: -80px;\n  color: white;\n  transition: 0.2s 0.2s ease all;\n}\n\nbutton:hover > .icon-right.after:before {\n  left: -104px;\n  top: 14px;\n  opacity: 0.2;\n  color: white;\n}\n\n.icon-right {\n  position: absolute;\n  top: 0;\n  right: 0;\n}\n\n.icon-right:after {\n  font-family: \"FontAwesome\";\n  content: \"→\";\n  font-size: 24px;\n  display: inline-block;\n  position: relative;\n  top: 26px;\n  transform: translate3D(0, -55%, 0);\n}\n\n.icon-right.after:after {\n  left: -250px;\n  color: black;\n  transition: 0.15s 0.25s ease left, 0.5s 0.05s ease color;\n}\n\n.icon-right.after:before {\n  content: \"Click Me!\";\n  position: absolute;\n  left: -230px;\n  top: 14px;\n  opacity: 0;\n  transition: 0.2s ease-in all;\n}\n\n.signature {\n  position: fixed;\n  font-family: sans-serif;\n  font-weight: 100;\n  bottom: 10px;\n  left: 0;\n  letter-spacing: 4px;\n  font-size: 10px;\n  width: 100%;\n  text-align: center;\n  color: white;\n  text-transform: uppercase;\n  text-decoration: none;\n}",
    "file_path": "/mnt/persist/workspace/Buttons/JohnnyCSilva_brave-cougar-40.html"
  },
  "uniapp": {
    "template": "<button class=\"btn\"></button>Button \n  <text class=\"icon-right\"></text>\n  <text class=\"icon-right after\"></text>\n</button>",
    "script": "export default {\n  name: 'GalaxyBraveCougar40',\n  props: {\n    // 根据组件类型动态生成props\n  },\n  data() {\n    return {\n      // 组件状态\n    };\n  },\n  methods: {\n    // 组件方法\n  }\n}",
    "style": "\n/* From Uiverse.io by JohnnyCSilva - Tags: button */\nbutton {\n  font-family: 'Poppins', sans-serif;\n  letter-spacing: 4rpx;\n  background: none;\n  color: white;\n  position: relative;\n  outline: none;\n  border: none;\n  height: 100rpx;\n  width: 380rpx;\n  font-size: 28rpx;\n  z-index: 2;\n  transition: 0.01s 0.23s ease-out all;\n  overflow: hidden;\n}\n\nbutton:before {\n  content: \"\";\n  position: absolute;\n  left: 0;\n  top: 0;\n  height: 100%;\n  width: 55%;\n  background: #303030;\n  z-index: -1;\n  transition: 0.3s ease-in all;\n}\n\nbutton:after {\n  content: \"\";\n  position: absolute;\n  left: -5%;\n  top: 5%;\n  height: 90%;\n  width: 5%;\n  background: white;\n  transition: 0.4s 0.02s ease-in all;\n}\n\nbutton:hover {\n  /* #ifdef H5 */\n  cursor: pointer;\n  /* #endif */\n  color: transparent;\n}\n\nbutton:hover:before {\n  left: 120%;\n  width: 25%;\n}\n\nbutton:hover:after {\n  left: 100%;\n  width: 70%;\n}\n\nbutton:hover > .icon-right.after:after {\n  left: -160rpx;\n  color: white;\n  transition: 0.2s 0.2s ease all;\n}\n\nbutton:hover > .icon-right.after:before {\n  left: -208rpx;\n  top: 28rpx;\n  opacity: 0.2;\n  color: white;\n}\n\n.icon-right {\n  position: absolute;\n  top: 0;\n  right: 0;\n}\n\n.icon-right:after {\n  font-family: \"FontAwesome\";\n  content: \"→\";\n  font-size: 48rpx;\n  display: inline-block;\n  position: relative;\n  top: 52rpx;\n  transform: translate3D(0, -55%, 0);\n}\n\n.icon-right.after:after {\n  left: -500rpx;\n  color: black;\n  transition: 0.15s 0.25s ease left, 0.5s 0.05s ease color;\n}\n\n.icon-right.after:before {\n  content: \"Click Me!\";\n  position: absolute;\n  left: -460rpx;\n  top: 28rpx;\n  opacity: 0;\n  transition: 0.2s ease-in all;\n}\n\n.signature {\n  position: fixed;\n  font-family: sans-serif;\n  font-weight: 100;\n  bottom: 20rpx;\n  left: 0;\n  letter-spacing: 8rpx;\n  font-size: 20rpx;\n  width: 100%;\n  text-align: center;\n  color: white;\n  text-transform: uppercase;\n  text-decoration: none;\n}\n",
    "component_name": "GalaxyBraveCougar40"
  },
  "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": "high",
    "bundle_size": 1956,
    "render_cost": "high",
    "memory_usage": "high"
  },
  "dependencies": [],
  "examples": [
    {
      "title": "",
      "description": "",
      "code": ""
    }
  ],
  "created_at": "2025-07-31T07:55:33.581Z",
  "updated_at": "2025-07-31T07:55:33.581Z"
}