gsap-core

Provide GSAP core tween methods and matchMedia for framework-agnostic animations.

Updated Mar 18, 2025
One-click install
npx skills add https://github.com/utsavm81098/88-residences --skill gsap-core-utsavm81098
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gsap-core
Source: https://github.com/utsavm81098/88-residences/tree/main/.agents/skills/gsap-core
Command: npx skills add https://github.com/utsavm81098/88-residences --skill gsap-core-utsavm81098

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Solves the challenge of building reliable, framework-agnostic animations by providing the GSAP core API (to, from, fromTo, ease, duration, stagger) and matchMedia support.

Core Features & Use Cases

Applied across React, Vue, vanilla JS, or HTML/CSS projects, including timelines, scroll-driven animations, and accessibility-conscious reduced-motion scenarios.

Quick Start

Demonstrate a basic GSAP core tween by animating a DOM element's horizontal position.

Frequently Asked Questions about gsap-core

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

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

Yes, GSAP core works with React and Vue to build scroll-driven animations. It provides timeline support and ScrollTrigger capabilities to sequence tweens across different framework environments.

What is the best way to sequence multiple tweens in a GSAP timeline?

Use the GSAP timeline feature to sequence multiple tweens. Timelines allow you to chain animations, control overall duration, and apply stagger effects to synchronize movements across multiple DOM elements.

How do I handle reduced-motion accessibility scenarios in GSAP?

Handle reduced-motion accessibility scenarios using gsap.matchMedia. This method allows you to conditionally apply or disable animations based on user preferences and responsive breakpoints.

Can I use GSAP core for animations without external dependencies?

Yes, you can use GSAP core for animations without external dependencies. It provides core tween methods, easing variants, and timeline support natively for vanilla JavaScript and HTML/CSS projects.