rotating-text
A word that cycles in place. Dependency-free, reduced-motion safe.
How to apply
Copy css+js; <span class="rot" data-words="a|b|c">a</span>.
Rotating text is an AI agent skill from the GitHub repository nexu-io/motion-anything. One word swaps for the next in place — a compact way to cycle a few phrases in a headline. One rotator per view; short words. Under prefers-reduced-motion it swaps text with no travel.
.claude/skills/rotating-text/SKILL.md.cursor/rules/rotating-text.md.agents/skills/rotating-text/SKILL.mdA word that cycles in place. Dependency-free, reduced-motion safe.
Copy css+js; <span class="rot" data-words="a|b|c">a</span>.