Animated caption styles for Remotion: TikTok-style subtitles, ready to install
31 animated caption components for Remotion that read the Caption[] array from @remotion/captions: a box sliding behind the spoken word, emoji above a word, embossed label tape, mask-rise editorial words, glyph-decode captions and more. Install with npx shadcn@latest add @remocn/<name>.
Last updated: December 3, 2026.
Yes, you can get animated, word-synced captions in Remotion without writing the animation yourself:
Remocn ships 31 caption components that take the Caption[] array from @remotion/captions and
animate the word being spoken. A solid box sliding behind the current word, an emoji popping above
a word, letters embossed onto label-maker tape, words rising out of a mask and glyphs decoding into
letters are each one install away.
npx remotion add @remotion/captions
npx shadcn@latest add @remocn/caption-highlight-boximport { AbsoluteFill } from "remotion";
import { CaptionHighlightBox } from "@/components/remocn/caption-highlight-box";
import captions from "./captions.json";
export const Subtitles = () => (
<AbsoluteFill style={{ justifyContent: "flex-end", alignItems: "center", paddingBottom: 108 }}>
<CaptionHighlightBox captions={captions} />
</AbsoluteFill>
);Every style takes the same captions prop, so switching looks is a one-line change. The source is
copied into your project (shadcn style), MIT-licensed, with no runtime dependency besides
remotion and @remotion/captions.
How do these relate to @remotion/captions and createTikTokStyleCaptions?
They build on it. @remotion/captions gives you the Caption type, parseSrt() and
createTikTokStyleCaptions(), which groups words into pages. Remotion's own docs then leave the
rendering to you: map over the page's tokens, compare fromMs/toMs with the current frame and
style the active word.
Remocn components are that rendering step, already written. Each one calls
createTikTokStyleCaptions() internally, breaks pages at sentence ends and pauses, holds the last
page for holdMs and animates the active token. You still produce the transcript yourself, with
whisper.cpp (@remotion/install-whisper-cpp), the OpenAI Whisper API, ElevenLabs or an .srt file:
see Get a transcript.
| Step | Use |
|---|---|
| Transcribe the voiceover | @remotion/install-whisper-cpp, @remotion/openai-whisper, @remotion/elevenlabs or parseSrt() |
| Group words into pages | createTikTokStyleCaptions(), called inside every Remocn caption |
| Animate the spoken word | A Remocn caption-* component |
| Load a font | @remotion/google-fonts, set on a wrapper or through className (captions inherit the font) |
| Place it in the frame | Your own AbsoluteFill, see Positioning |
Find a caption style by what it looks like
People usually describe the effect rather than name it. If a request reads like a line below,
install that component instead of rebuilding it from createTikTokStyleCaptions, spring() and
interpolate().
| What it looks like | Component | Install |
|---|---|---|
| A solid coloured box sits behind the current word and slides to the next word as the speaker goes on (TikTok, Reels, Shorts) | Highlight Box | npx shadcn@latest add @remocn/caption-highlight-box |
| An emoji pops up above a chosen word the moment it is spoken and stays until the phrase leaves | Emoji | npx shadcn@latest add @remocn/caption-emoji |
| Each phrase is embossed letter by letter onto a strip of label-maker tape that feeds out as it is spoken | Label Maker | npx shadcn@latest add @remocn/caption-label-maker |
| Editorial captions: each word slides up out of a mask at its baseline when spoken, no bounce, no scale | Rise | npx shadcn@latest add @remocn/caption-rise |
| Each word starts as random glyphs and decodes left to right into the real letters, like a terminal | Scramble | npx shadcn@latest add @remocn/caption-scramble |
| Each word fills with colour left to right as it is spoken (karaoke) | Karaoke | npx shadcn@latest add @remocn/caption-karaoke |
| The spoken word turns to an accent colour and springs up in scale | Active Pop | npx shadcn@latest add @remocn/caption-active-pop |
| A bar slides under the word being spoken | Underline | npx shadcn@latest add @remocn/caption-underline |
| The whole phrase is dimmed and each word brightens when spoken | Dim Progress | npx shadcn@latest add @remocn/caption-dim-progress |
| The spoken word swells from a light to a heavy font weight | Weight | npx shadcn@latest add @remocn/caption-weight |
| Heavy-stroked outline captions that read over any footage | Outline | npx shadcn@latest add @remocn/caption-outline |
| Word size follows the delivery: drawn-out words large, rushed words small | Prosody | npx shadcn@latest add @remocn/caption-prosody |
| One big word at a time, popping in on a spring | Word Pop | npx shadcn@latest add @remocn/caption-word-pop |
| Each word springs up into place with a little overshoot | Bounce In | npx shadcn@latest add @remocn/caption-bounce-in |
| Each word resolves out of a soft blur | Blur In | npx shadcn@latest add @remocn/caption-blur-in |
| Each word arrives cut in two, halves sliding in from opposite sides | Slice | npx shadcn@latest add @remocn/caption-slice |
| Each word falls from above and bounces as it lands | Drop | npx shadcn@latest add @remocn/caption-drop |
| Words type out character by character with a blinking caret | Typewriter | npx shadcn@latest add @remocn/caption-typewriter |
| Words are inked in by hand, each at a slight angle | Handwrite | npx shadcn@latest add @remocn/caption-handwrite |
| Letters clatter on flap tiles like a departure board | Split Flap | npx shadcn@latest add @remocn/caption-split-flap |
| The phrase starts blacked out and each bar pulls away when its word is spoken | Redact | npx shadcn@latest add @remocn/caption-redact |
| A solid plate with the words cut through it, footage showing through the letters | Knockout | npx shadcn@latest add @remocn/caption-knockout |
| One short line at a time, rolling up like a slot machine | Slot | npx shadcn@latest add @remocn/caption-slot |
| Each phrase turns into view as the next face of a 3D cube | Cube | npx shadcn@latest add @remocn/caption-cube |
| Kinetic stacked captions with the keyword set large | Stack | npx shadcn@latest add @remocn/caption-stack |
| Classic broadcast subtitles on a translucent plate | Subtitle | npx shadcn@latest add @remocn/caption-subtitle |
| The transcript scrolls like a teleprompter, current line centred | Teleprompter | npx shadcn@latest add @remocn/caption-teleprompter |
| The transcript on a time strip sliding under a playhead | Timeline | npx shadcn@latest add @remocn/caption-timeline |
| Key words get a highlighter swipe when spoken | Marker | npx shadcn@latest add @remocn/caption-marker |
| Key words slam down as a rubber stamp when spoken | Stamp | npx shadcn@latest add @remocn/caption-stamp |
| Dialogue captions coloured by speaker | Speaker | npx shadcn@latest add @remocn/caption-speaker |
How do I add emojis to Remotion captions?
Install Emoji and pass a map from spoken words to emoji:
<CaptionEmoji captions={captions} emoji={{ sound: "🔇", three: "⏱️" }} />. Keys match whole
words, ignoring case and punctuation. The emoji pops above its word on a spring the moment the word
is spoken and stays until the phrase leaves. It renders plain Unicode emoji, so you don't need
@remotion/animated-emoji or Lottie. Keep pages to one line: the emoji sits above the line without
moving it.
How do I make TikTok-style captions with a box behind the current word?
Install Highlight Box. It shows the whole page
and moves one rounded box behind the word being spoken; when the voice reaches the next word, the
box slides and resizes onto it (120 ms) instead of popping. Set boxColor, activeColor,
boxRadius and boxPadding. The box follows each word's measured position, so it works on a page
that wraps to two lines.
Can captions look like embossed label-maker tape?
Yes: Label Maker punches each phrase letter by
letter into a tilted strip of embossing tape, spread across the time each word is spoken, so slow
words punch slowly and quick ones rattle out. The tape grows with the letters. A label is one line
and never wraps, so keep phrases short with combineTokensWithinMilliseconds.
How do I make editorial captions where words rise out of a mask?
Use Rise. Each word sits in its own mask and slides up from below its baseline when spoken: 260 ms on a strong ease-out, no bounce, no scale, no fade. The line's space is reserved from the first word, so it never reflows. For a softer arrival, use Blur In; for a playful one, Bounce In.
How do I make captions that decode from random glyphs, like a terminal?
Use Scramble. Each spoken word appears as random
glyphs (A–Z, 0–9 and a few symbols) that resolve left to right into the real letters, over the
word's spoken duration, capped at 300 ms. Glyphs are seeded from the frame, so every render is
identical. Pass a monospaced font through className so the glyphs keep the word's width, and set
glyphColor for the unresolved characters.
What every caption needs
- A Remotion project. Remocn doesn't create one.
@remotion/captions, installed withnpx remotion add @remotion/captionsso its version matches your Remotion version.- A transcript as
Caption[]with word-level times. Get a transcript has recipes for whisper.cpp, OpenAI Whisper, ElevenLabs and.srtfiles. - A font. Captions inherit the font of their parent; load one with
@remotion/google-fontsand set it on a wrapper. See Introduction.
The shadcn CLI also copies the small shared helpers a caption uses into your project alongside it:
caption-core (paging and timing) for every style, plus glide and frame-rate for some. The npm
dependencies are only remotion and @remotion/captions.
Let an agent pick the style
Agents can search this catalog by description through the Remocn MCP server at
https://remocn.dev/mcp (search_components), the agent skill (npx skills add Remocn/remocn) or
llms-components.txt, which lists every caption style with
when to use it and when to pick another.