{
  "id": "Mohammad-Rahme-576_spicy-grasshopper-17",
  "name": "spicy-grasshopper-17",
  "category": "buttons",
  "author": "Mohammad-Rahme-576",
  "description": "spicy-grasshopper-17 组件 (button, animation, gradient, interactive)",
  "tags": [
    "button",
    "animation",
    "gradient",
    "interactive"
  ],
  "original": {
    "html": "<button class=\"button\">Join Today ➞</button>",
    "css": "/* From Uiverse.io by Mohammad-Rahme-576  - Tags: button */\n.button {\n  position: relative;\n  padding: 15px 30px; /* Button padding */\n  font-size: 18px; /* Button font size */\n  font-weight: bold;\n  color: #ffffff; /* Text color */\n  background: #8a2be2; /* Purple background */\n  border: 2px solid #8a2be2;\n  border-radius: 12px;\n  cursor: pointer;\n  overflow: hidden;\n  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);\n  box-shadow:\n    0 0 10px #8a2be2,\n    0 0 20px #4b0082,\n    0 0 30px #da70d6;\n  text-transform: uppercase;\n  letter-spacing: 2px;\n  font-family: \"Arial\", sans-serif;\n  -webkit-font-smoothing: antialiased;\n  -moz-osx-font-smoothing: grayscale;\n  background-size: 200% 200%;\n  animation:\n    gradientShift 5s ease infinite,\n    pulse 2s infinite;\n  isolation: isolate;\n}\n\n.button::before,\n.button::after {\n  content: \"\";\n  position: absolute;\n  top: -50%;\n  left: -50%;\n  width: 200%;\n  height: 200%;\n  background: radial-gradient(circle, #e6e6fa 20%, transparent 70%);\n  opacity: 0;\n  transition:\n    opacity 0.3s,\n    transform 0.3s;\n  pointer-events: none;\n}\n\n.button::before {\n  background: linear-gradient(\n    45deg,\n    transparent,\n    rgba(255, 255, 255, 0.1),\n    transparent\n  );\n  transform: translateX(-100%);\n  transition: transform 0.6s;\n  z-index: -1;\n}\n\n.button::after {\n  background: linear-gradient(\n    45deg,\n    transparent 0%,\n    rgba(218, 112, 214, 0.8) 25%,\n    rgba(138, 43, 226, 0.8) 50%,\n    rgba(218, 112, 214, 0.8) 75%,\n    transparent 100%\n  );\n  filter: blur(5px);\n  transform: translateX(-100%) rotate(45deg);\n}\n\n.button:hover {\n  background: linear-gradient(\n    135deg,\n    #8a2be2,\n    #4b0082\n  ); /* Gradient background on hover */\n  transform: scale(1.05) translateY(-3px) rotateY(10deg);\n  box-shadow:\n    0 0 20px #8a2be2,\n    0 0 40px #4b0082,\n    0 0 60px #da70d6;\n  perspective: 1000px;\n  border-color: rgba(218, 112, 214, 0.5);\n  filter: brightness(1.1) contrast(1.1);\n  animation:\n    gradientShift 5s ease infinite,\n    pulse 2s infinite,\n    gradientBorder 2s linear infinite;\n}\n\n.button:hover::before {\n  opacity: 0.3;\n  transform: translateX(100%);\n  animation: pulseGlow 2s infinite;\n}\n\n.button:hover::after {\n  opacity: 0.5;\n  animation: shineEffect 1.5s infinite;\n}\n\n.button:active {\n  transform: scale(0.98) translateY(2px);\n  box-shadow:\n    0 0 10px rgba(138, 43, 226, 0.6),\n    0 0 20px rgba(138, 43, 226, 0.4) inset;\n}\n\n.button span {\n  position: relative;\n  z-index: 1;\n  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.3);\n}\n\n.button:hover span {\n  animation:\n    textGlow 1.5s infinite alternate,\n    textFloat 0.3s ease-out;\n}\n\n@keyframes pulseGlow {\n  0%,\n  100% {\n    transform: scale(1);\n    opacity: 0.3;\n  }\n  50% {\n    transform: scale(1.2);\n    opacity: 0.5;\n  }\n}\n\n@keyframes shineEffect {\n  0% {\n    transform: translateX(-100%) rotate(45deg);\n  }\n  100% {\n    transform: translateX(100%) rotate(45deg);\n  }\n}\n\n@keyframes ripple {\n  0% {\n    transform: scale(0.8);\n  }\n  50% {\n    transform: scale(1.2);\n    opacity: 0.3;\n  }\n  100% {\n    transform: scale(0.8);\n  }\n}\n\n@keyframes textGlow {\n  0% {\n    text-shadow: 0 0 5px #e6e6fa;\n  }\n  100% {\n    text-shadow:\n      0 0 20px #e6e6fa,\n      0 0 35px #da70d6;\n  }\n}\n\n@keyframes gradientShift {\n  0% {\n    background-position: 0% 50%;\n  }\n  50% {\n    background-position: 100% 50%;\n  }\n  100% {\n    background-position: 0% 50%;\n  }\n}\n\n@keyframes focusPulse {\n  0%,\n  100% {\n    box-shadow:\n      0 0 0 4px rgba(138, 43, 226, 0.4),\n      0 0 30px rgba(218, 112, 214, 0.6);\n  }\n  50% {\n    box-shadow:\n      0 0 0 8px rgba(138, 43, 226, 0.2),\n      0 0 40px rgba(218, 112, 214, 0.4);\n  }\n}\n\n@keyframes textFloat {\n  0%,\n  100% {\n    transform: translateY(0);\n  }\n  50% {\n    transform: translateY(-5px);\n  }\n}\n\n@keyframes particleBurst {\n  0% {\n    transform: translate(-50%, -50%) scale(0);\n    opacity: 1;\n  }\n  100% {\n    transform: translate(-50%, -50%) scale(2);\n    opacity: 0;\n  }\n}\n\n@keyframes gradientBorder {\n  0% {\n    border-color: rgba(218, 112, 214, 0.5);\n  }\n  50% {\n    border-color: rgba(138, 43, 226, 0.5);\n  }\n  100% {\n    border-color: rgba(218, 112, 214, 0.5);\n  }\n}\n\n@keyframes pulse {\n  0%,\n  100% {\n    transform: scale(1);\n  }\n  50% {\n    transform: scale(1.05);\n  }\n}\n\n.button:focus {\n  outline: none;\n  box-shadow:\n    0 0 0 4px rgba(138, 43, 226, 0.4),\n    0 0 30px rgba(218, 112, 214, 0.6);\n  animation: focusPulse 1.5s infinite;\n}\n\n.button:focus-visible {\n  outline: 2px solid #da70d6;\n  outline-offset: 2px;\n}\n\n.button:active::before {\n  opacity: 1;\n  transform: translateX(0) rotate(45deg);\n  transition: transform 0.2s;\n}\n\n.button:active::before {\n  animation: particleBurst 0.5s ease-out;\n}\n\n.button {\n  border: 2px solid transparent;\n  background-clip: padding-box;\n}\n\n@media (max-width: 768px) {\n  .button {\n    padding: 12px 24px;\n    font-size: 16px;\n  }\n}\n\n@media (max-width: 480px) {\n  .button {\n    padding: 10px 20px;\n    font-size: 14px;\n  }\n}\n\n@media (min-width: 1200px) {\n  .button {\n    padding: 18px 36px;\n    font-size: 20px;\n  }\n}",
    "file_path": "/mnt/persist/workspace/Buttons/Mohammad-Rahme-576_spicy-grasshopper-17.html"
  },
  "uniapp": {
    "template": "<button class=\"button\"></button>Join Today ➞</button>",
    "script": "export default {\n  name: 'GalaxySpicyGrasshopper17',\n  props: {\n    // 根据组件类型动态生成props\n  },\n  data() {\n    return {\n      // 组件状态\n    };\n  },\n  methods: {\n    // 组件方法\n  }\n}",
    "style": "\n/* From Uiverse.io by Mohammad-Rahme-576  - Tags: button */\n.button {\n  position: relative;\n  padding: 30rpx 60rpx; /* Button padding */\n  font-size: 36rpx; /* Button font size */\n  font-weight: bold;\n  color: #ffffff; /* Text color */\n  background: #8a2be2; /* Purple background */\n  border: 4rpx solid #8a2be2;\n  border-radius: 24rpx;\n  /* #ifdef H5 */\n  cursor: pointer;\n  /* #endif */\n  overflow: hidden;\n  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);\n  /* #ifdef H5 */\n  /* #ifdef H5 */\n  box-shadow:\n    0 0 20rpx #8a2be2,\n    0 0 40rpx #4b0082,\n    0 0 60rpx #da70d6;\n  /* #endif */\n  /* #ifdef MP */\n  border: 1rpx solid rgba(0,0,0,0.1);\n  /* #endif */\n  /* #endif */\n  text-transform: uppercase;\n  letter-spacing: 4rpx;\n  font-family: \"Arial\", sans-serif;\n  -webkit-font-smoothing: antialiased;\n  -moz-osx-font-smoothing: grayscale;\n  background-size: 200% 200%;\n  animation:\n    gradientShift 5s ease infinite,\n    pulse 2s infinite;\n  isolation: isolate;\n}\n\n.button::before,\n.button::after {\n  content: \"\";\n  position: absolute;\n  top: -50%;\n  left: -50%;\n  width: 200%;\n  height: 200%;\n  background: radial-gradient(circle, #e6e6fa 20%, transparent 70%);\n  opacity: 0;\n  transition:\n    opacity 0.3s,\n    transform 0.3s;\n  pointer-events: none;\n}\n\n.button::before {\n  background: linear-gradient(\n    45deg,\n    transparent,\n    rgba(255, 255, 255, 0.1),\n    transparent\n  );\n  transform: translateX(-100%);\n  transition: transform 0.6s;\n  z-index: -1;\n}\n\n.button::after {\n  background: linear-gradient(\n    45deg,\n    transparent 0%,\n    rgba(218, 112, 214, 0.8) 25%,\n    rgba(138, 43, 226, 0.8) 50%,\n    rgba(218, 112, 214, 0.8) 75%,\n    transparent 100%\n  );\n  \n  transform: translateX(-100%) rotate(45deg);\n}\n\n.button:hover {\n  background: linear-gradient(\n    135deg,\n    #8a2be2,\n    #4b0082\n  ); /* Gradient background on hover */\n  transform: scale(1.05) translateY(-6rpx) rotateY(10deg);\n  /* #ifdef H5 */\n  /* #ifdef H5 */\n  box-shadow:\n    0 0 40rpx #8a2be2,\n    0 0 80rpx #4b0082,\n    0 0 120rpx #da70d6;\n  /* #endif */\n  /* #ifdef MP */\n  border: 1rpx solid rgba(0,0,0,0.1);\n  /* #endif */\n  /* #endif */\n  perspective: 2000rpx;\n  border-color: rgba(218, 112, 214, 0.5);\n  \n  animation:\n    gradientShift 5s ease infinite,\n    pulse 2s infinite,\n    gradientBorder 2s linear infinite;\n}\n\n.button:hover::before {\n  opacity: 0.3;\n  transform: translateX(100%);\n  animation: pulseGlow 2s infinite;\n}\n\n.button:hover::after {\n  opacity: 0.5;\n  animation: shineEffect 1.5s infinite;\n}\n\n.button:active {\n  transform: scale(0.98) translateY(4rpx);\n  /* #ifdef H5 */\n  /* #ifdef H5 */\n  box-shadow:\n    0 0 20rpx rgba(138, 43, 226, 0.6),\n    0 0 40rpx rgba(138, 43, 226, 0.4) inset;\n  /* #endif */\n  /* #ifdef MP */\n  border: 1rpx solid rgba(0,0,0,0.1);\n  /* #endif */\n  /* #endif */\n}\n\n.button span {\n  position: relative;\n  z-index: 1;\n  -webkit-text-stroke: 2rpx rgba(255, 255, 255, 0.3);\n}\n\n.button:hover span {\n  animation:\n    textGlow 1.5s infinite alternate,\n    textFloat 0.3s ease-out;\n}\n\n@keyframes pulseGlow {\n  0%,\n  100% {\n    transform: scale(1);\n    opacity: 0.3;\n  }\n  50% {\n    transform: scale(1.2);\n    opacity: 0.5;\n  }\n}\n\n@keyframes shineEffect {\n  0% {\n    transform: translateX(-100%) rotate(45deg);\n  }\n  100% {\n    transform: translateX(100%) rotate(45deg);\n  }\n}\n\n@keyframes ripple {\n  0% {\n    transform: scale(0.8);\n  }\n  50% {\n    transform: scale(1.2);\n    opacity: 0.3;\n  }\n  100% {\n    transform: scale(0.8);\n  }\n}\n\n@keyframes textGlow {\n  0% {\n    /* #ifdef H5 */\n  text-shadow: 0 0 10rpx #e6e6fa;\n  /* #endif */\n  }\n  100% {\n    /* #ifdef H5 */\n  text-shadow:\n      0 0 40rpx #e6e6fa,\n      0 0 70rpx #da70d6;\n  /* #endif */\n  }\n}\n\n@keyframes gradientShift {\n  0% {\n    background-position: 0% 50%;\n  }\n  50% {\n    background-position: 100% 50%;\n  }\n  100% {\n    background-position: 0% 50%;\n  }\n}\n\n@keyframes focusPulse {\n  0%,\n  100% {\n    /* #ifdef H5 */\n  /* #ifdef H5 */\n  box-shadow:\n      0 0 0 8rpx rgba(138, 43, 226, 0.4),\n      0 0 60rpx rgba(218, 112, 214, 0.6);\n  /* #endif */\n  /* #ifdef MP */\n  border: 1rpx solid rgba(0,0,0,0.1);\n  /* #endif */\n  /* #endif */\n  }\n  50% {\n    /* #ifdef H5 */\n  /* #ifdef H5 */\n  box-shadow:\n      0 0 0 16rpx rgba(138, 43, 226, 0.2),\n      0 0 80rpx rgba(218, 112, 214, 0.4);\n  /* #endif */\n  /* #ifdef MP */\n  border: 1rpx solid rgba(0,0,0,0.1);\n  /* #endif */\n  /* #endif */\n  }\n}\n\n@keyframes textFloat {\n  0%,\n  100% {\n    transform: translateY(0);\n  }\n  50% {\n    transform: translateY(-10rpx);\n  }\n}\n\n@keyframes particleBurst {\n  0% {\n    transform: translate(-50%, -50%) scale(0);\n    opacity: 1;\n  }\n  100% {\n    transform: translate(-50%, -50%) scale(2);\n    opacity: 0;\n  }\n}\n\n@keyframes gradientBorder {\n  0% {\n    border-color: rgba(218, 112, 214, 0.5);\n  }\n  50% {\n    border-color: rgba(138, 43, 226, 0.5);\n  }\n  100% {\n    border-color: rgba(218, 112, 214, 0.5);\n  }\n}\n\n@keyframes pulse {\n  0%,\n  100% {\n    transform: scale(1);\n  }\n  50% {\n    transform: scale(1.05);\n  }\n}\n\n.button:focus {\n  outline: none;\n  /* #ifdef H5 */\n  /* #ifdef H5 */\n  box-shadow:\n    0 0 0 8rpx rgba(138, 43, 226, 0.4),\n    0 0 60rpx rgba(218, 112, 214, 0.6);\n  /* #endif */\n  /* #ifdef MP */\n  border: 1rpx solid rgba(0,0,0,0.1);\n  /* #endif */\n  /* #endif */\n  animation: focusPulse 1.5s infinite;\n}\n\n.button:focus-visible {\n  outline: 4rpx solid #da70d6;\n  outline-offset: 4rpx;\n}\n\n.button:active::before {\n  opacity: 1;\n  transform: translateX(0) rotate(45deg);\n  transition: transform 0.2s;\n}\n\n.button:active::before {\n  animation: particleBurst 0.5s ease-out;\n}\n\n.button {\n  border: 4rpx solid transparent;\n  background-clip: padding-box;\n}\n\n@media (max-width: 1536rpx) {\n  .button {\n    padding: 24rpx 48rpx;\n    font-size: 32rpx;\n  }\n}\n\n@media (max-width: 960rpx) {\n  .button {\n    padding: 20rpx 40rpx;\n    font-size: 28rpx;\n  }\n}\n\n@media (min-width: 2400rpx) {\n  .button {\n    padding: 36rpx 72rpx;\n    font-size: 40rpx;\n  }\n}\n\n",
    "component_name": "GalaxySpicyGrasshopper17"
  },
  "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 属性",
        "不支持 text-shadow 属性",
        "不支持 filter 属性",
        "不支持 cursor 属性"
      ],
      "alternatives": []
    },
    "mp-alipay": {
      "supported": true,
      "issues": [
        "不支持 box-shadow 属性",
        "不支持 text-shadow 属性",
        "不支持 filter 属性",
        "不支持 cursor 属性"
      ],
      "alternatives": []
    },
    "app-plus": {
      "supported": true,
      "issues": [],
      "alternatives": []
    }
  },
  "performance": {
    "complexity": "high",
    "bundle_size": 5079,
    "render_cost": "high",
    "memory_usage": "high"
  },
  "dependencies": [],
  "examples": [
    {
      "title": "",
      "description": "",
      "code": ""
    }
  ],
  "created_at": "2025-07-31T07:55:33.995Z",
  "updated_at": "2025-07-31T07:55:33.995Z"
}