UNPKG

galaxy-uniapp-mcp-server

Version:

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

90 lines 3.46 kB
{ "id": "choudhary-usman_swift-hound-29", "name": "swift-hound-29", "category": "loaders", "author": "choudhary-usman", "description": "swift-hound-29 组件 (simple, material design, icon, animation, loader, animated, gradient)", "tags": [ "simple", "material design", "icon", "animation", "loader", "animated", "gradient" ], "original": { "html": "<div class=\"loader\"></div>", "css": "/* From Uiverse.io by choudhary-usman - Tags: simple, material design, icon, animation, loader, animated */\n.loader {\n --s: 15px;\n width: calc(var(--s) * 2.33);\n aspect-ratio: 1;\n display: flex;\n justify-content: space-between;\n}\n.loader::before,\n.loader::after {\n content: \"\";\n width: var(--s);\n --_g: no-repeat radial-gradient(farthest-side, #000 94%, #0000);\n background: var(--_g) top, var(--_g) bottom;\n background-size: 100% var(--s);\n transform-origin: 50% calc(100% - var(--s) / 2);\n animation: l30 1s infinite;\n}\n.loader::after {\n transform-origin: 50% calc(var(--s) / 2);\n}\n@keyframes l30 {\n 70%,\n 100% {\n transform: rotate(-270deg);\n }\n}", "file_path": "/mnt/persist/workspace/loaders/choudhary-usman_swift-hound-29.html" }, "uniapp": { "template": "<view class=\"loader\"></view>", "script": "export default {\n name: 'GalaxySwiftHound29',\n props: {\n // 根据组件类型动态生成props\n },\n data() {\n return {\n // 组件状态\n };\n },\n methods: {\n // 组件方法\n }\n}", "style": "\n/* From Uiverse.io by choudhary-usman - Tags: simple, material design, icon, animation, loader, animated */\n.loader {\n --s: 30rpx;\n width: calc(var(--s) * 2.33);\n aspect-ratio: 1;\n display: flex;\n justify-content: space-between;\n}\n.loader::before,\n.loader::after {\n content: \"\";\n width: var(--s);\n --_g: no-repeat radial-gradient(farthest-side, #000 94%, #0000);\n background: var(--_g) top, var(--_g) bottom;\n background-size: 100% var(--s);\n transform-origin: 50% calc(100% - var(--s) / 2);\n animation: l30 1s infinite;\n}\n.loader::after {\n transform-origin: 50% calc(var(--s) / 2);\n}\n@keyframes l30 {\n 70%,\n 100% {\n transform: rotate(-270deg);\n }\n}\n\n", "component_name": "GalaxySwiftHound29" }, "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": "是否禁用" } ], "events": [], "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": 704, "render_cost": "medium", "memory_usage": "medium" }, "dependencies": [], "examples": [ { "title": "", "description": "", "code": "" } ], "created_at": "2025-07-31T07:55:41.100Z", "updated_at": "2025-07-31T07:55:41.100Z" }