Agent Skillsnexu-io/motion-anything › xyz-fade-big

xyz-fade-big

GitHub

提供基于AnimXYZ的声明式CSS动画技能,通过xyz属性组合淡入、移动、缩放和旋转效果,无需编写关键帧。支持无障碍偏好设置,适用于前端页面元素入场动画实现。

recipes/animxyz/xyz-fade-big/SKILL.md nexu-io/motion-anything

Trigger Scenarios

需要为DOM元素添加进场动画 使用声明式方式配置CSS过渡效果

Install

npx skills add nexu-io/motion-anything --skill xyz-fade-big -g -y
More Options

Non-standard path

npx skills add https://github.com/nexu-io/motion-anything/tree/main/recipes/animxyz/xyz-fade-big -g -y

Use without installing

npx skills use nexu-io/motion-anything@xyz-fade-big

指定 Agent (Claude Code)

npx skills add nexu-io/motion-anything --skill xyz-fade-big -a claude-code -g -y

安装 repo 全部 skill

npx skills add nexu-io/motion-anything --all -g -y

预览 repo 内 skill

npx skills add nexu-io/motion-anything --list

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 big-50%\" on the element as a entrance; toggle xyz-in to play, with a\nprefers-reduced-motion fallback."
    },
    "name": "xyz-fade-big",
    "triggers": [
        "fade big",
        "animxyz",
        "淡入放大"
    ],
    "description": "Fade Big — a composable AnimXYZ entrance via the xyz=\"fade big-50%\" attribute. Declarative: mix\nfade + move + scale + rotate without writing keyframes. MIT. Honors prefers-reduced-motion.\n"
}

XYZ · Fade Big

Fade Big — 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

  1. Include @animxyz/core CSS. 2. Set xyz="fade big-50%" 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

Same Skill Collection

recipes/animxyz/xyz-fade-down/SKILL.md
recipes/animxyz/xyz-fade-left/SKILL.md
recipes/animxyz/xyz-fade-right/SKILL.md
recipes/animxyz/xyz-fade-small/SKILL.md
recipes/animxyz/xyz-fade-up/SKILL.md
recipes/animxyz/xyz-flip-left/SKILL.md
recipes/animxyz/xyz-flip-up/SKILL.md
recipes/animxyz/xyz-rise-big/SKILL.md
recipes/animxyz/xyz-rotate/SKILL.md
recipes/app/bottom-sheet/SKILL.md
recipes/app/button-press/SKILL.md
recipes/app/checkbox-pop/SKILL.md
recipes/app/ripple/SKILL.md
recipes/app/tab-bar-slide/SKILL.md
recipes/app/toast-pop/SKILL.md
recipes/css/anim-backindown/SKILL.md
recipes/css/anim-backinleft/SKILL.md
recipes/css/anim-backinright/SKILL.md
recipes/css/anim-backinup/SKILL.md
recipes/css/anim-backoutdown/SKILL.md
recipes/css/anim-backoutleft/SKILL.md
recipes/css/anim-backoutright/SKILL.md
recipes/css/anim-backoutup/SKILL.md
recipes/css/anim-bounce/SKILL.md
recipes/css/anim-bouncein/SKILL.md
recipes/css/anim-bounceindown/SKILL.md
recipes/css/anim-bounceinleft/SKILL.md
recipes/css/anim-bounceinright/SKILL.md
recipes/css/anim-bounceinup/SKILL.md
recipes/css/anim-bounceout/SKILL.md
recipes/css/anim-bounceoutdown/SKILL.md
recipes/css/anim-bounceoutleft/SKILL.md
recipes/css/anim-bounceoutright/SKILL.md
recipes/css/anim-bounceoutup/SKILL.md
recipes/css/anim-fadein/SKILL.md
recipes/css/anim-fadeinbottomleft/SKILL.md
recipes/css/anim-fadeinbottomright/SKILL.md
recipes/css/anim-fadeindown/SKILL.md
recipes/css/anim-fadeindownbig/SKILL.md
recipes/css/anim-fadeinleft/SKILL.md
recipes/css/anim-fadeinleftbig/SKILL.md
recipes/css/anim-fadeinright/SKILL.md
recipes/css/anim-fadeinrightbig/SKILL.md
recipes/css/anim-fadeintopleft/SKILL.md
recipes/css/anim-fadeintopright/SKILL.md
recipes/css/anim-fadeinup/SKILL.md
recipes/css/anim-fadeinupbig/SKILL.md
recipes/css/anim-fadeout/SKILL.md
recipes/css/anim-fadeoutbottomleft/SKILL.md

Metadata

Files
0
Version
b016900
Hash
82a8f3be
Indexed
2026-07-11 17:01

Главная - Вики-сайт
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-03 06:16
浙ICP备14020137号-1 $Гость$