00:00
Buy Me a Beer

How to Add GSAP Typewriter Animations in Webflow

Easy  Typewriter animations in Webflow text, heading, and paragraph elements when scrolling into view

Install the VisualDX Script

Firstly, make sure you have the VisualDX script before your </body>

Enable GSAP, SplitText Plugin, and ScrollTrigger Plugin

Add GSAP Typewriter Attribute

Copy this attribute:

vdx-gsap-typewriter

Paste the attribute into the Custom Attributes Name field of a Webflow Text Block, Paragraph, or Heading that you wish to animate.

Body
Text Block
Text Block
Style
Settings
Interactions
Text Block Settings
Custom Attributes
Name
vdx-gsap-typewriter
Value

Control Animation Duration

Copy this attribute:

vdx-gsap-duration

Paste the attribute into a Custom Attributes Name field of a Webflow Text Block, Paragraph, or Heading that have the GSAP Typewriter Attribute.

Add a Value in seconds to the Custom Attribute Value field.

e.g.

0.5 = 0.5 second duration
1 = 1 second duration
5 = 5 second duration

Body
Text Block
Text Block
Style
Settings
Interactions
Text Block Settings
Custom Attributes
Name
vdx-gsap-typewriter
Value
Name
vdx-gsap-staggerin
Value
2

Control Animation Stagger

Copy this attribute:

vdx-gsap-stagger

Paste the attribute into a Custom Attributes Name field of a Webflow Text Block, Paragraph, or Heading that have the GSAP Typewriter Attribute.

Add a Value in seconds to the Custom Attribute Value field.

e.g.

0.5 = 0.5 second duration
1 = 1 second duration
5 = 5 second duration

Body
Text Block
Text Block
Style
Settings
Interactions
Text Block Settings
Custom Attributes
Name
vdx-gsap-typewriter
Value
Name
vdx-gsap-stagger
Value
0.1

Disable Animation Across Breakpoints

Copy this attribute:

vdx-gsap-disable

Paste the attribute into a Custom Attributes Name field of a Webflow Text Block, Paragraph, or Heading that have the GSAP Typewriter Attribute.

Add a Value in seconds to the Custom Attribute Value field.

e.g. 478px = Mobile and down, 767px = Mobile Landscape and down, 991px = Tablet and down

Body
Div
Div
Div
Div
Div
Text Block
Style
Settings
Interactions
Text Block Settings
Custom Attributes
Name
vdx-gsap-staggerin
Value
Name
vdx-gsap-disable
Value
767px

Add GSAP Classic Animation

GSAP Typewriter Animations

Copy this value:

classic

Paste into the GSAP Typewriter Attribute Value field of the the Text Block, Paragraph, or Heading

Body
Text Block
Text Block
Style
Settings
Interactions
Text Block Settings
Custom Attributes
Name
vdx-gsap-typewriter
Value
classic

Add GSAP Digital Animation

GSAP Typewriter Animations

Copy this value:

digital

Paste into the GSAP Typewriter Attribute Value field of the the Text Block, Paragraph, or Heading

Body
Text Block
Text Block
Style
Settings
Interactions
Text Block Settings
Custom Attributes
Name
vdx-gsap-typewriter
Value
digital

Add GSAP Fade Animation

GSAP Typewriter Animations

Copy this value:

fade

Paste into the GSAP Typewriter Attribute Value field of the the Text Block, Paragraph, or Heading

Body
Text Block
Text Block
Style
Settings
Interactions
Text Block Settings
Custom Attributes
Name
vdx-gsap-typewriter
Value
fade

Add GSAP slide-up Animation

GSAP Typewriter Animations

Copy this value:

slide-up

Paste into the GSAP Typewriter Attribute Value field of the the Text Block, Paragraph, or Heading

Body
Text Block
Text Block
Style
Settings
Interactions
Text Block Settings
Custom Attributes
Name
vdx-gsap-typewriter
Value
slide-up

Add GSAP slide-down Animation

GSAP Typewriter Animations

Copy this value:

slide-down

Paste into the GSAP Typewriter Attribute Value field of the the Text Block, Paragraph, or Heading

Body
Text Block
Text Block
Style
Settings
Interactions
Text Block Settings
Custom Attributes
Name
vdx-gsap-typewriter
Value
slide-down

Add GSAP slide-left Animation

GSAP Typewriter Animations

Copy this value:

slide-left

Paste into the GSAP Typewriter Attribute Value field of the the Text Block, Paragraph, or Heading

Body
Text Block
Text Block
Style
Settings
Interactions
Text Block Settings
Custom Attributes
Name
vdx-gsap-typewriter
Value
slide-left

Add GSAP slide-right Animation

GSAP Typewriter Animations

Copy this value:

slide-right

Paste into the GSAP Typewriter Attribute Value field of the the Text Block, Paragraph, or Heading

Body
Text Block
Text Block
Style
Settings
Interactions
Text Block Settings
Custom Attributes
Name
vdx-gsap-typewriter
Value
slide-right

Add GSAP scale Animation

GSAP Typewriter Animations

Copy this value:

scale

Paste into the GSAP Typewriter Attribute Value field of the the Text Block, Paragraph, or Heading

Body
Text Block
Text Block
Style
Settings
Interactions
Text Block Settings
Custom Attributes
Name
vdx-gsap-typewriter
Value
scale

Add GSAP rotate Animation

GSAP Typewriter Animations

Copy this value:

rotate

Paste into the GSAP Typewriter Attribute Value field of the the Text Block, Paragraph, or Heading

Body
Text Block
Text Block
Style
Settings
Interactions
Text Block Settings
Custom Attributes
Name
vdx-gsap-typewriter
Value
rotate

Add GSAP bounce Animation

GSAP Typewriter Animations

Copy this value:

bounce

Paste into the GSAP Typewriter Attribute Value field of the the Text Block, Paragraph, or Heading

Body
Text Block
Text Block
Style
Settings
Interactions
Text Block Settings
Custom Attributes
Name
vdx-gsap-typewriter
Value
bounce

Add GSAP wave Animation

GSAP Typewriter Animations

Copy this value:

wave

Paste into the GSAP Typewriter Attribute Value field of the the Text Block, Paragraph, or Heading

Body
Text Block
Text Block
Style
Settings
Interactions
Text Block Settings
Custom Attributes
Name
vdx-gsap-typewriter
Value
wave

Add GSAP Random Animation

GSAP Typewriter Animations

Copy this value:

random

Paste into the GSAP Typewriter Attribute Value field of the the Text Block, Paragraph, or Heading

Body
Text Block
Text Block
Style
Settings
Interactions
Text Block Settings
Custom Attributes
Name
vdx-gsap-typewriter
Value
random

Sponsor the Magic and
Buy Me a Beer

Ailín Tobin
Ireland

VisualDX is a free JavaScript library made for Webflow nerds like yourself. No ads, no paywalls—just pure, unfiltered JavaScript magic to supercharge your builds. If it’s saving you time, making your development easier, or just making you feel like a wizard in the Webflow Designer, consider slinging a virtual coffee my way.

Think of it like buying me a pint for keeping your Webflow spells flowing.

You can support it here.

Cheers, legend!

This is a method based on community and soundness. If you can't afford it, don't worry... One of your fellow Webflow nerds has already helped you out by donating.