
Blur Text
Text
A cyber-style headline animation where each character rolls out and a fresh copy rolls in with a glitch-coloured echo, settling into readable, crawlable text.
Glitchy Text helps important words arrive with intent: each character rolls up and out while a fresh copy rolls in from below, with a glitch-coloured echo a beat behind, so the phrase swaps in a staggered, chromatic wave.
Use it for headlines, launch claims, short section openers, and one-line proof points. The default export shows the phrase "Engineering meets artistry" on one line in a full-screen section with a Replay button; the phrase is set in the component source, so change it there. Do not use it on long body copy, error messages, legal text, or instructions where legibility is non-negotiable.
The production risk is losing the text to the animation. The phrase stays real DOM text, the three decorative glitch layers are aria-hidden so screen readers hear the phrase once, and with reduced motion the glitch layers are dropped and the phrase fades in over 0.6s.
import GlitchyText from '@/components/effects/glitchy-text' const page = () => { return ( <> <GlitchyText/> </> )} export default pageA hero headline for a studio or product landing page, where the chromatic swap plays once on load and the visitor can trigger it again.
Not for body copy, labels, error messages, legal copy, or any text users need to read immediately.
Animate only the phrase that matters, reserve layout space, and avoid expensive filters over large text blocks.
The phrase is exposed once: the base line is real DOM text, and the three glitch copies that create the effect are aria-hidden, so screen readers do not hear duplicates. With reduced motion the copies are not rendered at all. The line is a single nowrap row sized in vw, so it scales down with the viewport on mobile instead of wrapping.
| Prop | Type | Default | Description |
|---|---|---|---|
baseTextColor | string | #ffffff | Base text layer color. |
glitchColor | string | #eab308 | Accent color for the glitch layers and replay button. |
stagger | number | 0.025 | Delay between consecutive characters in seconds. |
duration | number | 0.6 | Duration of each character's slide in seconds. |
ease | string | power2.inOut | GSAP ease for the slide. |
Use it when a cyber, AI, or developer-tool headline needs its characters to roll through a quick chromatic swap before settling.
The component already does this: the base phrase stays in the DOM and is read once, and the three decorative glitch layers are aria-hidden. If you change the markup, keep any extra visual copies hidden from assistive technology too.
No. The phrase is real HTML text rendered with the page, not drawn on a canvas, so it stays indexable.
The component reserves a fixed-height line sized in vw and keeps the phrase on one nowrap row, so the swap does not move surrounding layout. If you change the phrase, keep it short enough to fit on one line, because overflow is clipped.
The glitch copies are not rendered and the phrase simply fades in over 0.6s, with no character roll or stagger.
Need a custom effect? Tell us what to create.