Agent Skills
› nexu-io/motion-anything
› crosshair
crosshair
GitHub提供轻量级自定义十字准星光标,精准追踪指针,适用于工具类或仪表盘界面。支持通过全局变量自定义颜色,兼容触屏设备自动关闭及尊重系统减少动画偏好设置。
Trigger Scenarios
需要科技感或精确指向的UI设计
构建数据可视化或专业工具型网页
Install
npx skills add nexu-io/motion-anything --skill crosshair -g -y
SKILL.md
Frontmatter
{
"od": {
"mode": "prototype",
"preview": {
"type": "html"
},
"surface": "web",
"category": "animation-motion",
"platform": "desktop",
"design_system": {
"requires": false
}
},
"name": "crosshair",
"triggers": [
"crosshair cursor",
"targeting lines",
"准星光标",
"十字定位"
],
"description": "A thin crosshair spans the viewport and tracks the pointer — a precise, techy custom cursor. One per page; suits tools\/dashboards. Off on touch and under prefers-reduced-motion.\n"
}
crosshair
Crosshair Cursor Dependency-free, reduced-motion safe.
How to apply
Copy crosshair.js and include it. Set window.__chColor before load to tint.
Version History
- b016900 Current 2026-07-11 17:07


