Captions: minimal
Quiet captions: one line, no effects, with only the spoken word brightening.
A preset of Captions.
CaptionsMinimal, defaults
Installation
npx shadcn add https://www.reelcn.dev/r/captions-minimal.jsonFiles land in src/reelcn/ with the items it builds on.
Usage
<CaptionsMinimal captions={captions} />Props
PropTypeDescription
styleCSSProperties
classNamestring
captions*Caption[]Word-level captions, as `@remotion/captions` defines them. `pnpm reelcn-transcribe` writes this shape.
sizenumberFont size in design units; long pages shrink from here.
colorstring
pageMsnumberHow much speech goes on one page, in milliseconds. Lower means fewer words at a time.
maxWordsnumberHard cap on words per page; long pages are split.
emphasizestring[]Words painted in the emphasis color. Case and punctuation are ignored.
position"auto" | "top" | "middle" | "bottom"
auto sits above the platform UI in portrait and in the lower third elsewhere.activeColorstring
emphasisColorstring
backgroundstring
Built from
Use
- Interviews and documentary footage where captions should stay out of the way
Guides
Components take their colors from a theme, their timing from motion props and their layout from the canvas.
Source
registry/items/captions-minimal.tsx
/**
* @title Captions: Minimal
* @category social
* @description Quiet captions: one line, no effects, with only the spoken word brightening.
* @duration data-driven
* @preset captions
* @use Interviews and documentary footage where captions should stay out of the way
* @tags captions, minimal, interview
* @example
* <CaptionsMinimal captions={captions} />
*/
import { Captions, type CaptionsProps } from "./captions";
export type CaptionsMinimalProps = Omit<CaptionsProps, "variant">;
export function CaptionsMinimal(props: CaptionsMinimalProps) {
return <Captions {...props} variant="minimal" />;
}