Skip to content

Repository files navigation

Text Animation Collection

A comprehensive collection of text animation components for React applications. Easily add visually engaging text effects to your websites and applications.

Text Animation Preview

Features

  • 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

Demo

Visit https://minhvo.is-a.dev/TextFX to see all animations in action.

Installation

git clone https://github.com/minhvo-dev/TextFX.git
cd TextFX
pnpm install
pnpm dev

Available Animations

This collection includes the following animations:

  1. Text Slash: Reveals text with a slashing animation
  2. Text Reveal: Smooth reveal animation
  3. Typing: Classic typewriter effect
  4. Shine: Text with shine/glossy effect passing through
  5. Fade: Simple fade-in animation
  6. Bounce: Letters bouncing in sequence
  7. Wave: Wavy animation for text
  8. Glitch: Cyberpunk-style glitch effect
  9. Blur: Text emerging from blur
  10. Gradient: Color gradient transition effect
  11. Flip: 3D flip animation
  12. Scale: Size scaling animation
  13. Ink Blot: Ink spreading animation
  14. Cyber: Cyberpunk styled text with grid effects
  15. Slot Machine (in development): Slot machine style character changing
  16. Matrix (in development): Matrix code-like falling characters
  17. Scramble (in development): Characters scrambling before settling
  18. 3D Perspective (in development): Text with 3D perspective movement
  19. Fire (in development): Burning text with flame effects
  20. Neon (in development): Neon sign glow effect
  21. Water (in development): Water ripple effect on text
  22. Shadow Dance (in development): Dynamic shadow movement
  23. Typewriter (in development): Enhanced typewriter with cursor
  24. Magnetic (in development): Magnetic field interaction with mouse
  25. Hologram (in development): Sci-fi holographic projection
  26. Sand (in development): Desert sand particle effect
  27. Circuit (in development): Electronic circuit path animation
  28. Split Horror (in development): Horror-themed splitting effect
  29. Glitch 3D (in development): Advanced 3D glitch effect with RGB splitting

Usage

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} 
    />
  )
}

Component Props

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

Contributing

Contributions are welcome! If you'd like to add a new animation or improve an existing one:

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-animation)
  3. Commit your changes (git commit -m 'Add amazing animation')
  4. Push to the branch (git push origin feature/amazing-animation)
  5. Open a Pull Request

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

  • Created by Minh Vo
  • Inspired by various text animation techniques from across the web
  • Built with Next.js and TypeScript

Contact

For any questions or suggestions, feel free to reach out at vnqminh0502@gmail.com or create an issue in this repository.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages