Add a GSAP reveal effect to any text element in seconds
Our GSAP text reveal effects offer advanced animation effects for any text element in Webflow. These effects are perfect for bodies of text, and provide a subtle fade and reveal as they are scrolled into view.
These GSAP Reveal Boosters can be added effortlessly using our Webflow Boosters App or manually by following the instructions below.
To enable the GSAP animations, you'll need to add the script to your Webflow project. Follow the instructions below to add the scripts to your project:
<head>
section of your Webflow custom code settings. (Need help with custom code? Learn more here).<!-- Flowbase Booster [Text Reveal] -->
<script src="https://cdn.jsdelivr.net/npm/@flowbase-co/boosters-gsap-text-reveal@1/dist/gsap-text-reveal.min.js" type="text/javascript"></script>
<script src="https://cdn.jsdelivr.net/npm/@flowbase-co/boosters-gsap@3/dist/gsap.min.js" type="text/javascript"></script>
To animate your text element (or span), simply add the following attributes. Any effect-specific attributes will be detailed under their respective effect headings below.
These attributes are essential and must be applied to the text element you want to animate:
fb-text-reveal
= true
Default: true
fb-text-reveal-type
= 1-5
Default: 1
These attributes are optional; if not specified, their default values will apply:
fb-text-reveal-offset
= 0-100
Default: 0
Browse through the effects below to preview and choose the one that fits your design. Some effects include specific attributes for customization, such as color and other elements. You’ll find these unique attributes detailed alongside each effect.
Adds a blur reveal effect accross the whole text as its scrolled in view. Preview Effect
fb-text-reveal
= true
fb-text-reveal-type
= 1
Adds a blur to the whole text, and reveals it as its scrolled in view. Preview Effect
fb-text-reveal
= true
fb-text-reveal-type
= 2
Draws a soft line for each line of text and then reveals it as its scrolled in view . Preview Effect
fb-text-reveal
= true
fb-text-reveal-type
= 3
Applies a slanted text effect and a blur to reveal it as its scrolled in view. Preview Effect
fb-text-reveal
= true
fb-text-reveal-type
= 4
Apply a custom color over the base color when the element scrolls into view. Preview Effect
fb-text-reveal
= true
fb-text-highlight-type
= 5
fb-text-reveal-color-end
= color (rgb | hex | name)
Default: currentColor
With the necessary attributes added to your text element and the scripts installed, you're all set to publish your site. Start by publishing your Webflow project to the staging domain, then test to ensure the animation is working as expected.
If you encounter any issues, open the Chrome Developer Console to check for errors or warnings that might help pinpoint the problem.
Easily add these effects—and more—directly using our Booster app. The app streamlines the process by managing and installing scripts and attributes for you. Plus, it keeps your setup up-to-date with automatic updates whenever we release new scripts or effects.
You can download the Booster app for free from the Webflow App Store.
These effects are available for both personal and commercial use. They are provided to you free of charge, with modifications made to the original code from Codrops and GSAP. The respective licenses are as follows:
Your support means the world to us! In just 10 seconds, you can make a big difference:
Thank you for being awesome! 🌟