| name | xyz-fade-down |
| description | Fade Down — a composable AnimXYZ entrance via the xyz="fade down-3" attribute. Declarative: mix
fade + move + scale + rotate without writing keyframes. MIT. Honors prefers-reduced-motion.
|
| triggers | ["fade down","animxyz","淡入下移"] |
| od | {"mode":"prototype","surface":"web","platform":"desktop","category":"animation-motion","upstream":"https://animxyz.com","preview":{"type":"html"},"design_system":{"requires":false},"example_prompt":"Use AnimXYZ xyz=\"fade down-3\" on the element as a entrance; toggle xyz-in to play, with a\nprefers-reduced-motion fallback.\n"} |
XYZ · Fade Down
Fade Down — 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 down-3" on the element. 3. Toggle class xyz-in / xyz-out.
Accessibility & license
- prefers-reduced-motion: no autoplay. MIT.