Skip to main content

Animated Text

Live preview of the Animated Text element in the Salient WordPress theme. A heading arriving letter by letter, each one rising and sharpening out of a blur. Sample content, for demonstration only.

Animated Text reveals a heading as it scrolls into view, rather than having it appear all at once. The text is split into its lines, words or letters, and each part animates in turn.

It is built for headlines. On a paragraph the effect delays reading for no benefit, and on a page where several elements use it at once the page feels slow rather than considered.

Text effects​

Text Effect decides what is split and how it moves. Each preview below runs the real effect, at the speed, easing and stagger the element uses.

Word animations​

The whole word moves as one block. Calmer than the letter effects, and the better choice for a long headline where a per-letter stagger would drag.

Single letter from bottom​

The word is split into letters and each one animates in turn, staggered a twentieth of a second behind the last.

Single letter from top​

The same three, running downward instead. Useful when the heading sits below something the eye is already moving down from.

Scroll position​

None is the last option. The text is split as usual but nothing animates, which is the way to keep the element's layout controls without the movement.

Settings​

  • Text Content Text The heading itself.
  • Text Color Color Overrides the color it would inherit.
  • Stagger Animation Toggle Offsets each letter or word from the one before it. Without it the whole line animates at once.
  • Animation Delay Number How long to wait after the element enters the viewport before starting.
  • Animation Offset Number How far into the viewport the element must be before it triggers.
  • Fit Text to Container Toggle Scales the type so the line exactly fills its column, however long the text is.
  • Max Width Number Caps the line length, for controlling where it wraps.
  • Disable Animation on Mobile Toggle Shows the text immediately on phones, where the effect is less visible and the delay more noticeable.
  • Text Direction Choice For right-to-left languages.
  • Link URL and Link Functionality Turn the heading into a link, opening normally or in a new tab.
  • Link Mouse Indicator Toggle Shows a custom cursor over the text, signalling that it is clickable.
One animated heading per screen

The effect depends on being noticed. Two or three running at once in the same viewport cancel each other out, and the page reads as though it is still loading.