gsap-core

Implement GSAP tweens and timelines on DOM or SVG elements.

1|Updated Feb 8, 2026
One-click install
npx skills add https://github.com/0monish/portfolio-vivek-kamani --skill gsap-core-0monish
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gsap-core
Source: https://github.com/0monish/portfolio-vivek-kamani/tree/main/.agents/skills/gsap-core
Command: npx skills add https://github.com/0monish/portfolio-vivek-kamani --skill gsap-core-0monish

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

GSAP-core provides a structured approach to implementing the core GSAP animation primitives (to, from, fromTo) across DOM and SVG with consistent patterns, performance, and accessibility considerations.

Core Features & Use Cases

  • Core tween methods: gsap.to(), gsap.from(), gsap.fromTo() for single elements and groups
  • Timeline-based animation and scroll-driven effects with ScrollTrigger
  • Framework-agnostic usage across React, Vue, Svelte, or vanilla JS, and compatibility with Webflow Interactions

Quick Start

Move a DOM element with class "box" by 100px using gsap.to() as an immediate, simple example.

Frequently Asked Questions about gsap-core

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

FAQPage Schema
How do I create GSAP timeline animations for DOM and SVG elements?

GSAP timeline animations are created using gsap.to(), gsap.from(), and gsap.fromTo() methods on DOM or SVG elements to achieve smooth, timeline-driven motion sequences. You can chain tweens and control playback for complex interaction-driven sequences.

Does GSAP work with React and Vue for scroll-driven animations?

GSAP works framework-agnostically across React, Vue, Svelte, and vanilla JS. You can implement scroll-driven effects using ScrollTrigger within these frameworks while maintaining consistent animation patterns and performance.

What is the best way to handle GSAP fades and transforms safely?

The best way to handle GSAP fades and transforms safely is using autoAlpha for fades and enforcing camelCase properties. This approach ensures consistent rendering, prevents transform conflicts, and maintains performance across animated elements.

How do I support reduced-motion contexts with GSAP ScrollTrigger?

Supporting reduced-motion contexts with GSAP ScrollTrigger involves checking user preferences and adjusting animations accordingly. You apply responsive patterns that respect accessibility requirements while maintaining scroll-driven effects across DOM elements.

Can I use GSAP core tweens for interaction-driven sequences on single elements?

GSAP core tweens using gsap.to(), gsap.from(), and gsap.fromTo() can be applied to single elements and groups for interaction-driven sequences. You bind these tween methods to user events to trigger smooth motion on DOM or SVG targets.