Typed.js
Typed.js brings animated typing effects to your Webflow projects. Create engaging headlines that type, delete, and cycle through messages automatically — perfect for hero sections, testimonials, and dynamic call-to-actions that capture visitor attention without complex coding.

How to integrate Typed.js with Webflow
Typed.js offers flexible integration options for Webflow users. Choose between quick embed solutions for specific elements or site-wide implementations for consistent animations across your project.
Inline embed and popup widget
Add typing animations to specific pages or sections using Webflow's HTML Embed element.
What you can do:
- Create animated headlines that cycle through multiple messages
- Add typing effects to hero sections and landing pages
- Implement location-specific animations without affecting other pages
Setup steps:
- Add an HTML Embed element where you want the animation
- Include the Typed.js CDN link and initialization code
- Target specific elements using CSS classes or IDs
- Publish to see the effect (animations don't show in Designer preview)
Example implementation:
<h1>Welcome to <span id="typed"></span></h1>
<script src="https://cdn.jsdelivr.net/npm/typed.js@2.0.12"></script>
<script>
var typed = new Typed('#typed', {
strings: ["our website", "the future", "innovation"],
typeSpeed: 50,
loop: true
});
</script>Site-wide custom code integration
Implement Typed.js across your entire Webflow project for consistent animations.
What you can do:
- Apply typing effects to multiple elements site-wide
- Maintain consistent animation settings across pages
- Reuse animations by assigning common classes
Setup process:
- Navigate to Settings > Custom Code
- Add the Typed.js script to the Footer Code section
- Include initialization code targeting your desired elements
- Assign matching classes to elements in the Designer
Configuration options:
- typeSpeed: Control how fast text appears (milliseconds)
- backSpeed: Set deletion speed
- startDelay: Add delay before typing begins
- loop: Enable continuous animation
- showCursor: Toggle typing cursor visibility
Build with Webflow and Typed.js API
For advanced implementations, combine Typed.js with Webflow's API capabilities to create dynamic, data-driven animations.
Use cases:
- Pull animation content from Webflow CMS collections
- Update typing animations based on user interactions
- Create personalized messages using member data
Dynamic CMS content
Connect Typed.js to your Webflow CMS for automated content updates.
Implementation approach:
- Use Webflow's API to fetch collection items
- Pass CMS data to Typed.js strings array
- Update animations when CMS content changes
Example workflow:
// Fetch CMS content
const headlines = document.querySelectorAll('[data-cms-headlines]');
const strings = Array.from(headlines).map(el => el.textContent);
// Initialize Typed.js with CMS data
new Typed('#dynamic-typed', {
strings: strings,
typeSpeed: 60
});Custom interactions
Trigger typing animations based on user actions or page events.
Capabilities:
- Start animations on scroll using intersection observers
- Pause and resume typing on hover
- Chain animations with Webflow interactions
Event handling:
// Start animation on button click
document.querySelector('#start-btn').addEventListener('click', function() {
typed.start();
});
// Reset animation on form submission
form.addEventListener('submit', function() {
typed.reset();
});What you can build
Integrating Typed.js with Webflow enables dynamic text animations that enhance user engagement.
- Agency portfolios: Showcase your services with rotating headlines like "We design websites, build brands, create experiences" that highlight your capabilities
- SaaS landing pages: Display product benefits with cycling messages such as "Save time, increase revenue, delight customers" in your hero section
- E-commerce promotions: Rotate through offers like "Free shipping today, 20% off sale items, new arrivals daily" to highlight current deals
- Event websites: Build anticipation with countdown messages typing "Conference starts in 3 days, Register now, Limited seats available"
Frequently asked questions
Typed.js animations only appear on published sites, not in the Designer preview or Editor mode. This is because Webflow executes custom JavaScript only on live domains for security and performance reasons. Always publish your site to a staging domain to test animations. Find more details in the Webflow custom code documentation which explains when and where custom scripts execute.
Use the official CDN from jsDelivr or cdnjs for reliability. The current stable version is available at https://cdn.jsdelivr.net/npm/typed.js@2.0.12/lib/typed.min.js. Avoid deprecated CDNs like rawgit or raw.githubusercontent as they may stop working. Check the official Typed.js GitHub releases for the latest version numbers and CDN links.
To animate CMS content, first add data attributes to your collection items in Webflow, then use JavaScript to extract and pass this data to Typed.js. The Webflow CMS API documentation provides methods for accessing collection data programmatically, which you can then format into the strings array Typed.js requires.
Yes, Typed.js works on mobile devices, but consider performance and user experience. Reduce animation complexity on mobile by using fewer strings or slower speeds. The Webflow breakpoints guide shows how to apply different custom code per device size using conditional JavaScript that checks viewport width.
Style the cursor using custom CSS in your Webflow project. Target the .typed-cursor class that Typed.js automatically creates. Add styles in Settings > Custom Code or use an HTML Embed. The Typed.js configuration options detail cursor properties like cursorChar for changing the cursor character and autoInsertCss for controlling default styles.

Description
Typed.js is a JavaScript library that creates animated typing effects for text, simulating the look of someone typing, backspacing, and retyping messages on your website. It programmatically types, deletes, and cycles through various messages, making web content more dynamic and engaging.
This integration page is provided for informational and convenience purposes only.

EX.CO
Connect EX.CO with Webflow to add interactive video players and monetize content through custom embed codes.

Finsweet Class Adder
You can connect Finsweet Class Adder to manage CSS classes dynamically in Webflow using interactions, CMS data, and visual workflows.

Lottieflow
Connect Lottieflow with Webflow to add customizable, lightweight JSON animations directly to your site.

Pixie
Connect Pixie with Webflow to automate CMS image optimization, reduce file sizes, and speed up page load times.

One2 Menu
Embed One2 Menu restaurant menus in Webflow with HTML code for contactless QR ordering and auto-updates.

ThemeForest
Connect ThemeForest with Webflow to access third-party templates and manually recreate designs in [Webflow Designer](https://university.webflow.com/lesson/intro-to-the-designer).

PowerImporter
PowerImporter automtes content updates that can create bottlenecks when marketing teams manage information in Airtable or spreadsheets but developers must manually transfer data to Webflow CMS.

Rive
Add interactive, state-driven animations directly to your Webflow sites with native Rive support. Upload .riv files through the Assets panel and control animation states using Webflow Interactions without writing integration code.

All in One Accessibility
Connect All in One Accessibility with Webflow to add 70+ accessibility features that help your site meet ADA, WCAG, and Section 508 requirements without custom development.


