Skip to content

Text Split Glitch

Pro

Now and then two colored copies of the heading jump apart behind it, like a color fault on a screen.

  • React 19
  • Tailwind CSS 4

Added Nov 15, 2026 · Pro license

Playground

Loading the preview

Props

Needs your Pro API key in GELATIN_UI_PRO_TOKEN. Set it up

Pro itemAPI key required

Text Split Glitch needs a Pro API key

Try the live preview for free. With Pro, the add command above puts the source in your project.

Files it adds
22
More Pro items, one API key
+327
Your coding agent runs it
1 cmd

$79$129once, for life

Already have Pro? Sign in to set up your API key.

Wrap the text of a heading. Set trigger="hover" in a link or a button.

The sample also uses Button. One command adds them with this item:

not-found.tsx

TextSplitGlitch

<div>
PropTypeDefaultDescription
pausedboolean—The pause of the user or the page (controlled).
defaultPausedboolean—The first pause when paused is not given (uncontrolled). Default false.
onPausedChange—Called when the pause changes.
pauseOnHoverboolean—Hold the motion while a mouse is over the item, or keyboard focus is on the link or button around it (or in it). Default true.
childrenRequiredstring—The text, such as a heading or a product name.
trigger"hover""loop""mount""view"—When it glitches: loop (short bursts with a gap, default), hover (while a pointer is over it, or the keyboard focuses the link or button around it), mount (one burst at once), or view (one burst the first time it is on screen).
intervalnumber—Seconds between two bursts of a loop, ±40%. Default 4, at least 1.5.
intensity"default""strong""subtle"—How far the pieces move: subtle, default, or strong.
seednumber—The seed of the frames and the gaps. Default: from the text, so each text has its own.
localestring—The BCP 47 locale for the letter split of a look with letters (Intl.Segmenter). Default: the DisplayLocaleProvider locale, else "en-US".
...props<div> attributes—Every other attribute goes to the <div>, with a ref.
  • Use trigger="hover" in a link or a button: it glitches while a pointer is over the control, or keyboard focus is on it.
  • Use trigger="mount" or trigger="view" for one burst on a heading.
  • Use interval (seconds, at least 1.5) and intensity to set how often and how far it breaks.
  • For the same effect with another look, use Text Slice Glitch.
  • For letters that change at random, then settle into the text, use Text Scramble.
  • For stars that twinkle around a word, use Text Sparkles.
  • For body text, a long paragraph, or a page with more than one glitch, use plain text.
TabWith trigger="hover", keyboard focus on the link or button around the text starts the glitch. With a loop, the focus holds it.
Burst
instant · 3 steps of 80ms · each step shows a new seeded frame: moved bands, a color split, a scan band, or letter marks, with a small lean
Rest
instant · after a burst, the text rests at least 1s, so no second holds more than 2 flashes
Loop
instant · `interval` seconds (default 4, at least 1.5) between bursts, ±40%, seeded
  1. AddedText Split Glitch.
Open the release