Xyz Rotate

Rotate In — a composable AnimXYZ entrance via the xyz="fade rotate-right-45" attribute. Declarative: mix fade + move + scale + rotate without writing keyframes. MIT. Honors prefers-reduced-motion.

Nexu Updated 108k repo stars
motion-anything — Anything becomes motion, on your laptop. Editorial dark banner with light-mode app windows: the component-motion workbench and the launch-vide

File contents

XYZ · Rotate In

Rotate In — 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 rotate-right-45" on the element. 3. Toggle class xyz-in / xyz-out.

Accessibility & license

  • prefers-reduced-motion: no autoplay. MIT.

nexu-io/motion-anything commit 7c580dc9f1

Frequently asked questions

npx get-skill add nexu-io/xyz-rotate