Remotion text message video: animated iMessage, Telegram and DM chats, with code
How to make an animated text message or DM conversation video in Remotion: free iMessage and Telegram chat components, messages scripted as props, typing dots, per-message timing, jump cuts and a vertical 1080×1920 cut for Reels, TikTok and Shorts.
Last updated: December 3, 2026.
To make an animated iMessage, Telegram or DM chat video in Remotion, install a chat component,
pass your conversation as a messages array and drop it into a composition. Remocn ships both
skins for free under MIT: npx shadcn@latest add @remocn/imessage-chat-flow for iMessage and
npx shadcn@latest add @remocn/telegram-chat-flow for Telegram.
Each component types the outgoing message into the composer, sends it, shows the other side typing, lands the reply and pops reactions in. You write the script; the component times it.
Which chat component to use
| You want the video to look like | Install | What you get |
|---|---|---|
| iMessage | imessage-chat-flow | Gray and blue tailed bubbles, typing-dots bubble, "Delivered" label, tapback badges |
| Telegram | telegram-chat-flow | Tailed bubbles with in-bubble times, double checks, "typing…" in the header, reaction chips |
| Your own brand, no real app | chat-flow | The same scripted thread in your theme colors |
| One bubble you time by hand | message-bubble | A single incoming or outgoing bubble with an optional reaction |
| Just the "someone is typing" dots | typing-indicator | Bouncing dots to put in any bubble |
Remocn needs an existing Remotion project; set one up first if you don't have it. Components are
copied into components/remocn/ as source you own. There is no runtime package.
Script the messages as props
The whole conversation is one array. from: "me" messages are typed into the composer and sent;
from: "them" messages arrive after a typing beat. reaction is optional.
import { Composition } from "remotion";
import {
ImessageChatFlow,
imessageChatFlowDuration,
type ImessageMessage,
} from "@/components/remocn/imessage-chat-flow";
const messages: ImessageMessage[] = [
{ from: "me", text: "did you see the new pricing page?" },
{ from: "them", text: "wait it's FREE now??", reaction: "😮" },
{ from: "me", text: "free for solo builders. link in bio" },
{ from: "them", text: "signing up rn", reaction: "❤️" },
];
const Chat = () => (
<ImessageChatFlow messages={messages} contact={{ name: "Sam" }} />
);
export const Root = () => (
<Composition
id="Chat"
component={Chat}
fps={60}
width={1080}
height={1080}
// the duration helper counts 30 fps frames; this composition runs at 60
durationInFrames={imessageChatFlowDuration(messages) * 2}
/>
);For Telegram, swap in TelegramChatFlow and telegramChatFlowDuration. Its messages also take an
optional time string for the timestamp inside the bubble.
Both components take contact (name and optional avatar URL), accentColor for the outgoing
bubble, and speed, a multiplier for the whole conversation. Pass the same speed to the
duration helper so the composition ends with the chat.
Timing per message, in frames
You don't set a start frame for each message. Both components schedule them from the text, in 30 fps frames:
- An outgoing message types at about 2.2 frames per character, between 18 and 86 frames, then sends.
- An incoming message shows the typing dots for about 2.2 frames per character, between 34 and 70 frames, then lands.
- Each message gets 14 frames to land, plus 22 if it has a reaction, then a gap (18 frames in iMessage, 16 in Telegram).
So short messages read fast and long ones get time to type. To pace the whole thing, change
speed. To see the exact frame of each beat, the schedule is exported:
import { imessageChatFlowSchedule } from "@/components/remocn/imessage-chat-flow";
const { items, duration } = imessageChatFlowSchedule(messages);
// items[i].revealAt: the 30 fps frame where message i lands
// items[i].typingStart / typeStart / sendAt: the typing and send beatsSince the component file is yours, you can also change the constants at its top (FRAMES_PER_CHAR,
MSG_GAP, TYPING_MAX) to change the pacing for every chat in the project.
Typing dots between bubbles, by hand
When you want full control of every beat, build the thread from
message-bubble and
typing-indicator. Here the dots show for two seconds,
then the reply takes their place. The at values are 30 fps frames.
import { AbsoluteFill } from "remotion";
import { MessageBubble } from "@/components/remocn/message-bubble";
import { useMessageBubbleTransition } from "@/components/remocn/use-message-bubble-transition";
import { TypingIndicator } from "@/components/remocn/typing-indicator";
export const Reply = () => {
const dots = useMessageBubbleTransition([
{ at: 0, state: "visible" },
{ at: 60, state: "hidden", duration: 6 },
]);
const reply = useMessageBubbleTransition([{ at: 60, state: "visible" }]);
return (
<AbsoluteFill style={{ justifyContent: "flex-end", padding: 48 }}>
<div style={{ position: "relative" }}>
<div style={{ position: "absolute", bottom: 0, width: "100%" }}>
<MessageBubble style={dots} variant="incoming">
<TypingIndicator />
</MessageBubble>
</div>
<MessageBubble style={reply} variant="incoming">
wait it's FREE now??
</MessageBubble>
</div>
</AbsoluteFill>
);
};Continuous scroll or jump cuts
There are two ways to pace a chat video:
- Continuous. One chat component plays the whole thread: typing, sending, the next reply. It reads like watching a phone over someone's shoulder. Best for 3–6 short messages.
- Jump cuts. Split the conversation into beats and cut between them. Each beat is its own chat scene with one or two messages, so the viewer only sees the message that matters. Better for storytime videos, long threads and hooks that need to move.
For jump cuts, put each beat in a TransitionSeries and choose the cut. A hard cut needs no
transition at all (use Remotion's <Series>). For energy, use
Whip Pan, a sideways camera whip with motion blur:
import { TransitionSeries, linearTiming } from "@remotion/transitions";
import { ImessageChatFlow, imessageChatFlowDuration } from "@/components/remocn/imessage-chat-flow";
import { whipPan } from "@/components/remocn/whip-pan";
const beats = [
[{ from: "me", text: "so I quit my job today" }],
[{ from: "them", text: "WHAT", reaction: "😳" }],
[{ from: "me", text: "to work on my app full time" }],
] as const;
export const ChatCuts = () => (
<TransitionSeries>
{beats.map((beat, i) => [
i > 0 && (
<TransitionSeries.Transition
key={`t${i}`}
timing={linearTiming({ durationInFrames: 52 })}
presentation={whipPan()}
/>
),
<TransitionSeries.Sequence
key={`s${i}`}
durationInFrames={imessageChatFlowDuration([...beat]) * 2}
>
<ImessageChatFlow messages={[...beat]} contact={{ name: "Mom" }} />
</TransitionSeries.Sequence>,
])}
</TransitionSeries>
);The numbers handed to Remotion are 60 fps frames, so the 30 fps duration is doubled. Each
TransitionSeries.Sequence restarts its own clock, so every beat plays its typing animation from
the start.
Other cuts that suit chat videos:
- Slide Swap shoves one scene off and springs the next in with no
overlap. It's built as a run of scenes (
SlideSwapScenes), so it fits title cards between chat beats ("3 hours later…") better than the chat beats themselves. - The transitions catalog lists every cut with its length in frames.
Vertical 1080×1920 for Reels, TikTok and Shorts
Chat videos are mostly watched on phones, so the vertical cut usually matters most. Set the
composition to width={1080} and height={1920}.
The iMessage and Telegram threads are a phone-width column (at most 460 px wide) centered in the frame. On a 1080 px wide canvas that is small, so render the chat at half size and scale it up:
import { AbsoluteFill } from "remotion";
export const VerticalChat = () => (
<AbsoluteFill>
<div style={{ width: 540, height: 960, transform: "scale(2)", transformOrigin: "top left" }}>
<ImessageChatFlow messages={messages} contact={{ name: "Sam" }} />
</div>
</AbsoluteFill>
);Keep the last message out of the bottom edge, where the platform puts its captions and buttons. For re-cutting a finished horizontal video into vertical and square, see One video, three formats.
Let your agent build it
With the Remocn plugin for Claude Code or Codex
(/plugin install remocn --marketplace Remocn/remocn), paste this and fill in your story. Setup
for other agents is in Setup.
/remocn:video A vertical 1080x1920 text message story, about 20 seconds.
iMessage look (remocn imessage-chat-flow). Contact name: <NAME>.
Messages, in order:
- me: <MESSAGE 1>
- them: <MESSAGE 2> (react with 😮)
- me: <MESSAGE 3>
- them: <MESSAGE 4>
Use jump cuts: one or two messages per beat, whip-pan between beats.
End on a title card with <PRODUCT NAME> and <URL>.
Keep text away from the top and bottom edges.For a Telegram look, say telegram-chat-flow instead. To skip the plugin, connect the MCP server at
https://remocn.dev/mcp and describe the same video.
Can I make fake text message story videos with this?
Yes, the components render any conversation you script, with any contact name and avatar. They draw a look-alike of the app, not a screenshot of a real chat. If the story isn't real, say so in the post; some platforms require labels for staged content.
Is it free?
Remocn is MIT-licensed and free, with no account or usage limits. Rendering happens wherever you run Remotion. Remotion itself is free for individuals and small companies; see its license.
How do I add captions or a voiceover on top?
Transcribe the voiceover, then layer a Remocn caption style over the chat. Word-by-word captions walks through it, and Captions lists every style. In vertical, put the captions in the upper half so they don't cover the newest message.
How do I add a message sound or music?
The components are silent. Add audio with Remotion's <Html5Audio>: one track for music, and a
short "sent" or "received" sound in a <Sequence> at each message's frame. Take the frame from
imessageChatFlowSchedule(messages).items[i].revealAt and double it in a 60 fps composition.
Music and sound covers picking a track you're allowed to use.
Can I change the colors?
accentColor changes the outgoing bubble and send button on both skins. The rest of each skin is
fixed to look like the app. For your own palette, use chat-flow, or
edit the copied source.
Does it work at 30 fps?
Yes. The components keep the same timing in seconds at any frame rate. At 30 fps, use the duration helpers' numbers as they are instead of doubling them.