本文へスキップ
Kitbay
スキル

animejs

MIT2026年11月2日 更新64GitHubスター

A reference skill bundled with DevLabs for animating web and Electron interfaces with Anime.js version 4.

スキルの内容

A reference skill bundled with DevLabs for animating web and Electron interfaces with Anime.js version 4. It first helps choose between plain CSS transitions, Anime.js, a per-frame render loop or a React motion library already in the project, and says to check the installed version before relying on it. It then covers the version 4 API with named imports, timelines, staggered lists, number counters and SVG line drawing, and notes what changed from version 3. Its rules favour animating transform and opacity, one timeline per screen, honouring reduced-motion settings, cleaning up animations when components unmount and pausing them when a view is hidden.

できること

  • Choose between CSS, Anime.js and a render loop
  • Write Anime.js v4 timelines and staggers
  • Animate counters and SVG line drawing
  • Respect reduced-motion settings