Can I use GSAP in building templates for selling on marketplace?

Hello everyone ,

Can or can’t I use GSAP custom code for templates I’m planning to sell on Webflow marketplace ?

In the template submission guidelines tab called “Required Practices” it says :

“Custom code (in site settings, in embeds, in page settings) is not allowed in Templates”

And yet there’s another tab called “GSAP” explaining what to do when adding GSAP coding in the template

I’m confused …

Because I do want to use GSAP.. by placing some code within page settings and some in site settings, but I’m not sure if it’s allowed or not


Hello @Na_Sul,

Yeah this is confusing but I think on the guidelines when they say GSAP they are referring to the new Webflow interactions using GSAP. So I think you can use GSAP as long as you use it with the new interactions panel, and as long as you have a separate page explaining how to use those animations. As for traditional GSAP code, I think based on the docs, that is still not allowed. I hope this helps.

Thank you for replying.. but now I’m more confused :joy:

Not sure what you mean by “traditional GSAP”

All I know is that GSAP is now easier to add to Webflow instead of adding the library and downloading GSAP and whatever because of the buyout, now it’s just turn on GSAP in settings and add custom code in page or site settings and that’s it.

I don’t know what you mean by Webflow’s GSAP and traditional GSAP.. Aren’t they the same? (I didn’t even know there was even a difference)

ps: I included screenshots in the post

Hey there!

So there are two routes to add GSAP powered animation to templates

  1. Custom code
  2. The new Webflow interactions

Very recently Webflow decided to add a little leeway to the “no custom code” rule to allow specifically for custom GSAP code within templates. This is quite strictly moderated. As you see, the outline you provided in the screenshot shows the guidelines for writing custom GSAP code. I agree this needs to be included in the Custom code exceptions

What @Pablo_Cortes is mentioning is the new interactions (which uses GSAP under the hood) Introducing Webflow Interactions, powered by GSAP | Webflow Updates

1 Like

Thanks for clarifying @CassieEvans!

Hi Cassie!

Nice to get a reply from the GSAP legend herself

Yes I was wondering why they didn’t include GSAP custom code as an exception in the “except for” list if it was allowed… but thanks to you, it’s clear now :+1: and thank you @Pablo_Cortes too for trying to clarify!

This is my first post and loving the support already.. much appreciated :heart:

2 Likes

And they’re editing it now thanks to you! So it’ll be clearer in future :folded_hands: