{
  "id": "boryanakrasteva_sour-cow-47",
  "name": "sour-cow-47",
  "category": "buttons",
  "author": "boryanakrasteva",
  "description": "sour-cow-47 组件 (button, delete, animation, interactive)",
  "tags": [
    "button",
    "delete",
    "animation",
    "interactive"
  ],
  "original": {
    "html": "<button class=\"btn\">\n  <p class=\"paragraph\"> delete </p>\n  <span class=\"icon-wrapper\">\n    <svg class=\"icon\" width=\"30px\" height=\"30px\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n      <path d=\"M6 7V18C6 19.1046 6.89543 20 8 20H16C17.1046 20 18 19.1046 18 18V7M6 7H5M6 7H8M18 7H19M18 7H16M10 11V16M14 11V16M8 7V5C8 3.89543 8.89543 3 10 3H14C15.1046 3 16 3.89543 16 5V7M8 7H16\" stroke=\"#000000\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n    </svg>\n  </span>\n</button>",
    "css": "/* From Uiverse.io by boryanakrasteva - Tags: button, delete */\n.btn {\n  cursor: pointer;\n  width: 50px;\n  height: 50px;\n  border: none;\n  position: relative;\n  border-radius: 10px;\n  -webkit-box-shadow: 1px 1px 5px .2px #00000035;\n  box-shadow: 1px 1px 5px .2px #00000035;\n  -webkit-transition: .2s linear;\n  transition: .2s linear;\n  transition-delay: .2s;\n  display: -webkit-box;\n  display: -ms-flexbox;\n  display: flex;\n  -webkit-box-align: center;\n  -ms-flex-align: center;\n  align-items: center;\n  -webkit-box-pack: center;\n  -ms-flex-pack: center;\n  justify-content: space-between;\n}\n\n.btn:hover {\n  width: 150px;\n  transition-delay: .2s;\n}\n\n.btn:hover > .paragraph {\n  visibility: visible;\n  opacity: 1;\n  -webkit-transition-delay: .4s;\n  transition-delay: .4s;\n}\n\n.btn:hover > .icon-wrapper .icon {\n  transform: scale(1.1);\n}\n\n.bnt:hover > .icon-wrapper .icon path {\n  stroke: black;\n}\n\n.paragraph {\n  color: black;\n  visibility: hidden;\n  opacity: 0;\n  font-size: 18px;\n  margin-right: 20px;\n  padding-left: 20px;\n  -webkit-transition: .2s linear;\n  transition: .2s linear;\n  font-weight: bold;\n  text-transform: uppercase;\n}\n\n.icon-wrapper {\n  width: 50px;\n  height: 50px;\n  position: absolute;\n  top: 0;\n  right: 0;\n  display: flex;\n  align-items: center;\n  justify-content: center;\n}\n\n.icon {\n  transform: scale(.9);\n  transition: .2s linear;\n}\n\n.icon path {\n  stroke: #000;\n  stroke-width: 2px;\n  -webkit-transition: .2s linear;\n  transition: .2s linear;\n}",
    "file_path": "/mnt/persist/workspace/Buttons/boryanakrasteva_sour-cow-47.html"
  },
  "uniapp": {
    "template": "<button class=\"btn\"></button>\n  <text class=\"paragraph\"> delete </text>\n  <text class=\"icon-wrapper\"></text>\n    <view class=\"icon\" width=\"30px\" height=\"30px\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"></view>\n      <path d=\"M6 7V18C6 19.1046 6.89543 20 8 20H16C17.1046 20 18 19.1046 18 18V7M6 7H5M6 7H8M18 7H19M18 7H16M10 11V16M14 11V16M8 7V5C8 3.89543 8.89543 3 10 3H14C15.1046 3 16 3.89543 16 5V7M8 7H16\" stroke=\"#000000\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n    </svg>\n  </span>\n</button>",
    "script": "export default {\n  name: 'GalaxySourCow47',\n  props: {\n    // 根据组件类型动态生成props\n  },\n  data() {\n    return {\n      // 组件状态\n    };\n  },\n  methods: {\n    // 组件方法\n  }\n}",
    "style": "\n/* From Uiverse.io by boryanakrasteva - Tags: button, delete */\n.btn {\n  /* #ifdef H5 */\n  cursor: pointer;\n  /* #endif */\n  width: 100rpx;\n  height: 100rpx;\n  border: none;\n  position: relative;\n  border-radius: 20rpx;\n  -webkit-/* #ifdef H5 */\n  /* #ifdef H5 */\n  box-shadow: 2rpx 2rpx 10rpx .4rpx #00000035;\n  /* #endif */\n  /* #ifdef MP */\n  border: 1rpx solid rgba(0,0,0,0.1);\n  /* #endif */\n  /* #endif */\n  /* #ifdef H5 */\n  /* #ifdef H5 */\n  box-shadow: 2rpx 2rpx 10rpx .4rpx #00000035;\n  /* #endif */\n  /* #ifdef MP */\n  border: 1rpx solid rgba(0,0,0,0.1);\n  /* #endif */\n  /* #endif */\n  -webkit-transition: .2s linear;\n  transition: .2s linear;\n  transition-delay: .2s;\n  display: -webkit-box;\n  display: -ms-flexbox;\n  display: flex;\n  -webkit-box-align: center;\n  -ms-flex-align: center;\n  align-items: center;\n  -webkit-box-pack: center;\n  -ms-flex-pack: center;\n  justify-content: space-between;\n}\n\n.btn:hover {\n  width: 300rpx;\n  transition-delay: .2s;\n}\n\n.btn:hover > .paragraph {\n  visibility: visible;\n  opacity: 1;\n  -webkit-transition-delay: .4s;\n  transition-delay: .4s;\n}\n\n.btn:hover > .icon-wrapper .icon {\n  transform: scale(1.1);\n}\n\n.bnt:hover > .icon-wrapper .icon path {\n  stroke: black;\n}\n\n.paragraph {\n  color: black;\n  visibility: hidden;\n  opacity: 0;\n  font-size: 36rpx;\n  margin-right: 40rpx;\n  padding-left: 40rpx;\n  -webkit-transition: .2s linear;\n  transition: .2s linear;\n  font-weight: bold;\n  text-transform: uppercase;\n}\n\n.icon-wrapper {\n  width: 100rpx;\n  height: 100rpx;\n  position: absolute;\n  top: 0;\n  right: 0;\n  display: flex;\n  align-items: center;\n  justify-content: center;\n}\n\n.icon {\n  transform: scale(.9);\n  transition: .2s linear;\n}\n\n.icon path {\n  stroke: #000;\n  stroke-width: 4rpx;\n  -webkit-transition: .2s linear;\n  transition: .2s linear;\n}\n",
    "component_name": "GalaxySourCow47"
  },
  "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 属性",
        "不支持 cursor 属性"
      ],
      "alternatives": []
    },
    "mp-alipay": {
      "supported": true,
      "issues": [
        "不支持 box-shadow 属性",
        "不支持 cursor 属性"
      ],
      "alternatives": []
    },
    "app-plus": {
      "supported": true,
      "issues": [],
      "alternatives": []
    }
  },
  "performance": {
    "complexity": "medium",
    "bundle_size": 1995,
    "render_cost": "medium",
    "memory_usage": "medium"
  },
  "dependencies": [],
  "examples": [
    {
      "title": "",
      "description": "",
      "code": ""
    }
  ],
  "created_at": "2025-07-31T07:55:36.015Z",
  "updated_at": "2025-07-31T07:55:36.015Z"
}