{
  "id": "xantha01_fresh-earwig-7",
  "name": "fresh-earwig-7",
  "category": "buttons",
  "author": "xantha01",
  "description": "fresh-earwig-7 组件 (button, arrow, startbutton, interactive)",
  "tags": [
    "button",
    "arrow",
    "startbutton",
    "interactive"
  ],
  "original": {
    "html": "<a class=\"swipe\">Get Started <span class=\"container\"><svg height=\"24\" width=\"24\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M0 0h24v24H0z\" fill=\"none\"></path><path d=\"M16.172 11l-5.364-5.364 1.414-1.414L20 12l-7.778 7.778-1.414-1.414L16.172 13H4v-2z\" fill=\"currentColor\"></path></svg></span> </a>",
    "css": "/* From Uiverse.io by xantha01 - Tags: button, arrow, startbutton  */\n.swipe {\n  position: relative;\n  background-color: #F1F7F7;\n  width: 200px;\n  height: 60px;\n  color: rgba(255, , 204, 1);\n  border-radius: 60px;\n  display: flex;\n  justify-content: center;\n  align-items: center;\n  text-decoration: none;\n  letter-spacing: 2px;\n  border-top: 0.5px solid rgba(0, 0, 0, 0.35);\n  border-left: 0.5px solid rgba(0, 0, 0, 0.35);\n  padding-left: 40px;\n  cursor: pointer;\n  transition: 0.35s ease;\n}\n\n.swipe:hover {\n  padding-left: 0;\n  padding-right: 40px;\n  color: #324B4C;\n}\n\n.container {\n  position: absolute;\n  left: 5px;\n  width: 50px;\n  height: 50px;\n  background: #7AB5B7;\n  border-radius: 50%;\n  transition: 0.35s ease;\n  display: flex;\n  justify-content: center;\n  align-items: center;\n  color: #f1f4f7;\n}\n\n.swipe:hover .container {\n  left: calc(100% - 55px);\n  color: #324B4C;\n}",
    "file_path": "/mnt/persist/workspace/Buttons/xantha01_fresh-earwig-7.html"
  },
  "uniapp": {
    "template": "<navigator class=\"swipe\">Get Started <text class=\"container\"><view height=\"24\" width=\"24\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M0 0h24v24H0z\" fill=\"none\"></path><path d=\"M16.172 11l-5.364-5.364 1.414-1.414L20 12l-7.778 7.778-1.414-1.414L16.172 13H4v-2z\" fill=\"currentColor\"></path></view></text> </navigator>",
    "script": "export default {\n  name: 'GalaxyFreshEarwig7',\n  props: {\n    // 根据组件类型动态生成props\n  },\n  data() {\n    return {\n      // 组件状态\n    };\n  },\n  methods: {\n    // 组件方法\n  }\n}",
    "style": "\n/* From Uiverse.io by xantha01 - Tags: button, arrow, startbutton  */\n.swipe {\n  position: relative;\n  background-color: #F1F7F7;\n  width: 400rpx;\n  height: 120rpx;\n  color: rgba(255, , 204, 1);\n  border-radius: 120rpx;\n  display: flex;\n  justify-content: center;\n  align-items: center;\n  text-decoration: none;\n  letter-spacing: 4rpx;\n  border-top: 1rpx solid rgba(0, 0, 0, 0.35);\n  border-left: 1rpx solid rgba(0, 0, 0, 0.35);\n  padding-left: 80rpx;\n  /* #ifdef H5 */\n  cursor: pointer;\n  /* #endif */\n  transition: 0.35s ease;\n}\n\n.swipe:hover {\n  padding-left: 0;\n  padding-right: 80rpx;\n  color: #324B4C;\n}\n\n.container {\n  position: absolute;\n  left: 10rpx;\n  width: 100rpx;\n  height: 100rpx;\n  background: #7AB5B7;\n  border-radius: 50%;\n  transition: 0.35s ease;\n  display: flex;\n  justify-content: center;\n  align-items: center;\n  color: #f1f4f7;\n}\n\n.swipe:hover .container {\n  left: calc(100% - 110rpx);\n  color: #324B4C;\n}\n",
    "component_name": "GalaxyFreshEarwig7"
  },
  "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": "low",
    "bundle_size": 1204,
    "render_cost": "low",
    "memory_usage": "low"
  },
  "dependencies": [],
  "examples": [
    {
      "title": "",
      "description": "",
      "code": ""
    }
  ],
  "created_at": "2025-07-31T07:55:38.383Z",
  "updated_at": "2025-07-31T07:55:38.383Z"
}