Typewriter Text Effect
What You'll Create
Text that types out character by character, pauses, then deletes and types a new phrase - cycling through multiple strings with a blinking cursor. The effect pulls text options directly from italicized text elements in your content, so you can update the rotating phrases without touching code.
The Problem It Solves
Typewriter effects typically require hardcoding text strings in JavaScript, making updates tedious for non-developers. This technique reads from native Squarespace text formatting - just italicize your alternative phrases and they become part of the rotation. No code editing needed for content changes.
Perfect For
Hero headlines with rotating value propositions, about pages with multiple role descriptions, service pages cycling through offerings, landing pages with dynamic messaging, portfolio sites with skill rotations.
What Makes This Different
Unlike most typewriter effects that require editing code to change the text, this one pulls directly from your page content. Just italicize the words you want to rotate through, and they become part of the animation automatically. You can adjust the typing speed, delete speed, and pause duration to match your brand's personality. The blinking cursor adds authenticity, and the whole effect loops seamlessly. When the animation completes, your site can respond with additional styling changes if desired.
Details
Section Type: Fluid & Classic
Code Type: CSS + JavaScript
Prerequisites: Text block with link using #typewriter URL, italicized text elements after the link for rotation strings (each word must be italicized separately)
Toolkit Title: Improved Typewriter Code
Learn This Technique
This is one of 150+ code techniques taught inside Standout Squarespace, where you get:
The complete, copy-paste code
Video walkthrough explaining how it works
The principles behind the technique so you can customize it
Access to our private community for support

