StarForge
Animations

Text Animations

Engaging text animation components with various effects

Note

All presented components are responsive and compatible with Tailwind CSS. Make sure Tailwind is configured in your project to use them.

Character Reveal

A smooth character-by-character reveal animation where each letter fades in and drops into place with a subtle bounce effect. Perfect for hero headings, announcements, or any text that needs to make a dramatic entrance.

Props Reference

PropTypeDescriptionDefault
textstringThe text content to animaterequired
variant'default' | 'primary' | 'secondary'Color variant of the animated text'default'
classNamestringAdditional CSS classes for stylingundefined

Word Slide-In

An elegant word-by-word slide-in animation where each word drops down from above with a smooth back-out easing. Great for subtitles, taglines, or paragraph text that needs to feel alive without being overly flashy.

Props Reference

PropTypeDescriptionDefault
childrenReact.ReactNodeThe text content to animaterequired
variant'default' | 'primary' | 'secondary'Color variant of the animated text'default'
classNamestringAdditional CSS classes for stylingundefined

Typewriter Effect

A classic typewriter animation that types out text character by character with a blinking cursor. Fully configurable speed, delay, and looping support. Ideal for terminal-style intros, code snippets, or any content that benefits from a reading-paced reveal.

Props Reference

PropTypeDescriptionDefault
textstringThe text content to type outrequired
asElementTypeHTML element to render as (e.g., span, p, h1)'span'
speednumberDelay in milliseconds between each character50
delaynumberDelay in milliseconds before typing starts0
enabledbooleanWhether the typewriter effect is activetrue
cursorbooleanWhether to show the blinking cursortrue
cursorClassNamestringAdditional CSS classes for the cursorundefined
loopbooleanWhether to restart the animation when finishedfalse
classNamestringAdditional CSS classes for stylingundefined

Speed Guide:

  • 10 — Fast typing (10 ms per character)
  • 50 — Medium pace (default)
  • 100 — Slow, deliberate typing
  • 0.1 — Nearly instant

On this page

Built with ❤️ using React, Next.js, TypeScript, and Tailwind CSS