{
  "id": "gharsh11032000_pink-elephant-19",
  "name": "pink-elephant-19",
  "category": "buttons",
  "author": "gharsh11032000",
  "description": "pink-elephant-19 组件 (animation, button, animated, hover effect, simple button, hover button, button hover effect, interactive)",
  "tags": [
    "animation",
    "button",
    "animated",
    "hover effect",
    "simple button",
    "hover button",
    "button hover effect",
    "interactive"
  ],
  "original": {
    "html": "<button class=\"btn\">\n  <span>Modern Button</span>\n</button>",
    "css": "/* From Uiverse.io by gharsh11032000  - Tags: animation, button, animated, hover effect, simple button, hover button, button hover effect  */\n.btn {\n  position: relative;\n  transition: color 0.48s 0s cubic-bezier(0.23, 1, 0.32, 1),\n    transform 0.48s cubic-bezier(0.23, 1, 0.32, 1);\n  display: flex;\n  padding: 12px 24px;\n  align-items: center;\n  justify-content: center;\n  gap: 8px;\n  font-family: inherit;\n  font-size: 14px;\n  border: none;\n  cursor: pointer;\n  color: #000000;\n  overflow: hidden;\n  text-decoration: none;\n  background-color: transparent;\n}\n\n.btn span {\n  font-size: 1.2rem;\n  font-weight: 700;\n  line-height: 1.6;\n}\n\n.btn::before {\n  content: \"\";\n  position: absolute;\n  z-index: -1;\n  left: 0%;\n  top: 50%;\n  transform: translateY(-50%) scaleY(0);\n  width: 3px;\n  height: 100%;\n  background: #0a3cff;\n  transition: transform 0.48s 0.4s cubic-bezier(0.23, 1, 0.32, 1),\n    width 0.48s 0.1s cubic-bezier(0.23, 1, 0.32, 1);\n}\n\n.btn:hover {\n  color: #ffffff;\n  transition: color 0.48s 0.24s cubic-bezier(0.23, 1, 0.32, 1),\n    transform 0.48s 0.1s cubic-bezier(0.23, 1, 0.32, 1);\n}\n\n.btn:hover::before {\n  transform: translateY(-50%) scaleY(1);\n  width: 100%;\n  transition: transform 0.48s 0.1s cubic-bezier(0.23, 1, 0.32, 1),\n    width 0.48s 0.4s cubic-bezier(0.23, 1, 0.32, 1);\n}\n\n.btn:active {\n  transform: scale(0.95);\n}",
    "file_path": "/mnt/persist/workspace/Buttons/gharsh11032000_pink-elephant-19.html"
  },
  "uniapp": {
    "template": "<button class=\"btn\"></button>\n  <text>Modern Button</text>\n</button>",
    "script": "export default {\n  name: 'GalaxyPinkElephant19',\n  props: {\n    // 根据组件类型动态生成props\n  },\n  data() {\n    return {\n      // 组件状态\n    };\n  },\n  methods: {\n    // 组件方法\n  }\n}",
    "style": "\n/* From Uiverse.io by gharsh11032000  - Tags: animation, button, animated, hover effect, simple button, hover button, button hover effect  */\n.btn {\n  position: relative;\n  transition: color 0.48s 0s cubic-bezier(0.23, 1, 0.32, 1),\n    transform 0.48s cubic-bezier(0.23, 1, 0.32, 1);\n  display: flex;\n  padding: 24rpx 48rpx;\n  align-items: center;\n  justify-content: center;\n  gap: 16rpx;\n  font-family: inherit;\n  font-size: 28rpx;\n  border: none;\n  /* #ifdef H5 */\n  cursor: pointer;\n  /* #endif */\n  color: #000000;\n  overflow: hidden;\n  text-decoration: none;\n  background-color: transparent;\n}\n\n.btn span {\n  font-size: 1.2rem;\n  font-weight: 700;\n  line-height: 1.6;\n}\n\n.btn::before {\n  content: \"\";\n  position: absolute;\n  z-index: -1;\n  left: 0%;\n  top: 50%;\n  transform: translateY(-50%) scaleY(0);\n  width: 6rpx;\n  height: 100%;\n  background: #0a3cff;\n  transition: transform 0.48s 0.4s cubic-bezier(0.23, 1, 0.32, 1),\n    width 0.48s 0.1s cubic-bezier(0.23, 1, 0.32, 1);\n}\n\n.btn:hover {\n  color: #ffffff;\n  transition: color 0.48s 0.24s cubic-bezier(0.23, 1, 0.32, 1),\n    transform 0.48s 0.1s cubic-bezier(0.23, 1, 0.32, 1);\n}\n\n.btn:hover::before {\n  transform: translateY(-50%) scaleY(1);\n  width: 100%;\n  transition: transform 0.48s 0.1s cubic-bezier(0.23, 1, 0.32, 1),\n    width 0.48s 0.4s cubic-bezier(0.23, 1, 0.32, 1);\n}\n\n.btn:active {\n  transform: scale(0.95);\n}\n\n",
    "component_name": "GalaxyPinkElephant19"
  },
  "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": "medium",
    "bundle_size": 1411,
    "render_cost": "medium",
    "memory_usage": "medium"
  },
  "dependencies": [],
  "examples": [
    {
      "title": "",
      "description": "",
      "code": ""
    }
  ],
  "created_at": "2025-07-31T07:55:36.874Z",
  "updated_at": "2025-07-31T07:55:36.874Z"
}