Skip to content
Kitbay
Skill

animejs

MITUpdated on Nov 2, 202664GitHub stars

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

What the skill teaches

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.

Capabilities

  • 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