# Template: Title intro / outro card A short card (2-3 seconds) with a title and subtitle. Use at the start or end. `src/TitleCard.tsx` ```tsx import { AbsoluteFill, interpolate, spring, useCurrentFrame, useVideoConfig } from "remotion"; export const TitleCard = ({ title, subtitle }: { title: string; subtitle?: string }) => { const frame = useCurrentFrame(); const { fps, durationInFrames } = useVideoConfig(); const rise = spring({ frame, fps, config: { damping: 14 } }); const fadeOut = interpolate(frame, [durationInFrames - 15, durationInFrames], [1, 0], { extrapolateLeft: "clamp", extrapolateRight: "clamp", }); return (

{title}

{subtitle &&

{subtitle}

}
); }; ``` Chain with the main video using ``: ```tsx ```