Glitch Text
Cyberpunk-style glitch effect with RGB color splitting, position jittering, and scanlines. Perfect for gaming, tech, and edgy brand aesthetics.
Continuous Glitch
Periodic glitch effect that fires at regular intervals.
Hover Activated
Intense glitch effect that triggers on hover.
Subtle Glitch
Softer, more refined glitch for professional designs.
Installation
npm install framer-motionpnpm install framer-motionyarn add framer-motionbun add framer-motionProps
| Prop | Type | Default |
|---|---|---|
text? | string | required |
intensity? | number | 5 |
colors? | [string, string] | ['#ff0000', '#00ffff'] |
duration? | number | 0.2 |
glitchInterval? | number | 3000 |
trigger? | 'mount' | 'hover' | 'inView' | 'continuous' | 'continuous' |
className? | string | '' |
Examples
// Intense cyberpunk glitch
<GlitchText
text="CYBERPUNK"
intensity={10}
colors={['#ff0000', '#00ffff']}
glitchInterval={1500}
/>
// Vaporwave aesthetic
<GlitchText
text="AESTHETIC"
colors={['#ff71ce', '#01cdfe']}
intensity={6}
/>
// Gaming style
<GlitchText
text="GAME OVER"
trigger="hover"
intensity={8}
duration={0.5}
/>Fuzzy Text
CRT television static noise effect with chromatic aberration, scanlines, and jitter. Text appears fuzzy with VHS/old TV static look, clearing on hover.
Gradient Flow Text
Mesmerizing animated gradient that flows through text like liquid colors. Perfect for eye-catching headlines, brand names, and call-to-action elements.
