RemotionUI

Karaoke Captions

Active-word caption styling for social clips.

PrimitiveData & mediaAdvanced

karaoke-captions30fps · 960×540
Install
$ npx remotion-ui@latest add karaoke-captions

Caption primitive for active-word emphasis. Each word crosses one ramp — colour, scale and lift together — with an underline that wipes across the word's own timing.

Use with caption-utils groupCaptionsIntoPages().

Agent notes

Install first, then import the copied source component locally. AI guide →

Import
@/remotion/primitives/karaoke-captions
  • Use when: captioned videos, social clips, and synced text scenes.
  • Customize: page, mode, fontSize, fontWeight, plus copied source for timing, layout, colors, and typography.
  • Rule: do not import this component from the remotion-ui npm package; it is copied into your project.

Usage

Example
import { KaraokeCaptions } from "@/remotion/primitives/karaoke-captions"; <KaraokeCaptions page={page} mode="scale" />

API Reference

PropTypeDescription
page*TikTokPageCaption page from @remotion/captions.
mode"scale" | "underline"Active word emphasis style — both modes also pop and lift the word.
fontSizenumberCaption size in px.
fontWeightnumber | stringCaption weight.
emphasisScalenumberPeak scale of the active word.
activeColorstringColor the active word crosses to.
completedColorstringColor for words already spoken.
inactiveColorstringColor for words not yet spoken.
trackColorstringUnderline track behind the wipe. Defaults to inactiveColor.
framenumberFrame override — pass the parent frame inside a Sequence.

Related