Agent Skills
› nexu-io/motion-anything
› xyz-fade-left
xyz-fade-left
GitHub提供基于AnimXYZ的声明式淡入左移动画效果,通过xyz属性组合渐变、位移等特效,无需编写关键帧。支持减少动态偏好设置,适用于单个元素入场,避免过度使用导致CSS体积膨胀。
Trigger Scenarios
需要实现声明式的淡入左移动画效果
希望使用xyz属性配置复合入场动画而非手动编写CSS关键帧
Install
npx skills add nexu-io/motion-anything --skill xyz-fade-left -g -y
SKILL.md
Frontmatter
{
"od": {
"mode": "prototype",
"preview": {
"type": "html"
},
"surface": "web",
"category": "animation-motion",
"platform": "desktop",
"upstream": "https:\/\/animxyz.com",
"design_system": {
"requires": false
},
"example_prompt": "Use AnimXYZ xyz=\"fade left-3\" on the element as a entrance; toggle xyz-in to play, with a\nprefers-reduced-motion fallback."
},
"name": "xyz-fade-left",
"triggers": [
"fade left",
"animxyz",
"淡入左移"
],
"description": "Fade Left — a composable AnimXYZ entrance via the xyz=\"fade left-3\" attribute. Declarative: mix\nfade + move + scale + rotate without writing keyframes. MIT. Honors prefers-reduced-motion.\n"
}
XYZ · Fade Left
Fade Left — composable entrance from AnimXYZ (MIT). Part of motion-anything.
When to use it
- Declarative entrance mixing fade/move/scale/rotate via xyz="..." — no keyframes to write.
When NOT to use it (restraint)
- Shipping ~100KB core CSS for a single effect; overusing on many elements.
How to apply
- Include @animxyz/core CSS. 2. Set xyz="fade left-3" on the element. 3. Toggle class xyz-in / xyz-out.
Accessibility & license
- prefers-reduced-motion: no autoplay. MIT.
Version History
- b016900 Current 2026-07-11 17:01


