Skip to content
G

gsap-performance

Optimize GSAP animations for smooth 60fps by favoring transforms

by greensockFree

#3165in AI Skills
0In stores

Description

gsap-performance is the official GreenSock skill for making GSAP animations run smoothly at 60 frames per second. It applies when you are op…

Highlights

  • Animate transform and opacity instead of layout properties
  • Warnings for width, height, top, left, margin and padding
  • GSAP x and y use transforms by default
  • Guidance on will-change
  • Points to gsap-core, gsap-timeline and gsap-scrolltrigger

Ratings & Reviews

No ratings yet

Be the first to rate gsap-performance.

People also visit

G

gsap-performance

Official GSAP skill for performance

AI Skills
Get
G

gsap-skills (repo)

Official GSAP guidance: patterns, plugins and best practices

AI Skills
Get
F

fixing-motion-performance

Audit and fix animation performance issues including layout thrashing

AI Skills
Get
G

gsap-frameworks

GSAP animation setup for Vue, Svelte, Nuxt, and other component frameworks

AI Skills
Get
G

gsap

GSAP animations for JARVIS HUD transitions and effects

AI Skills
Get
G

gsap-core

Correct GSAP core API: tweens, easing, stagger, matchMedia

AI Skills
Get

gsap-performance FAQ

What does the skill cover?

Optimizing GSAP animations for smooth 60 frames per second, reducing layout and paint cost, and fixing jank.

Which properties should I animate?

x, y, scale, rotation and opacity. The skill says to avoid width, height, top, left, margin and padding when a transform can do the job.

Why use x and y instead of left and top?

GSAP's x and y use transforms by default, which the skill recommends for moving elements.

Does it cover ScrollTrigger?

Not in full. For ScrollTrigger performance it points to the gsap-scrolltrigger skill.

How do I install it?

Run npx skills add https://github.com/greensock/gsap-skills --skill gsap-performance.

What do the security audits show?

Gen Agent Trust Hub, Socket and Snyk all pass.

What are the best gsap-performance alternatives?

Popular alternatives to gsap-performance include gsap-performance, gsap-skills (repo) and fixing-motion-performance. See all gsap-performance alternatives

Developer Stuff

Badges