Snappy UI Logo

Animated Text

A customizable, responsive text animation component for modern UIs.


Basic Usage


Variations

Text Directional Fade

Animatedtextfromdifferentdirections

Text Color Transition

Text that transitions between colors

Text Scale Effect

Wordsthatscaleupwithabounceeffect

Text Split Effect

Each letter animates individually 

Installation

pnpm dlx shadcn@latest add http://snappyui.in/api/registry/animatedtext

Props

NameTypeDefaultDescription
wordsstring-Text which will be animated
classNamestring-Additional CSS classes
typingSpeedfloat-Speed for the animation
directionstring-Choose from "up", "down", "left", "right"
staggerTimefloat-The delay between the animation of each element in a sequence
fromColorrgb (color)-Starting color for transitions
toColorrgb (color)-Ending color for transitions
rotationbooleanfalseEnable or disable rotation

On this page