A comprehensive collection of text animation components for React applications. Easily add visually engaging text effects to your websites and applications.
- 25+ Text Animation Effects: From simple fade-ins to complex holographic displays
- Dark Mode Support: All animations are optimized for both light and dark modes
- Customizable: Easily customize animations with props
- Responsive: Works well on all device sizes
- Zero Dependencies: Pure React and CSS animations, no additional animation libraries required
- TypeScript Support: Fully typed components for better development experience
Visit https://minhvo.is-a.dev/TextFX to see all animations in action.
git clone https://github.com/minhvo-dev/TextFX.git
cd TextFX
pnpm install
pnpm devThis collection includes the following animations:
- Text Slash: Reveals text with a slashing animation
- Text Reveal: Smooth reveal animation
- Typing: Classic typewriter effect
- Shine: Text with shine/glossy effect passing through
- Fade: Simple fade-in animation
- Bounce: Letters bouncing in sequence
- Wave: Wavy animation for text
- Glitch: Cyberpunk-style glitch effect
- Blur: Text emerging from blur
- Gradient: Color gradient transition effect
- Flip: 3D flip animation
- Scale: Size scaling animation
- Ink Blot: Ink spreading animation
- Cyber: Cyberpunk styled text with grid effects
- Slot Machine (in development): Slot machine style character changing
- Matrix (in development): Matrix code-like falling characters
- Scramble (in development): Characters scrambling before settling
- 3D Perspective (in development): Text with 3D perspective movement
- Fire (in development): Burning text with flame effects
- Neon (in development): Neon sign glow effect
- Water (in development): Water ripple effect on text
- Shadow Dance (in development): Dynamic shadow movement
- Typewriter (in development): Enhanced typewriter with cursor
- Magnetic (in development): Magnetic field interaction with mouse
- Hologram (in development): Sci-fi holographic projection
- Sand (in development): Desert sand particle effect
- Circuit (in development): Electronic circuit path animation
- Split Horror (in development): Horror-themed splitting effect
- Glitch 3D (in development): Advanced 3D glitch effect with RGB splitting
Each animation is available as a React component. Here's how to use them in your components:
import { WaveAnimation } from "@/components/wave-animation"
export default function MyComponent() {
return (
<WaveAnimation
text="Hello World"
className="text-2xl"
darkMode={false}
/>
)
}All animation components share the same props structure:
| Prop | Type | Default | Description |
|---|---|---|---|
text |
string | (required) | The text to animate |
className |
string | "" | Additional CSS classes |
darkMode |
boolean | false/true (varies) | Whether to use dark mode styling |
Contributions are welcome! If you'd like to add a new animation or improve an existing one:
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-animation) - Commit your changes (
git commit -m 'Add amazing animation') - Push to the branch (
git push origin feature/amazing-animation) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Created by Minh Vo
- Inspired by various text animation techniques from across the web
- Built with Next.js and TypeScript
For any questions or suggestions, feel free to reach out at vnqminh0502@gmail.com or create an issue in this repository.
