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.
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
- Install Blockenberg. Install from WordPress.org and activate the plugin.
- Insert the block. Edit a page, click +, search for “Glitch Text”, insert it. Category: Effects.
- Configure inspector controls that exist on this block. Open Glitch Effect. Set “Effect Type”, “Trigger”, “Interval (ms)”, “Burst Duration (ms)”.
- 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
| Control | What the code does |
|---|---|
| Effect Type | Select 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`. |
| Trigger | Select 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`. |
| Speed | Select 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`. |
| Intensity | Numeric range control in the inspector. Range 1–20. block.json default: 6. Saved as `intensity`. |
| Noise Charset | Text field in the inspector. block.json default: !<>-_\/[]{}—=+*^?#. Saved as `noiseCharset`. |
| Show Scanlines overlay | On/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 Blink | On/off toggle in the inspector. Off by default. Saved as `showCursorBlink`. |
| HTML Tag | Select 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 Align | Select control; the chosen value is saved on the block. Options: Left; Center; Right. block.json default: center. Saved as `textAlign`. |
| Show Subtext | On/off toggle in the inspector. Off by default. Saved as `showSubtext`. |
| Subtext | Text 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 Color | Color control in the inspector. block.json default: #ffffff. Saved as `textColor`. |
| Colors — Background | Color control in the inspector. block.json default: #0d0d0d. Saved as `backgroundColor`. |
| Channel Red / Left | Color control in the inspector. block.json default: #ff0040. Saved as `colorRed`. |
| Channel Blue / Right | Color control in the inspector. block.json default: #00e5ff. Saved as `colorBlue`. |
| Subtext | Color control in the inspector. block.json default: #888888. Saved as `subtextColor`. |
What the front-end script actually does
- The view script reads HTML data attributes: data-burst, data-charset, data-color-blue, data-color-red, data-intensity, data-interval, data-trigger.
When this is the right block
- Eye-catching glitch animation text with chromatic aberration, noise, scanlines, and digital distortion effects — that is the job of Glitch Text, not a generic content block.
- Use it when you need the editor control labeled “Effect Type”, which exists on this block’s inspector.
- It matches pages about glitch, text, animation.
- Inserter grouping: motion, overlays, and visual treatments.
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
Matrix Rain
Canvas-rendered Matrix-style digital rain with falling character columns. Fully customizable character set, colors, speed and overlay content.
Neon Text
Glowing neon tube text effect with animated flicker, multi-color glow layers, animated background scanlines, and multiple neon color presets.
3D Text
Eye-catching 3D extruded text using CSS text-shadow layers and perspective transforms. Supports rotate-on-hover, float animation, and customizable depth, colors and typography.
Gradient Text Animator
Animated gradient-filled text with multiple animation modes — shift, pulse, wave, rainbow, and reveal.
Handwriting Text
SVG text that animates in as if being handwritten — stroke reveal effect triggered on scroll or load.
Kinetic Text
Text characters that scatter outward and snap back on hover with smooth physics animation.
Get Blockenberg
Install Blockenberg from WordPress.org, then insert Glitch Text from the Gutenberg inserter.