Captions
Compositions
Core Primitives
Transitions
Typography
- Blur Reveal
- Staggered Fade Up
- Masked Slide Reveal
- Tracking In
- Inline Highlight
- Marker Highlight
- Shimmer Sweep
- Typewriter
- Text Fade Replace
- Slot Machine Roll
- Infinite Marquee
- Perspective Marquee
- Matrix Decode
- RGB Glitch Text
- Strikethrough Replace
- Blur Out Up
- Bottom Up Letters
- Top Down Letters
- Per Character Rise
- Soft Blur In
- Micro Scale Fade
- Scale Down Fade
- Focus Blur Resolve
- Spring Scale In
- Line by Line Slide
- Mask Reveal Up
- Short Slide Right
Installation
Install the @editframe/elements package:
$ pnpm add @editframe/elements
Quick Start
Import video components and create compositions:
import { Typewriter } from "@editframe/elements";
import { Composition } from "@editframe/elements/server";
export default function VideoPage() {
return (
<Composition
id="MyVideo"
durationInFrames={120}
fps={30}
width={1920}
height={1080}
>
<Typewriter text="Hello, World!" />
</Composition>
);
}Rendering Videos
Use the Editframe SDK to render your compositions to MP4:
import { Editframe } from "@editframe/sdk";
const editframe = new Editframe({ apiKey: "your-api-key" });
const render = await editframe.renders.create({
compositionId: "MyVideo",
outputFormat: "mp4",
});Next Steps
- Browse the Components gallery
- Explore Typography effects
- Learn about Transitions and scene changes
- Check out full Compositions templates