Skip to content

A simple React Component to Animate Between strings, with per-character animations.

License

Notifications You must be signed in to change notification settings

nmn/text-transition

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

text-transition

A simple React Component to Animate Between strings, with per-character animations.

Imagine power-point's by character animations.

API:

string

String to be displayed.

before

CSS transform to be applied to every character when it enters.

after

CSS transform to be applied to every character ehn it leaves.

duration

Duration of CSS transition in seconds

easing

CSS easing string

delay

CSS transition delay per character. This will be multiplied by the index of each character for linearly staggered animations.

About

A simple React Component to Animate Between strings, with per-character animations.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published