Text Glitch Effect
MAX
A text glitch effect animation for elements
Demo
GLITCH
Exclusive Launch 50% offspots left: 0 / 50


$39.99
$19.99
Payment once and get lifetime access
Access to all animations
All updates
All animations
No subscriptions
Usage Example
// Basic glitch effect
<TextGlitchEffect />
// ------------------------------------------------------------
// The component automatically triggers the glitch effect
// every 3 seconds with RGB chromatic aberration
// ------------------------------------------------------------
// Perfect for headers, titles, or attention-grabbing text
// with a cyberpunk or tech aesthetic
Properties
The TextGlitchEffect component currently has the following characteristics:
| Property | Type | Default | Description |
|---|---|---|---|
text | string | "GLITCH" | The text content to animate (hardcoded) |
interval | number | 3000ms | Time between glitch triggers (hardcoded) |
duration | number | 200ms | Duration of each glitch effect (hardcoded) |
colors | object | red/cyan | RGB chromatic aberration colors (hardcoded) |
Features
- π RGB Chromatic Aberration: Creates red and cyan color separation effects
- β‘ Automatic Triggering: Glitches every 3 seconds automatically
- π¬ Smooth Animations: Powered by Framer Motion for fluid transitions
- π¨ Cyberpunk Aesthetic: Perfect for tech, gaming, or futuristic designs
- π± Lightweight: Minimal performance impact with optimized animations
Technical Details
The component uses:
- Framer Motion for smooth animations
- Multiple text layers for the chromatic aberration effect
- Automatic timing with
setIntervalandsetTimeout - Transform animations for the glitch movement
- Text shadow effects for color separation
Usage Examples
GLITCH IS COOL
Perfect for
- β’ Gaming interfaces
- β’ Tech websites
- β’ Cyberpunk themes
- β’ Loading screens
Customization Notes
Currently, this component has fixed properties. For custom implementations, you can:
- Modify the
textvariable to change the displayed text - Adjust the
intervaltiming (3000ms) for different glitch frequencies - Change the
duration(200ms) for longer/shorter glitch effects - Customize the RGB colors in the
textShadowanimations - Modify the
xanimation values for different movement patterns
