{
  "id": "SelfMadeSystem_modern-fly-8",
  "name": "modern-fly-8",
  "category": "buttons",
  "author": "SelfMadeSystem",
  "description": "modern-fly-8 组件 (button, ripple, animated, animation, interactive)",
  "tags": [
    "button",
    "ripple",
    "animated",
    "animation",
    "interactive"
  ],
  "original": {
    "html": "<button class=\"btn\">\n  <span>Border ripple</span>\n  <div class=\"ripple-container\">\n    <span></span>\n    <span></span>\n    <span></span>\n    <span></span>\n    <span></span>\n    <span></span>\n    <span></span>\n    <span></span>\n    <span></span>\n    <span></span>\n    <span></span>\n    <span></span>\n    <span></span>\n    <span></span>\n    <span></span>\n    <span></span>\n\n    <span></span>\n    <span></span>\n    <span></span>\n    <span></span>\n    <span></span>\n    <span></span>\n    <span></span>\n    <span></span>\n    <span></span>\n    <span></span>\n    <span></span>\n    <span></span>\n    <span></span>\n    <span></span>\n    <span></span>\n    <span></span>\n\n    <span></span>\n    <span></span>\n    <span></span>\n    <span></span>\n    <span></span>\n    <span></span>\n    <span></span>\n    <span></span>\n    <span></span>\n    <span></span>\n    <span></span>\n    <span></span>\n    <span></span>\n    <span></span>\n    <span></span>\n    <span></span>\n\n    <span></span>\n    <span></span>\n    <span></span>\n    <span></span>\n    <span></span>\n    <span></span>\n    <span></span>\n    <span></span>\n    <span></span>\n    <span></span>\n    <span></span>\n    <span></span>\n    <span></span>\n    <span></span>\n    <span></span>\n    <span></span>\n\n    <span></span>\n    <span></span>\n    <span></span>\n    <span></span>\n    <span></span>\n    <span></span>\n    <span></span>\n    <span></span>\n    <span></span>\n    <span></span>\n    <span></span>\n    <span></span>\n    <span></span>\n    <span></span>\n    <span></span>\n    <span></span>\n\n    <span></span>\n    <span></span>\n    <span></span>\n    <span></span>\n    <span></span>\n    <span></span>\n    <span></span>\n    <span></span>\n    <span></span>\n    <span></span>\n    <span></span>\n    <span></span>\n    <span></span>\n    <span></span>\n    <span></span>\n    <span></span>\n  </div>\n</button>",
    "css": "/* From Uiverse.io by SelfMadeSystem - Tags: button, ripple, animated */\n.btn {\n  font-size: larger;\n  height: 3em;\n  width: 8em;\n  position: relative;\n  border: none;\n  isolation: isolate;\n}\n\n.btn > span {\n  position: absolute;\n  border-radius: 0.5em;\n  pointer-events: none;\n  inset: 0;\n  background-color: hsl(218, 68%, 52%);\n  color: white;\n  box-shadow: 1px 2px 4px #0007;\n  z-index: 10;\n  display: flex;\n  justify-content: center;\n  align-items: center;\n}\n\n.ripple-container {\n  position: absolute;\n  inset: -0.3em;\n  display: grid;\n  grid-template-columns: repeat(16, 0.5em);\n  border-radius: 0.8em;\n  padding: 0.3em;\n  overflow: hidden;\n}\n\n.ripple-container > span {\n  position: relative;\n  display: flex;\n  justify-content: center;\n  align-items: center;\n}\n\n.ripple-container > span::after {\n  content: \"\";\n  pointer-events: none;\n  position: absolute;\n  background-color: hsl(218, 68%, 65%);\n  transition: width 0.5s ease-out, height 0.5s ease-out, opacity 1s;\n  width: 18em;\n  height: 18em;\n  opacity: 0;\n  border-radius: 999em;\n}\n\n.ripple-container > span:active::after {\n  transition: 0s;\n  width: 0em;\n  height: 0em;\n  opacity: 1;\n}\n\n.ripple-container::before {\n  content: \"\";\n  pointer-events: none;\n  position: absolute;\n  background-color: hsla(218, 68%, 65%, 0.5);\n  width: 13em;\n  height: 13em;\n  border-radius: 999em;\n  transition: transform 0.25s ease-out;\n  transform: translate(-25%, -25%) scale(0);\n}\n\n.ripple-container:hover::before {\n  transform: translate(-25%, -25%) scale(1);\n}",
    "file_path": "/mnt/persist/workspace/Buttons/SelfMadeSystem_modern-fly-8.html"
  },
  "uniapp": {
    "template": "<button class=\"btn\"></button>\n  <text>Border ripple</text>\n  <view class=\"ripple-container\"></view>\n    <text></text>\n    <text></text>\n    <text></text>\n    <text></text>\n    <text></text>\n    <text></text>\n    <text></text>\n    <text></text>\n    <text></text>\n    <text></text>\n    <text></text>\n    <text></text>\n    <text></text>\n    <text></text>\n    <text></text>\n    <text></text>\n\n    <text></text>\n    <text></text>\n    <text></text>\n    <text></text>\n    <text></text>\n    <text></text>\n    <text></text>\n    <text></text>\n    <text></text>\n    <text></text>\n    <text></text>\n    <text></text>\n    <text></text>\n    <text></text>\n    <text></text>\n    <text></text>\n\n    <text></text>\n    <text></text>\n    <text></text>\n    <text></text>\n    <text></text>\n    <text></text>\n    <text></text>\n    <text></text>\n    <text></text>\n    <text></text>\n    <text></text>\n    <text></text>\n    <text></text>\n    <text></text>\n    <text></text>\n    <text></text>\n\n    <text></text>\n    <text></text>\n    <text></text>\n    <text></text>\n    <text></text>\n    <text></text>\n    <text></text>\n    <text></text>\n    <text></text>\n    <text></text>\n    <text></text>\n    <text></text>\n    <text></text>\n    <text></text>\n    <text></text>\n    <text></text>\n\n    <text></text>\n    <text></text>\n    <text></text>\n    <text></text>\n    <text></text>\n    <text></text>\n    <text></text>\n    <text></text>\n    <text></text>\n    <text></text>\n    <text></text>\n    <text></text>\n    <text></text>\n    <text></text>\n    <text></text>\n    <text></text>\n\n    <text></text>\n    <text></text>\n    <text></text>\n    <text></text>\n    <text></text>\n    <text></text>\n    <text></text>\n    <text></text>\n    <text></text>\n    <text></text>\n    <text></text>\n    <text></text>\n    <text></text>\n    <text></text>\n    <text></text>\n    <text></text>\n  </div>\n</button>",
    "script": "export default {\n  name: 'GalaxyModernFly8',\n  props: {\n    // 根据组件类型动态生成props\n  },\n  data() {\n    return {\n      // 组件状态\n    };\n  },\n  methods: {\n    // 组件方法\n  }\n}",
    "style": "\n/* From Uiverse.io by SelfMadeSystem - Tags: button, ripple, animated */\n.btn {\n  font-size: larger;\n  height: 3em;\n  width: 8em;\n  position: relative;\n  border: none;\n  isolation: isolate;\n}\n\n.btn > span {\n  position: absolute;\n  border-radius: 0.5em;\n  pointer-events: none;\n  inset: 0;\n  background-color: hsl(218, 68%, 52%);\n  color: white;\n  /* #ifdef H5 */\n  /* #ifdef H5 */\n  box-shadow: 2rpx 4rpx 8rpx #0007;\n  /* #endif */\n  /* #ifdef MP */\n  border: 1rpx solid rgba(0,0,0,0.1);\n  /* #endif */\n  /* #endif */\n  z-index: 10;\n  display: flex;\n  justify-content: center;\n  align-items: center;\n}\n\n.ripple-container {\n  position: absolute;\n  inset: -0.3em;\n  display: grid;\n  grid-template-columns: repeat(16, 0.5em);\n  border-radius: 0.8em;\n  padding: 0.3em;\n  overflow: hidden;\n}\n\n.ripple-container > span {\n  position: relative;\n  display: flex;\n  justify-content: center;\n  align-items: center;\n}\n\n.ripple-container > span::after {\n  content: \"\";\n  pointer-events: none;\n  position: absolute;\n  background-color: hsl(218, 68%, 65%);\n  transition: width 0.5s ease-out, height 0.5s ease-out, opacity 1s;\n  width: 18em;\n  height: 18em;\n  opacity: 0;\n  border-radius: 999em;\n}\n\n.ripple-container > span:active::after {\n  transition: 0s;\n  width: 0em;\n  height: 0em;\n  opacity: 1;\n}\n\n.ripple-container::before {\n  content: \"\";\n  pointer-events: none;\n  position: absolute;\n  background-color: hsla(218, 68%, 65%, 0.5);\n  width: 13em;\n  height: 13em;\n  border-radius: 999em;\n  transition: transform 0.25s ease-out;\n  transform: translate(-25%, -25%) scale(0);\n}\n\n.ripple-container:hover::before {\n  transform: translate(-25%, -25%) scale(1);\n}\n\n",
    "component_name": "GalaxyModernFly8"
  },
  "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": 3345,
    "render_cost": "medium",
    "memory_usage": "medium"
  },
  "dependencies": [],
  "examples": [
    {
      "title": "",
      "description": "",
      "code": ""
    }
  ],
  "created_at": "2025-07-31T07:55:34.580Z",
  "updated_at": "2025-07-31T07:55:34.580Z"
}