2.1.9 • Published 9 months ago

animated-text-letters v2.1.9

Weekly downloads
-
License
ISC
Repository
github
Last release
9 months ago

Animated Text Letters

Animate each letter in your text with a simple 0 dependencies React.js component.

Access the live demo here https://lnardon.github.io/AnimatedText and try different configurations.

Install

npm install animated-text-letters

The package comes with 13 animations:

  • fade-in
  • pop-up
  • slide-up
  • slide-down
  • slide-left
  • slide-right
  • rotate-clockwise
  • rotate-counter-clockwise
  • reveal-up
  • reveal-down
  • reveal-left
  • reveal-right
  • random

Usage

import AnimatedText from "animated-text-letters";
import "animated-text-letters/index.css";

<AnimatedText
  text="Animated Text Demo"
  animation="slide-down"
  delay={32}
  easing="ease"
  transitionOnlyDifferentLetters={true}
  animationDuration={1000}
/>;
PropTypeDefault ValueDescription
textstringRequiredThe text string to be animated. This prop is required and does not have a default value.
animation"fade-in""pop-up""slide-up""slide-down""slide-left""slide-right""rotate-clockwise""rotate-counter-clockwise""random""fade-in"Specifies the animation type. Choose from fade-in, pop-up, slide directions, rotate directions, or random.
delaynumber32The delay between each letter animation, in milliseconds.
easing"linear""ease""ease-in""ease-out""ease-in-out"or custom CSS values"ease"Defines the acceleration curve for the animation, for natural or dynamic movements.
transitionOnlyDifferentLettersbooleanfalseIf true, animation applies only to letters that change when the text prop updates.
animationDurationnumber1000The duration of the entire text animation, in milliseconds.
2.1.9

9 months ago

2.1.6

9 months ago

2.1.8

9 months ago

2.1.7

9 months ago

2.1.2

1 year ago

2.1.1

1 year ago

2.1.4

1 year ago

2.1.3

1 year ago

2.1.5

1 year ago

2.1.0

1 year ago

2.0.0

1 year ago

1.2.3

1 year ago

1.2.2

1 year ago

1.2.1

2 years ago

1.2.0

2 years ago

1.1.0

2 years ago

1.0.0

2 years ago