PL

Player

@remotion/player

React component for embedding a Remotion preview into your app

Animation
remotion
ffmpeg
video
react
player
@remotion/player
Animation
javascript
npm
frontend
Stars
343
Weekly
1.1M
Open issues
4
Bundle
~25 kB

Installation

npm install @remotion/player

Code example

import { motion } from "@remotion/player";

export function Example() {
  return (
    <motion.div
      initial={{ opacity: 0, y: 12 }}
      animate={{ opacity: 1, y: 0 }}
      transition={{ duration: 0.35 }}
    >
      <h2>Animated with Player</h2>
    </motion.div>
  );
}

Pros & cons

Pros

  • Actively maintained by Jonny Burger <jonny@remotion.dev>
  • 1.1M weekly downloads. Battle tested
  • First-class TypeScript definitions
  • SEE LICENSE IN LICENSE.md licensed

Considerations

  • Adds roughly ~25 kB to your bundle
  • Needs client-only rendering in SSR frameworks
  • Not supported in React Native
  • 4 open issues on GitHub

FAQs

Alternatives & similar libraries