Render with Remotion CLI
npx remotion render remotion/index.tsx Timeline output.mp4
Composition code
import { AbsoluteFill, useCurrentFrame, interpolate, Easing } from "remotion";
const STEPS = [
{ year: "2021", title: "Founded", desc: "Started in a San Francisco garage", color: "#6366f1" },
{ year: "2022", title: "First Launch", desc: "10K users in the first month", color: "#8b5cf6" },
{ year: "2023", title: "Series A", desc: "$12M raised from top VCs", color: "#a855f7" },
{ year: "2024", title: "1M Users", desc: "Reached a global milestone", color: "#ec4899" },
];
export const Timeline: React.FC = () => {
const frame = useCurrentFrame();
const lineH = interpolate(frame, [20, 200], [0, 520], { extrapolateLeft: "clamp", extrapolateRight: "clamp", easing: Easing.out(Easing.cubic) });Timeline
Alternating left-right company timeline with gradient center line, milestone dots, and staggered card reveals.
Duration9s
Resolution1920 × 1080
Frame rate30 fps
Frames270
Copy the code snippet into your Remotion project and run the render command to generate this template locally.