nexu-io avatar

Gsap Frameworks

Official GreenSock skill for using GSAP in Vue, Nuxt, Svelte, and SvelteKit. Covers the lifecycle patterns you need: creating animations after mount (onMounted, onMount), scoping selectors with gsap.context() so they don't bleed into other components, and cleaning up on unmount with ctx.revert() to avoid leaks. The Nuxt section includes a typed composable for lazy-loading plugins like SplitText or MorphSVG to keep your bundle lean. If you're animating in a component framework that isn't React, this is the one to pull in. For React specifically, use gsap-react instead, which covers useGSAP hook patterns.

skills.sh installs
2.2K
GitHub stars
106.9K
last updated
Aug 21, 2026

Install

$ npx -y skills add nexu-io/open-design --skill gsap-frameworks --agent claude-code

Installs into .claude/skills of the current project.

Files

GSAP with Vue, Svelte, and Other Frameworks

Curated from GreenSock's official GSAP skills: https://github.com/greensock/gsap-skills

When to Use This Skill

Apply when writing or reviewing GSAP code in Vue (or Nuxt), Svelte (or SvelteKit), or other component frameworks that use a lifecycle (mounted/unmounted). For React specifically, use gsap-react (useGSAP hook, gsap.context()).

Related skills: For tweens and timelines use gsap-core and gsap-timeline; for scroll-based animation use gsap-scrolltrigger; for React use gsap-react.

Principles (All Frameworks)

  • Create tweens and ScrollTriggers after the component’s DOM is available (e.g. onMounted, onMount).
  • Kill or revert them in the unmount (or equivalent) cleanup so nothing runs on detached nodes and there are no leaks.
  • Scope selectors to the component root so .box and similar only match elements inside that component, not the rest of the page.

Vue 3 (Composition API)

For a runnable Vite + Vue 3 project demonstrating these patterns, see the upstream example at https://github.com/greensock/gsap-skills/tree/aed9cfd3277740755f6bfc1155c7aa645403b760/examples/vue.

Sponsors

Details

Repository
github.com/nexu-io/open-design
Categories
Frontend Development, Design & UI/UX
First seen
Jul 14, 2026

More from nexu-io/open-design

All 217
1jezweb avatartanstack-startjezweb/claude-skillsBuild a full-stack TanStack Start app on Cloudflare Workers from scratch — SSR, file-based routing, server functions, D1+Drizzle, better-auth, Tailwind v4+shadc2.2Kskills.sh installs
2android avatarstylesandroid/skillsUse this skill to integrate the Jetpack Compose Styles API into an Android project. This skill guides you through upgrading dependencies, setting up component t2.2Kskills.sh installs
3netresearch avatarcontext7netresearch/context7-skillUse when looking up library documentation, API references, framework patterns, or code examples for ANY library (React, Next.js, Vue, Django, Laravel, etc.) and2.1Kskills.sh installs
4josiahsiegel avatartailwindcss-mobile-firstjosiahsiegel/claude-plugin-marketplaceMobile-first responsive design patterns with Tailwind CSS v4 (2025-2026). PROACTIVELY activate for: (1) mobile-first design with Tailwind breakpoints (sm:, md:,2.1Kskills.sh installs
5uni-stack avatarmigrate-nativewind-to-uniwinduni-stack/uniwindMigrate a React Native project from NativeWind to Uniwind. Use when the user wants to replace NativeWind with Uniwind, upgrade from NativeWind, switch to Uniwin2Kskills.sh installs
6enzed avatarr3f-lightingenzed/r3f-skillsReact Three Fiber lighting - light types, shadows, Environment component, IBL. Use when adding lights, configuring shadows, setting up environment lighting, or 2Kskills.sh installs