Minion

How to use Typed.js animations on a Shopify storefront

Replace legacy jQuery typing snippets with a maintained Typed.js implementation, readable fallback text and support for reduced motion preferences.

Reviewed December 2, 2026 · Minion

Typed.js can add a short typing effect to a storefront headline, but the message should remain readable when animation is unavailable. The old jQuery plugin syntax is not the right starting point for a current implementation.

Keep the message in the page

Write the meaningful headline in the HTML first. Search engines and visitors should not need an animation to discover what the store offers. If you animate a decorative duplicate, hide only that duplicate from assistive technology and keep a stable text equivalent.

Reserve enough space for the longest message. Otherwise the layout can jump while the effect runs, moving links and product content as the customer tries to read.

Use the current library interface

The current Typed.js documentation uses new Typed(element, options). Load a reviewed, pinned version through your normal theme build process and initialize it only where the target element exists. Do not add a second copy of jQuery simply to support this effect.

Keep the sequence short and avoid an endless rotating sales message. Do not announce every typed character through a live region. Respect prefers-reduced-motion by leaving the static text in place when the visitor requests reduced motion.

Handle Shopify section updates

The theme editor can reload sections without a full page refresh. A custom integration should initialize new instances once and destroy old instances when their section unloads. Repeated initialization can create duplicate cursors and unnecessary timers.

Verify the page with JavaScript disabled, reduced motion enabled and a slow connection. The headline should still communicate the offer, and the animation should never delay the main action or make the page harder to use.

References

Put this into practice.

Minion builds Shopify interactions that fit the brand while keeping essential content readable and the storefront responsive.

Talk to MinionExplore our services