Skip to content
IndexRequest a UIAboutContact

Glitch Text Slices

A headline that breaks into offset coloured slices on hover or button press, with an intensity slider.

Open alone ↗

AI prompt

PROMPT: PASTE INTO YOUR AI IMAGE OR VIDEO TOOL
Typographic poster of the word SIGNAL in heavy white sans-serif on a near-black background, a cyan copy shifted left and a red copy shifted right behind it creating a chromatic split, two thin horizontal bands where the letters are cut and displaced sideways, subtle scan lines, high contrast, cyber style, crisp edges. Negative: blur, gradients, extra words, clutter, text errors. Reduced motion: static design.

About this pattern

Definition

Glitch text imitates a broken signal: copies of the word in cyan and red shift sideways while thin horizontal slices of each copy jump out of place. It is built with two pseudo-elements that repeat the text from a data attribute, each clipped to moving bands. Use it rarely, for a short moment, never on body text.

When to use it

  • Repeat the text with ::before and ::after using content: attr(data-text).
  • Colour them cyan and red and offset them by a few pixels in opposite directions.
  • Animate clip-path inset values in steps so slices jump rather than glide.
  • Keep the real text in the DOM once, and hide the copies from assistive tech with aria-hidden where possible.

What the controls do

  • Hover, focus or press Glitch; adjust Intensity.

Motion & timing

  • Each burst lasts about 600ms.
  • Reduced motion: a still colour-split with no slicing.

Tips & variations

  • Flashing effects can be harmful; keep bursts short and never faster than three flashes per second.
  • Reduced motion: show a static offset instead of the animated glitch.

Code of this live preview

HTML
<div class="bx"><button class="gl" id="gl" type="button" data-text="SIGNAL"><span>SIGNAL</span></button><div class="two"><label class="rw">Intensity <b id="iv">6px</b><input id="is" type="range" min="1" max="14" value="6"></label><button class="mini" id="bt" type="button">Glitch</button></div></div>

Related patterns

Scramble Text Decode

↗
Scramble Text DecodeKinetic Typography

Wave, Bounce & Tilt Letters

↗
Wave, Bounce & Tilt LettersKinetic Typography

Text Weight Proximity Hover

↗
Text Weight Proximity HoverKinetic Typography