🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

remotion-animate-text

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

remotion-animate-text

A remotion package to animate text

1.1.0
latest
Source
npm
Version published
Weekly downloads
21
-16%
Maintainers
1
Weekly downloads
 
Created
Source

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.

Keywords

remotion

FAQs

Package last updated on 09 Apr 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts