Effects · Gutenberg

Glitch Text block for WordPress

Eye-catching glitch animation text with chromatic aberration, noise, scanlines, and digital distortion effects.

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

Eye-catching glitch animation text with chromatic aberration, noise, scanlines, and digital distortion effects.

Inspector panels on this block: Glitch Effect, Text, Subtext, Layout & Spacing. Those titles come from index.js, not from a shared template.

Behavior controls: “Effect Type” options: Chromatic (RGB split), Noise (character shuffle), Digital (chromatic + noise), Flicker, Horizontal shake; “Trigger” options: Always on, On hover, On click, Interval; “Speed” options: Slow, Medium, Fast, Custom; “HTML Tag” options: H1, H2, H3, H4, H5.

Where to find it

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

How to use Glitch 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 “Glitch Text”, insert it. Category: Effects.
  3. Configure inspector controls that exist on this block. Open Glitch Effect. Set “Effect Type”, “Trigger”, “Interval (ms)”, “Burst Duration (ms)”.
  4. Check the published page. The view script reads HTML data attributes: data-burst, data-charset, data-color-blue, data-color-red, data-intensity, data-interval, data-trigger. The block editor preview may not run the same view script.

Inspector controls from this block’s code

ControlWhat the code does
Effect TypeSelect control; the chosen value is saved on the block. Options: Chromatic (RGB split); Noise (character shuffle); Digital (chromatic + noise); Flicker; Horizontal shake. block.json default: chromatic. Saved as `glitchType`.
TriggerSelect control; the chosen value is saved on the block. Options: Always on; On hover; On click; Interval. block.json default: always. Saved as `trigger`.
Interval (ms)Numeric range control in the inspector. Range 500–20000. block.json default: 4000. Saved as `glitchIntervalMs`.
Burst Duration (ms)Numeric range control in the inspector. Range 100–2000. block.json default: 600. Saved as `glitchBurstDuration`.
SpeedSelect control; the chosen value is saved on the block. Options: Slow; Medium; Fast; Custom. block.json default: medium. Saved as `speed`.
Duration (ms)Numeric range control in the inspector. Range 100–5000. block.json default: 800. Saved as `customDuration`.
IntensityNumeric range control in the inspector. Range 1–20. block.json default: 6. Saved as `intensity`.
Noise CharsetText field in the inspector. block.json default: !<>-_\/[]{}—=+*^?#. Saved as `noiseCharset`.
Show Scanlines overlayOn/off toggle in the inspector. Off by default. Saved as `showScanlines`.
Scanline Opacity (%)Numeric range control in the inspector. Range 5–80. block.json default: 20. Saved as `scanlineOpacity`.
Cursor BlinkOn/off toggle in the inspector. Off by default. Saved as `showCursorBlink`.
HTML TagSelect control; the chosen value is saved on the block. Options: H1; H2; H3; H4; H5; H6; p; div. 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 SubtextOn/off toggle in the inspector. Off by default. Saved as `showSubtext`.
SubtextText field in the inspector. block.json default: System Error 404. Saved as `subtext`.
Gap from text (px)Numeric range control in the inspector. Range 0–60. block.json default: 16. Saved as `subtextSpacing`.
Vertical Padding (px)Numeric range control in the inspector. Range 0–200. block.json default: 40. Saved as `paddingV`.
Horizontal Padding (px)Numeric range control in the inspector. Range 0–200. block.json default: 24. Saved as `paddingH`.
Border Radius (px)Numeric range control in the inspector. Range 0–32. block.json default: 0. Saved as `borderRadius`.
Text ColorColor control in the inspector. block.json default: #ffffff. Saved as `textColor`.
Colors — BackgroundColor control in the inspector. block.json default: #0d0d0d. Saved as `backgroundColor`.
Channel Red / LeftColor control in the inspector. block.json default: #ff0040. Saved as `colorRed`.
Channel Blue / RightColor control in the inspector. block.json default: #00e5ff. Saved as `colorBlue`.
SubtextColor control in the inspector. block.json default: #888888. Saved as `subtextColor`.

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 Glitch Text block in WordPress?

Install Blockenberg from WordPress.org, edit a page in the block editor, click +, and search for “Glitch Text”. It sits under Effects. After insert, open Glitch Effect and set “Effect Type”, “Trigger”, “Interval (ms)”, “Burst Duration (ms)”.

What makes Glitch Text different from other Blockenberg blocks?

Eye-catching glitch animation text with chromatic aberration, noise, scanlines, and digital distortion effects. Inspector labels on this block include “Effect Type”, “Trigger”, “Interval (ms)”, “Burst Duration (ms)”.

Is the Glitch Text Gutenberg block free?

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

Can I style Glitch 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: Glitch Effect, Text, Subtext, Layout & Spacing).

Related effects blocks

Get Blockenberg

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

Get Blockenberg