Pular para o conteúdo
Kitbay
Skill

animejs

MITAtualizado em 2 de nov. de 202664Estrelas no GitHub

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

O que a skill ensina

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.

O que faz

  • 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