
Text Animator
@remotionui/text-animator
提供元 RemotionUI
After Effects text animator: range and wiggly selectors drive per-character, per-word or per-line position, scale, rotation, opacity, blur, tracking and fill over measured layout
インストール
npx remotion-ui@latest add text-animatorProps(13)
text*stringCopy. \n forces a line break; words wrap at maxWidth and never split.
animatorsTextAnimatorLayer[]= []{ properties, selectors?, basedOn? }. Properties: position, scale, rotation, skew, opacity, blur, tracking, fill, characterOffset.
fontSizenumberDefaults to 84px at 1080 wide, scaled. Shrinks only if one word cannot fit.
fontFamilystring= "Inter, system-ui, sans-serif"The render waits for this face before measuring.
fontWeightnumber= 700Weight used for measuring and drawing.
colorstring= "#f4f4f5"Base fill before any animator recolours a glyph.
lineHeightnumber= 1.12Multiple of the font size.
letterSpacingnumber= -0.02Base tracking in em.
align"left" | "center" | "right"= "center"Line alignment; follows animated tracking.
maxWidthnumberWrap width. Defaults to 84% of the composition width.
anchorGrouping"character" | "word" | "line" | "all"= "character"Pivot for scale and rotation.
waitForFont() => Promise<unknown>Resolves when the face is loaded — pass waitUntilDone from loadFont. Without it, waits up to 1.5s for a loaded face of the primary family.
framenumberRender this frame instead of the current one.