galaxy-uniapp-mcp-server
Version:
Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成
110 lines • 6.24 kB
JSON
{
"id": "Carlos-vargs_breezy-horse-95",
"name": "breezy-horse-95",
"category": "buttons",
"author": "Carlos-vargs",
"description": "breezy-horse-95 组件 (button, hover, animated, animation, interactive)",
"tags": [
"button",
"hover",
"animated",
"animation",
"interactive"
],
"original": {
"html": "<button class=\"button\">\n <span class=\"text\">send message</span>\n <span class=\"icon\"><svg viewBox=\"0 0 512 512\" xmlns=\"http://www.w3.org/2000/svg\" data-icon=\"paper-plane\" width=\"20px\" aria-hidden=\"true\"><path d=\"M476 3.2L12.5 270.6c-18.1 10.4-15.8 35.6 2.2 43.2L121 358.4l287.3-253.2c5.5-4.9 13.3 2.6 8.6 8.3L176 407v80.5c0 23.6 28.5 32.9 42.5 15.8L282 426l124.6 52.2c14.2 6 30.4-2.9 33-18.2l72-432C515 7.8 493.3-6.8 476 3.2z\" fill=\"currentColor\"></path></svg></span>\n</button>",
"css": "/* From Uiverse.io by Carlos-vargs - Tags: button, hover, animated */\n.button {\n display: flex;\n align-items: center;\n justify-content: center;\n position: relative;\n width: 100%;\n border-radius: 36px;\n font-weight: 700;\n height: 54px;\n font-size: 16px;\n padding-inline: 20px;\n background-color: transparent;\n color: #fff;\n text-transform: uppercase;\n overflow: hidden;\n text-align: center;\n transition: all .25s ease-in-out;\n z-index: 1;\n border: none;\n}\n\n.button:is(:hover, :focus)::before {\n transform: translateX(0%);\n}\n\n.text {\n white-space: nowrap;\n line-height: 1.2;\n padding-inline-end: 44px;\n z-index: 2;\n}\n\n/* change the width and height to 100% when you use it in your layout */\n.button::after {\n content: '';\n position: absolute;\n height: calc(100% - 2px);\n width: calc(100% - 2px);\n border: 1px solid #FFB400;\n border-radius: 36px;\n z-index: 2;\n}\n\n.button::before {\n content: \"\";\n position: absolute;\n height: 100%;\n width: 100%;\n background-color: #FFB400;\n z-index: 1;\n left: -2px;\n transform: translateX(90%);\n transition: all .3s ease-out;\n}\n\n.icon {\n display: inherit;\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n right: 0;\n width: 54px;\n height: 54px;\n justify-content: center;\n align-items: center;\n border-radius: 100%;\n background-color: #FFB400;\n z-index: 2;\n}",
"file_path": "/mnt/persist/workspace/Buttons/Carlos-vargs_breezy-horse-95.html"
},
"uniapp": {
"template": "<button class=\"button\"></button>\n <text class=\"text\">send message</text>\n <text class=\"icon\"><view viewBox=\"0 0 512 512\" xmlns=\"http://www.w3.org/2000/svg\" data-icon=\"paper-plane\" width=\"20px\" aria-hidden=\"true\"><path d=\"M476 3.2L12.5 270.6c-18.1 10.4-15.8 35.6 2.2 43.2L121 358.4l287.3-253.2c5.5-4.9 13.3 2.6 8.6 8.3L176 407v80.5c0 23.6 28.5 32.9 42.5 15.8L282 426l124.6 52.2c14.2 6 30.4-2.9 33-18.2l72-432C515 7.8 493.3-6.8 476 3.2z\" fill=\"currentColor\"></path></view></text>\n</button>",
"script": "export default {\n name: 'GalaxyBreezyHorse95',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}",
"style": "\n/* From Uiverse.io by Carlos-vargs - Tags: button, hover, animated */\n.button {\n display: flex;\n align-items: center;\n justify-content: center;\n position: relative;\n width: 100%;\n border-radius: 72rpx;\n font-weight: 700;\n height: 108rpx;\n font-size: 32rpx;\n padding-inline: 40rpx;\n background-color: transparent;\n color: #fff;\n text-transform: uppercase;\n overflow: hidden;\n text-align: center;\n transition: all .25s ease-in-out;\n z-index: 1;\n border: none;\n}\n\n.button:is(:hover, :focus)::before {\n transform: translateX(0%);\n}\n\n.text {\n white-space: nowrap;\n line-height: 1.2;\n padding-inline-end: 88rpx;\n z-index: 2;\n}\n\n/* change the width and height to 100% when you use it in your layout */\n.button::after {\n content: '';\n position: absolute;\n height: calc(100% - 4rpx);\n width: calc(100% - 4rpx);\n border: 2rpx solid #FFB400;\n border-radius: 72rpx;\n z-index: 2;\n}\n\n.button::before {\n content: \"\";\n position: absolute;\n height: 100%;\n width: 100%;\n background-color: #FFB400;\n z-index: 1;\n left: -4rpx;\n transform: translateX(90%);\n transition: all .3s ease-out;\n}\n\n.icon {\n display: inherit;\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n right: 0;\n width: 108rpx;\n height: 108rpx;\n justify-content: center;\n align-items: center;\n border-radius: 100%;\n background-color: #FFB400;\n z-index: 2;\n}\n\n\n",
"component_name": "GalaxyBreezyHorse95"
},
"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": [],
"alternatives": []
},
"mp-alipay": {
"supported": true,
"issues": [],
"alternatives": []
},
"app-plus": {
"supported": true,
"issues": [],
"alternatives": []
}
},
"performance": {
"complexity": "medium",
"bundle_size": 1835,
"render_cost": "medium",
"memory_usage": "medium"
},
"dependencies": [],
"examples": [
{
"title": "",
"description": "",
"code": ""
}
],
"created_at": "2025-07-31T07:55:32.881Z",
"updated_at": "2025-07-31T07:55:32.881Z"
}