Agent Skills
› nexu-io/motion-anything
› dock
dock
GitHub提供 macOS 风格的 Dock 栏效果,图标随鼠标悬停放大。支持无依赖、单视图布局及无障碍模式(prefers-reduced-motion),需配合 CSS/JS 和 SVG 图标使用。
Trigger Scenarios
需要实现 macOS 风格的应用启动器 Dock 栏
希望图标具有跟随鼠标的放大交互效果
Install
npx skills add nexu-io/motion-anything --skill dock -g -y
SKILL.md
Frontmatter
{
"od": {
"mode": "prototype",
"preview": {
"type": "html"
},
"surface": "web",
"category": "animation-motion",
"platform": "desktop",
"design_system": {
"requires": false
}
},
"name": "dock",
"triggers": [
"dock",
"magnify dock",
"macos dock",
"程序坞",
"放大停靠栏"
],
"description": "A macOS-style dock whose icons magnify toward the cursor — a delightful app-launcher row. One dock per view. Icons stay flat under prefers-reduced-motion.\n"
}
dock
Magnify Dock Dependency-free, reduced-motion safe.
How to apply
Copy css+js; <div class="dock"><div class="dk">★</div>…</div>. Pairs with reicon SVGs.
Version History
- b016900 Current 2026-07-11 17:08


