Effects · Gutenberg

Morphing Text block for WordPress

Headline that smoothly morphs between multiple words with blur, crossfade, slide, or typewriter transitions.

Get Blockenberg

Free Gutenberg block in Blockenberg. The inspector controls and front-end behavior on this page come from this block’s source, not a shared stub.

Get Blockenberg

What it actually does

Headline that smoothly morphs between multiple words with blur, crossfade, slide, or typewriter transitions.

Inspector panels on this block: Words, Static Text, Animation, Background, Morph Color Style. Those titles come from index.js, not from a shared template.

Behavior controls: “Morph Mode” options: Blur — letters blur in/out, Crossfade — smooth opacity, Slide Up, Slide Down, Typewriter — char by char; “Text Align” options: Left, Center, Right.

Where to find it

Gutenberg inserter → Effects → search “Morphing Text” (block name `blockenberg/morphing-text` in block.json). Style it in the sidebar after insert.

How to use Morphing Text block for WordPress

  1. Install Blockenberg. Install from WordPress.org and activate the plugin.
  2. Insert the block. Edit a page, click +, search for “Morphing Text”, insert it. Category: Effects.
  3. Configure inspector controls that exist on this block. Open Words. Set “Text Before”, “Text After”, “Morph Mode”, “Word Duration (ms)”.
  4. Check the published page. The view script reads HTML data attributes: data-opts. The block editor preview may not run the same view script.

Inspector controls from this block’s code

ControlWhat the code does
Text BeforeText field in the inspector. block.json default: We. Saved as `staticBefore`.
Text AfterText field in the inspector. Saved as `staticAfter`.
Morph ModeSelect control; the chosen value is saved on the block. Options: Blur — letters blur in/out; Crossfade — smooth opacity; Slide Up; Slide Down; Typewriter — char by char. block.json default: blur. Saved as `morphMode`.
Word Duration (ms)Numeric range control in the inspector. Range 500–8000. block.json default: 2500. Saved as `duration`.
Pause Between (ms)Numeric range control in the inspector. Range 0–5000. block.json default: 1500. Saved as `pauseDuration`.
LoopOn/off toggle in the inspector. On by default. Saved as `loop`.
Blinking CursorOn/off toggle in the inspector. Off by default. Saved as `cursor`.
HTML TagSelect control; the chosen value is saved on the block. block.json default: h2. Saved as `tag`.
Text AlignSelect control; the chosen value is saved on the block. Options: Left; Center; Right. block.json default: center. Saved as `textAlign`.
Show BackgroundOn/off toggle in the inspector. Off by default. Saved as `showBg`.
Padding Vertical (px)Numeric range control in the inspector. Range 0–120. block.json default: 32. Saved as `paddingV`.
Padding Horizontal (px)Numeric range control in the inspector. Range 0–120. block.json default: 24. Saved as `paddingH`.
Border Radius (px)Numeric range control in the inspector. Range 0–60. block.json default: 0. Saved as `borderRadius`.
Static Text ColorColor control in the inspector. block.json default: #1e293b. Saved as `staticColor`.
Morph Color 1Color control in the inspector. block.json default: #7c3aed. Saved as `morphColor`.
Morph Color 2 (gradient)Color control in the inspector. block.json default: #ec4899. Saved as `morphColor2`.
Colors — BackgroundColor control in the inspector. block.json default: #ffffff. Saved as `bgColor`.
Use Gradient on Morphing WordOn/off toggle in the inspector. On by default. Saved as `useGradient`.

What the front-end script actually does

When this is the right block

Notes from the implementation

viewScript: this folder’s frontend.js is enqueued on the front end for this block.

FAQ

How do I add the Morphing Text block in WordPress?

Install Blockenberg from WordPress.org, edit a page in the block editor, click +, and search for “Morphing Text”. It sits under Effects. After insert, open Words and set “Text Before”, “Text After”, “Morph Mode”, “Word Duration (ms)”.

What makes Morphing Text different from other Blockenberg blocks?

Headline that smoothly morphs between multiple words with blur, crossfade, slide, or typewriter transitions. Inspector labels on this block include “Text Before”, “Text After”, “Morph Mode”, “Word Duration (ms)”.

Is the Morphing Text Gutenberg block free?

Yes. Morphing Text ships inside Blockenberg. Get the plugin from WordPress.org — no paid add-on is required for this block.

Can I style Morphing Text to match my theme?

Yes. Blockenberg’s shared typography and color panels apply here, plus any block-specific style controls listed on this page (panels: Words, Static Text, Animation, Background).

Related effects blocks

Get Blockenberg

Install Blockenberg from WordPress.org, then insert Morphing Text from the Gutenberg inserter.

Get Blockenberg