Features/Interactions

Split text animation

Split a heading into words, characters or lines and animate each piece with a stagger.

The Split Text action wraps each word, character or line of an element in its own span so other actions can animate them one by one. The text stays readable for screen readers and links inside keep working. Use it for hero headings that reveal word by word.

How it works

  • Split by words, chars or lines; spans get classes .dh-split-word and .dh-split-char.
  • Nothing is split with reduced motion or when the text is longer than 5000 characters.
  • Known limits from the action description: browser find (Ctrl+F) finds the text twice; a link underline does not run through the spans; character split loses kerning across spans; line animation is lost when lines are split again after a resize.

When to use it

  • Word-by-word hero heading reveal
  • Letter stagger on a logo text

Limitations

  • Not applied to texts longer than 5000 characters.
  • Character split loses kerning between spans.

Availability

  • Works in Designer.
  • Included in every plan.
  • Limits: Texts over 5000 characters are not split.

How to use it.

  1. Add an interaction to the heading.
  2. Add a Split Text action (by words, chars or lines).
  3. Add an Animate action targeting the split pieces with a stagger.

Questions.

Is the text still accessible?

Related features.

No card needed

Build it today.Pay when it goes live.

Every feature is unmetered while you build. Checkout opens the first time you publish.