UNPKG

galaxy-uniapp-mcp-server

Version:

Galaxy组件库到UniApp组件转换MCP服务器 - 支持跨平台组件转换、兼容性分析和项目集成

116 lines 5.28 kB
{ "id": "0x-Sarthak_hungry-penguin-30", "name": "hungry-penguin-30", "category": "buttons", "author": "0x-Sarthak", "description": "hungry-penguin-30 组件 (button, hover, rounded, animated, hover button, animation, interactive)", "tags": [ "button", "hover", "rounded", "animated", "hover button", "animation", "interactive" ], "original": { "html": "<button class=\"cta\">\n <span>Contact Us &nbsp;</span>\n <svg viewBox=\"0 0 13 10\" height=\"10px\" width=\"15px\">\n <path d=\"M1,5 L11,5\"></path>\n <polyline points=\"8 1 12 5 8 9\"></polyline>\n </svg>\n</button>", "css": "/* From Uiverse.io by 0x-Sarthak - Tags: button, hover, rounded, animated, hover button */\n.cta {\n position: relative;\n margin: auto;\n padding: 11.5px 18px;\n transition: all 0.2s ease;\n border: 3px solid #552da8;\n border-radius: 50px;\n background: #552da8;\n cursor: pointer;\n}\n\n.cta:before {\n content: \"\";\n position: absolute;\n top: 0;\n right: 0;\n display: block;\n border-radius: 50px;\n background: white;\n width: 45px;\n height: 45px;\n transition: all 0.8s ease;\n}\n\n.cta span {\n position: relative;\n font-family: Montserrat;\n font-size: 18px;\n color: white;\n font-weight: 400;\n letter-spacing: 0.05em;\n}\n\n.cta svg {\n position: relative;\n top: 0;\n margin-left: 10px;\n fill: none;\n stroke-linecap: round;\n stroke-linejoin: round;\n stroke: white;\n stroke-width: 2;\n transform: translateX(-5px);\n transition: all 0.5s ease;\n}\n\n.cta:hover:before {\n width: 100%;\n background: #1c1c1c;\n}\n\n.cta:hover svg {\n transform: translateX(0);\n transition: all 2s ease;\n}\n\n.cta:active {\n transform: scale(0.95);\n transition: all 2s ease;\n}", "file_path": "/mnt/persist/workspace/Buttons/0x-Sarthak_hungry-penguin-30.html" }, "uniapp": { "template": "<button class=\"cta\"></button>\n <text>Contact Us &nbsp;</text>\n <view viewBox=\"0 0 13 10\" height=\"10px\" width=\"15px\"></view>\n <path d=\"M1,5 L11,5\"></path>\n <polyline points=\"8 1 12 5 8 9\"></polyline>\n </svg>\n</button>", "script": "export default {\n name: 'GalaxyHungryPenguin30',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by 0x-Sarthak - Tags: button, hover, rounded, animated, hover button */\n.cta {\n position: relative;\n margin: auto;\n padding: 23rpx 36rpx;\n transition: all 0.2s ease;\n border: 6rpx solid #552da8;\n border-radius: 100rpx;\n background: #552da8;\n /* #ifdef H5 */\n cursor: pointer;\n /* #endif */\n}\n\n.cta:before {\n content: \"\";\n position: absolute;\n top: 0;\n right: 0;\n display: block;\n border-radius: 100rpx;\n background: white;\n width: 90rpx;\n height: 90rpx;\n transition: all 0.8s ease;\n}\n\n.cta span {\n position: relative;\n font-family: Montserrat;\n font-size: 36rpx;\n color: white;\n font-weight: 400;\n letter-spacing: 0.05em;\n}\n\n.cta svg {\n position: relative;\n top: 0;\n margin-left: 20rpx;\n fill: none;\n stroke-linecap: round;\n stroke-linejoin: round;\n stroke: white;\n stroke-width: 2;\n transform: translateX(-10rpx);\n transition: all 0.5s ease;\n}\n\n.cta:hover:before {\n width: 100%;\n background: #1c1c1c;\n}\n\n.cta:hover svg {\n transform: translateX(0);\n transition: all 2s ease;\n}\n\n.cta:active {\n transform: scale(0.95);\n transition: all 2s ease;\n}\n\n", "component_name": "GalaxyHungryPenguin30" }, "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": 1280, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:32.321Z", "updated_at": "2025-07-31T07:55:32.321Z" }