{
  "id": "ernestnash_cold-turtle-83",
  "name": "cold-turtle-83",
  "category": "buttons",
  "author": "ernestnash",
  "description": "cold-turtle-83 组件 (button, animation, interactive)",
  "tags": [
    "button",
    "animation",
    "interactive"
  ],
  "original": {
    "html": "<a class=\"btn\" href=\"#\">I am a button</a>",
    "css": "/* From Uiverse.io by ernestnash - Tags: button */\n.btn {\n display: inline-block;\n padding: 0.9rem 1.8rem;\n font-size: 16px;\n font-weight: 700;\n color: white;\n border: 3px solid rgb(252, 70, 100);\n cursor: pointer;\n position: relative;\n background-color: transparent;\n text-decoration: none;\n overflow: hidden;\n z-index: 1;\n font-family: inherit;\n}\n\n.btn::before {\n content: \"\";\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n background-color: rgb(252, 70, 100);\n transform: translateX(-100%);\n transition: all .3s;\n z-index: -1;\n}\n\n.btn:hover::before {\n transform: translateX(0);\n}",
    "file_path": "/mnt/persist/workspace/Buttons/ernestnash_cold-turtle-83.html"
  },
  "uniapp": {
    "template": "<navigator class=\"btn\" href=\"#\">I am a button</navigator>",
    "script": "export default {\n  name: 'GalaxyColdTurtle83',\n  props: {\n    // 根据组件类型动态生成props\n  },\n  data() {\n    return {\n      // 组件状态\n    };\n  },\n  methods: {\n    // 组件方法\n  }\n}",
    "style": "\n/* From Uiverse.io by ernestnash - Tags: button */\n.btn {\n display: inline-block;\n padding: 0.9rem 1.8rem;\n font-size: 32rpx;\n font-weight: 700;\n color: white;\n border: 6rpx solid rgb(252, 70, 100);\n /* #ifdef H5 */\n  cursor: pointer;\n  /* #endif */\n position: relative;\n background-color: transparent;\n text-decoration: none;\n overflow: hidden;\n z-index: 1;\n font-family: inherit;\n}\n\n.btn::before {\n content: \"\";\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n background-color: rgb(252, 70, 100);\n transform: translateX(-100%);\n transition: all .3s;\n z-index: -1;\n}\n\n.btn:hover::before {\n transform: translateX(0);\n}\n",
    "component_name": "GalaxyColdTurtle83"
  },
  "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": 650,
    "render_cost": "medium",
    "memory_usage": "medium"
  },
  "dependencies": [],
  "examples": [
    {
      "title": "",
      "description": "",
      "code": ""
    }
  ],
  "created_at": "2025-07-31T07:55:36.629Z",
  "updated_at": "2025-07-31T07:55:36.629Z"
}