1.1.0 • Published 30 days ago

remotion-animate-text v1.1.0

Weekly downloads
-
License
-
Repository
github
Last release
30 days ago

remotion-animate-text

It is a Remotion package to animate the text. It animates the text either by charecters or by words on top of multiple css properties. It follows same pattern of interpolate function by native Remotion.

Demo

Install

npm i remotion-animate-text

Usage

import { AnimatedText } from "remotion-animate-text";
import { AbsoluteFill } from "remotion";

export const Example: React.FC = () => {
  const animation = {
    delimiter: "",
    opacity: [0, 1],
    x: [1, 0],
    y: [1, 0],
    scale: [0, 1],
    rotate: [45, 0],
    hideLoading: false,
    refRange: [0, 100], // can be any length and all other properties should also be of same length
    durations: [40, 50] // using this you can control for how long each part should animate in frames
  };

  return (
    <AbsoluteFill>
      <AnimatedText duration={60} animation={animation}>
        Hello world
      </AnimatedText>
    </AbsoluteFill>
  );
};

License

See the LICENSE.md file for the license of this repo.
To use Remotion, a company license is needed for some entities. Read the terms here.

1.1.0

30 days ago

1.0.5

5 months ago

1.0.4

5 months ago

1.0.3

5 months ago

1.0.2

5 months ago

1.0.1

5 months ago

1.0.0

5 months ago