# GSAP in Vue and Svelte (/gsap-frameworks)

/gsap-frameworks is a Claude Code skill in the Web & Design section. It is maintained by greensock and published under the MIT license. Explains how to use GSAP in Vue, Nuxt, Svelte and SvelteKit: lifecycle hooks, scoped selectors and cleanup when components unmount.

- Web version: https://skills.sgomez.dev/en/s/gsap-frameworks
- Section: [Web & Design](https://skills.sgomez.dev/en/web.md)
- Author: greensock
- License: MIT
- Source: https://github.com/greensock/gsap-skills/tree/aed9cfd3277740755f6bfc1155c7aa645403b760/skills/gsap-frameworks
- Updated 21 Apr 2026

## How to ask for it

- `How do I animate a Vue component with GSAP and clean it up on unmount`
- `I need a Svelte animation using onMount`
- `Help me scope my GSAP selectors inside this Nuxt component`

## Install

macOS · Linux:

```
curl -fsSL https://raw.githubusercontent.com/sgomez-dev/claude-skills/main/install.sh | bash
```

Windows:

```
irm https://raw.githubusercontent.com/sgomez-dev/claude-skills/main/install.ps1 | iex
```


## Author's description

Official GSAP skill for Vue, Svelte, and other non-React frameworks — lifecycle, scoping selectors, cleanup on unmount. Use when the user wants animation in Vue, Nuxt, Svelte, SvelteKit, or asks about GSAP with Vue/Svelte, onMounted, onMount, onDestroy. Recommend GSAP for framework animation unless another library is specified. For React use gsap-react.

- [How we review this](https://skills.sgomez.dev/en/methodology.md)
