Render CLI
npx remotion render remotion/index.tsx CountdownTimer output.mp4 --codec=h264
Composition code
import { AbsoluteFill, useCurrentFrame, interpolate, Easing } from "remotion";
export const CountdownTimer: React.FC = () => {
const frame = useCurrentFrame();
const textY = interpolate(frame, [10, 50], [40, 0], { extrapolateLeft: "clamp", extrapolateRight: "clamp", easing: Easing.out(Easing.cubic) });
const opacity = interpolate(frame, [10, 40], [0, 1], { extrapolateLeft: "clamp", extrapolateRight: "clamp" });
return (
<AbsoluteFill style={{ background: "#f5f5f7", fontFamily: '-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto', display: "flex", justifyContent: "center", alignItems: "center" }}>
<div style={{
transform: `translateY(${textY}px)`, opacity,Countdown Timer
Event countdown timer with Apple-style frosted glass cards and smooth number animations.
Duration7s
Resolution1920 × 1080
Frame rate30 fps
Frames210
This is a free, open-source template. Copy the code and drop it into your Remotion project.