gsap-core

Create and control GSAP core web animations with tweens and timelines.

2|1|Updated Mar 18, 2021
One-click install
npx skills add https://github.com/nnecec/nnecec.studio --skill gsap-core-nnecec
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gsap-core
Source: https://github.com/nnecec/nnecec.studio/tree/main/.agents/skills/gsap-core
Command: npx skills add https://github.com/nnecec/nnecec.studio --skill gsap-core-nnecec

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The GSAP core skill provides a robust, framework-agnostic foundation for building and controlling web animations, enabling developers to implement smooth, reliable motion with minimal effort.

Core Features & Use Cases

  • Core tween methods: use gsap.to, gsap.from, gsap.fromTo, and gsap.set to animate DOM or SVG elements with precise control over duration, easing, and transforms.
  • Timeline & sequencing: coordinate multiple animations with timelines and staggered delays for coherent UI motion.
  • Scroll-driven & responsive animation: leverage gsap.matchMedia and ScrollTrigger patterns to adapt animations to breakpoints and user preferences.
  • Framework-agnostic: runs in React, Vue, Svelte, or vanilla JS, and powers Webflow interactions.

Quick Start

Create a simple GSAP tween to animate an element using the core API.

Frequently Asked Questions about gsap-core

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

FAQPage Schema
How do I create web animations with GSAP across different frameworks like React or Vue?

GSAP provides a framework-agnostic core API, allowing you to create web animations in React, Vue, Svelte, or vanilla JS. You use core tween methods like gsap.to, gsap.from, and gsap.set to animate DOM elements consistently across these environments.

What is the best way to sequence multiple web animations using GSAP?

The best way to sequence multiple web animations is using GSAP timelines. Timelines allow you to coordinate multiple tweens with staggered delays, ensuring coherent UI motion and precise control over the overall animation sequence.

Can I build scroll-driven web animations that respect reduced-motion user preferences?

Yes, you can build scroll-driven animations using ScrollTrigger patterns alongside gsap.matchMedia. This combination allows you to adapt web animations to specific breakpoints and gracefully handle reduced-motion scenarios for better accessibility.

How do GSAP core tween methods control DOM element transforms?

GSAP core tween methods like gsap.fromTo and gsap.set control DOM element transforms by defining precise start and end states. You specify duration, easing, and transform properties directly within the tween method for smooth motion.

Does GSAP work for frontend UI development without external dependencies?

GSAP works for frontend UI development as a standalone, framework-agnostic tool with no required dependencies. It provides a robust foundation for building and controlling web animations directly on DOM or SVG elements with minimal effort.

Why should I use GSAP timelines instead of individual tweens for UI motion?

Using GSAP timelines instead of individual tweens allows you to coordinate multiple animations as a single cohesive unit. This approach provides precise control over staggered delays and overall sequencing, ensuring coherent UI motion across complex interactions.