animejs

Create timeline, stagger, and SVG animations with the Anime.js JavaScript engine.

Updated Jun 30, 2026
One-click install
npx skills add https://github.com/ayofemiade/cleva --skill animejs-ayofemiade
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: animejs
Source: https://github.com/ayofemiade/cleva/tree/main/.claude/skills/animejs
Command: npx skills add https://github.com/ayofemiade/cleva --skill animejs-ayofemiade

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve? Building choreographed web animations with vanilla JavaScript requires manually managing timing, easing, and sequencing across DOM, CSS, SVG, and JavaScript object targets, which is error-prone and hard to maintain. ## Core Features & Use Cases - Timeline Sequencing: Chain multi-step animations with relative offsets like '-=500' for overlapping choreography. - Stagger & Grid Effects: Distribute delays across element sets with from-center, grid, and axis options. - SVG Animation: Perform path morphing, line drawing via strokeDashoffset, and motion-path following. - Use Case: Build a hero section entrance where the background scales in, the title slides up, and the CTA button pops in with precise overlapping timing, all in one timeline. ## Quick Start Use the animejs skill to create a staggered grid reveal animation for my landing page elements.

Frequently Asked Questions about animejs

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a stagger animation with Anime.js?▼

Use anime.stagger(delay) as the delay value to increment timing across multiple targets. Add options like grid dimensions, from: 'center', and axis to control the stagger origin and direction for grid-based reveals.

Anime.js vs GSAP: which should I use for web animations?▼

Anime.js suits SVG-heavy animations, simpler projects, and smaller bundle sizes at about 9KB gzipped. GSAP is better for complex scroll-driven experiences, advanced timeline control, and professional-grade sequencing needs.

Can I use Anime.js with React components?▼

Yes, Anime.js works with React via useRef and useEffect by targeting the ref element. Store the animation instance and call animation.pause() in the cleanup function to prevent animations continuing after unmount.

How do I animate SVG path morphing in Anime.js?▼

Animate the d attribute with an array of path values representing start and end shapes. For line drawing, animate strokeDashoffset from anime.setDashoffset to 0 with an easing function.

Why is my Anime.js transform animation not working?▼

Anime.js cannot animate the CSS transform property string directly. Use individual transform properties like translateX, rotate, and scale instead, and include units such as 'px' for dimensional values.

What are the performance limitations of Anime.js?▼

Anime.js performs best animating transform and opacity properties on under 100 elements. Avoid animating layout properties like width or left, and prefer CSS animations for infinite loops or very large element sets.