{
  "id": "vinodjangid07_strange-penguin-42",
  "name": "strange-penguin-42",
  "category": "buttons",
  "author": "vinodjangid07",
  "description": "strange-penguin-42 组件 (link, button, hover, active, hover effect, pro, upgrade, redirect, animation, interactive)",
  "tags": [
    "link",
    "button",
    "hover",
    "active",
    "hover effect",
    "pro",
    "upgrade",
    "redirect",
    "animation",
    "interactive"
  ],
  "original": {
    "html": "<button class=\"Btn-container\">\n  <span class=\"inner-wrapper\">\n    <span class=\"text\">\n      <p>Upgrade to</p>\n      <p class=\"pro\">PRO</p>\n    </span>\n    <span class=\"icon\">\n      <svg viewBox=\"0 0 384 512\" xmlns=\"http://www.w3.org/2000/svg\">\n        <path d=\"M214.6 41.4c-12.5-12.5-32.8-12.5-45.3 0l-160 160c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L160 141.2V448c0 17.7 14.3 32 32 32s32-14.3 32-32V141.2L329.4 246.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-160-160z\"></path>\n      </svg>\n    </span>\n  </span>\n</button>",
    "css": "/* From Uiverse.io by vinodjangid07  - Website: https://dribbble.com/shots/18149466-Upgrade-to-Pro-Button/attachments/13347110?mode=media - Name: Mobin Madadi - Tags: link, button, hover, active, hover effect, pro, upgrade, redirect */\n.Btn-container {\n  width: fit-content;\n  height: fit-content;\n  border: none;\n  background-color: #ebebeb;\n  padding: 10px;\n  border-radius: 10px;\n  box-shadow: 0px 2px 5px #e1e1e1;\n  transition: 0.2s;\n}\n.inner-wrapper {\n  width: fit-content;\n  height: 100%;\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  background-color: #f7f7f7;\n  border-radius: 5px;\n  padding: 8px 15px;\n  box-shadow: 0px 4px 10px #d3d3d3;\n  gap: 50px;\n  transition: 0.2s;\n}\n.text {\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  gap: 6px;\n}\n.text p {\n  font-size: 1.2em;\n  font-weight: 600;\n  color: rgb(140, 140, 140);\n}\n.text .pro {\n  background-color: black;\n  color: white;\n  padding: 4px 8px;\n  border-radius: 5px;\n}\n.icon {\n  width: 40px;\n  height: 40px;\n  background-color: white;\n  border-radius: 50%;\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  transform: rotate(45deg);\n  transition: 0.2s;\n}\n.icon svg {\n  width: 15px;\n}\n.Btn-container:active {\n  transform: scale(1);\n}\n.Btn-container:active .inner-wrapper {\n  transform: scale(0.97);\n}\n.Btn-container:hover .icon {\n  transform: rotate(0deg);\n}",
    "file_path": "/mnt/persist/workspace/Buttons/vinodjangid07_strange-penguin-42.html"
  },
  "uniapp": {
    "template": "<button class=\"Btn-container\"></button>\n  <text class=\"inner-wrapper\"></text>\n    <text class=\"text\"></text>\n      <text>Upgrade to</text>\n      <text class=\"pro\">PRO</text>\n    </span>\n    <text class=\"icon\"></text>\n      <view viewBox=\"0 0 384 512\" xmlns=\"http://www.w3.org/2000/svg\"></view>\n        <path d=\"M214.6 41.4c-12.5-12.5-32.8-12.5-45.3 0l-160 160c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L160 141.2V448c0 17.7 14.3 32 32 32s32-14.3 32-32V141.2L329.4 246.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-160-160z\"></path>\n      </svg>\n    </span>\n  </span>\n</button>",
    "script": "export default {\n  name: 'GalaxyStrangePenguin42',\n  props: {\n    // 根据组件类型动态生成props\n  },\n  data() {\n    return {\n      // 组件状态\n    };\n  },\n  methods: {\n    // 组件方法\n  }\n}",
    "style": "\n/* From Uiverse.io by vinodjangid07  - Website: https://dribbble.com/shots/18149466-Upgrade-to-Pro-Button/attachments/13347110?mode=media - Name: Mobin Madadi - Tags: link, button, hover, active, hover effect, pro, upgrade, redirect */\n.Btn-container {\n  width: fit-content;\n  height: fit-content;\n  border: none;\n  background-color: #ebebeb;\n  padding: 20rpx;\n  border-radius: 20rpx;\n  /* #ifdef H5 */\n  /* #ifdef H5 */\n  box-shadow: 0rpx 4rpx 10rpx #e1e1e1;\n  /* #endif */\n  /* #ifdef MP */\n  border: 1rpx solid rgba(0,0,0,0.1);\n  /* #endif */\n  /* #endif */\n  transition: 0.2s;\n}\n.inner-wrapper {\n  width: fit-content;\n  height: 100%;\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  background-color: #f7f7f7;\n  border-radius: 10rpx;\n  padding: 16rpx 30rpx;\n  /* #ifdef H5 */\n  /* #ifdef H5 */\n  box-shadow: 0rpx 8rpx 20rpx #d3d3d3;\n  /* #endif */\n  /* #ifdef MP */\n  border: 1rpx solid rgba(0,0,0,0.1);\n  /* #endif */\n  /* #endif */\n  gap: 100rpx;\n  transition: 0.2s;\n}\n.text {\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  gap: 12rpx;\n}\n.text p {\n  font-size: 1.2em;\n  font-weight: 600;\n  color: rgb(140, 140, 140);\n}\n.text .pro {\n  background-color: black;\n  color: white;\n  padding: 8rpx 16rpx;\n  border-radius: 10rpx;\n}\n.icon {\n  width: 80rpx;\n  height: 80rpx;\n  background-color: white;\n  border-radius: 50%;\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  transform: rotate(45deg);\n  transition: 0.2s;\n}\n.icon svg {\n  width: 30rpx;\n}\n.Btn-container:active {\n  transform: scale(1);\n}\n.Btn-container:active .inner-wrapper {\n  transform: scale(0.97);\n}\n.Btn-container:hover .icon {\n  transform: rotate(0deg);\n}\n\n",
    "component_name": "GalaxyStrangePenguin42"
  },
  "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": 1921,
    "render_cost": "medium",
    "memory_usage": "medium"
  },
  "dependencies": [],
  "examples": [
    {
      "title": "",
      "description": "",
      "code": ""
    }
  ],
  "created_at": "2025-07-31T07:55:38.266Z",
  "updated_at": "2025-07-31T07:55:38.266Z"
}