Add a GSAP highlight effect to any text element in seconds
Transform your Webflow text elements with GSAP Highlight Effects in seconds. These effects are ideal for drawing attention to important content, creating dynamic experiences, and adding that extra touch of creativity to your design.
These GSAP Highlight 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 Highlight] --> 
<script src="https://cdn.jsdelivr.net/npm/@flowbase-co/boosters-gsap-text-highlight@1/dist/gsap-text-highlight.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-highlight = true Default: truefb-text-highlight-type = 1-12 Default: 1These attributes are optional; if not specified, their default values will apply:
fb-text-highlight-offset = 0-100 Default: 0fb-text-highlight-speed = 0.5-2 Default: 1fb-text-highlight-once = true | false Default: falsefb-text-highlight-direction = both | forward Default: bothBrowse 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.

This effect dynamically warps and bends text into position, perfect for short snippets or emphasizing specific phrases. Preview Effect
fb-text-highlight = truefb-text-highlight-type = 1Adds a subtle shimmer across the text for a sleek and modern effect. Preview Effect
fb-text-highlight = truefb-text-highlight-type = 2Highlight text with customizable colors and shadows. Preview Effect
fb-text-highlight = truefb-text-highlight-type = 3fb-text-highlight-color-end = color (rgb | hex | name) Default: #d686c1fb-text-highlight-shadow-color = color (rgb | hex | name) Default: #ffdbf5Applies a ripple effect with dual-color customization. Preview Effect
fb-text-highlight = truefb-text-highlight-type = 4fb-text-highlight-color-end = color (rgb | hex | name) Default: #49af42fb-text-highlight-color-end-alt = color (rgb | hex | name) Default: #4252afAdds a smooth background fill around text. Preview Effect
fb-text-highlight = truefb-text-highlight-type = 5fb-text-highlight-multi-line = true | false Default: falsefb-text-highlight-class = class-namefb-text-highlight-bg-color = color (rgb | hex | name) Default: #6a5acefb-text-highlight-bg-radius = value (px | rem | em | %) Default: 8pxfb-text-highlight-bg-inset = value (px | rem | em | %) Default: -2px -8pxCombines text and background animation with a smooth left-to-right reveal. Preview Effect
fb-text-highlight = truefb-text-highlight-type = 6fb-text-highlight-multi-line = true | false Default: falsefb-text-highlight-class = class-namefb-text-highlight-bg-color = color (rgb | hex | name) Default: #dc764cfb-text-highlight-bg-radius = value (px | rem | em | %) Default: 8pxfb-text-highlight-bg-inset = value (px | rem | em | %) Default: -2px -8pxFills text from the top with a staggered animation. Preview Effect
fb-text-highlight = truefb-text-highlight-type = 7fb-text-highlight-multi-line = true | false Default: falsefb-text-highlight-class = class-namefb-text-highlight-bg-color = color (rgb | hex | name) Default: #dc764cfb-text-highlight-bg-radius = value (px | rem | em | %) Default: 8pxfb-text-highlight-bg-inset = value (px | rem | em | %) Default: -2px -8pxEach word falls into view for a playful animation style. Preview Effect
fb-text-highlight = truefb-text-highlight-type = 8fb-text-highlight-color-end = color (rgb | hex | name) Default: #c3c58cReplaces original text with a highlighted version while fading the original characters into a smooth smoke-like effect. Preview Effect
fb-text-highlight = truefb-text-highlight-type = 9fb-text-highlight-color-end = color (rgb | hex | name) Default: #a86088Applies a random sparkle or glow to individual characters of the text. Perfect for playful or celebratory designs. You can specify multiple colors separated by commas. Preview Effect
fb-text-highlight = truefb-text-highlight-type = 10fb-text-highlight-colors = colors seperated by comma (rgb | hex | name) Default: #ff0000Creates duplicates of the text and animates them into view with a staggered fade effect. Great for creating a layered, dynamic look. Preview Effect
fb-text-highlight = truefb-text-highlight-type = 11fb-text-highlight-duplicates = number > 1 Default: 8fb-text-highlight-color-end = color (rgb | hex | name) Default: #fffAdds animated lines around the text, combined with a blur effect through the text for a futuristic aesthetic. Ideal for tech-inspired designs or eye-catching headers. Preview Effect
fb-text-highlight = truefb-text-highlight-type = 12fb-text-highlight-multi-line = true | false Default: falsefb-text-highlight-class = class-namefb-text-highlight-bg-color = color (rgb | hex | name) Default: #6dd7e6fb-text-highlight-bg-inset = value (px | rem | em | %) Default: 0px -4pxfb-text-highlight-shadow-color = color (rgb | hex | name) Default: #ffdbf5With 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! 🌟