text-transition

1.0.0 • Public • Published

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.

Package Sidebar

Install

npm i text-transition

Weekly Downloads

0

Version

1.0.0

License

MIT

Last publish

Collaborators

  • naman34