Text & Titles
Centered Build
A line builds one word at a time and stays centred as it grows: each new word slides in while the words already set glide left to make room.
- Type
- Animation
- Duration
- 3.3s
- Category
- Text & Titles
- Source
- Imgcli
Install
A line builds one word at a time and stays centred as it grows: each new word slides in while the words already set glide left to make room.
Installation
npx @imgcli/cli add centered-buildUsage
import { CenteredBuild } from "@/components/imgcli/centered-build";
<CenteredBuild />Render at 30 fps for 99 frames (3.3 seconds) with the default props. The preview uses a 960 × 540 canvas.
Use <CenteredBuild text="Every launch deserves a film." accentWords={1} /> for centeredBuildSeconds(wordCount) seconds at 30 fps (99 frames for five words). stagger sets the seconds between words.
| Prop | Type | Default | Description |
|---|---|---|---|
text | string | "Every launch deserves a film." | |
accentWords | number | 1 | How many of the last words take the accent colour. |
stagger | number | 0.32 | Seconds between words. |
fontSize | number | 60 | Type size in pixels on a 540px-tall canvas. |
fontWeight | number | 600 | |
fontFamily | string | — | A face from the Imgcli font list, or any loaded CSS font stack. |
accentColor | string | — | |
theme | Partial<ImgcliTheme> | — | |
mode | "light" | "dark" | — | |
speed | number | 1 |
License
MIT. Free for personal and commercial use. Preserve the copyright and license notice.
Copyright (c) 2026 Ricky (Imgcli) <https://imgcli.com>
Frequently asked questions
How do I add Centered Build to a Remotion project?
Run npx @imgcli/cli add centered-build in your Remotion project. The CLI copies the editable source into components/imgcli/ under your source root and installs its dependencies.
What is Centered Build?
Centered Build is a Remotion word-by-word title animation for React. A line builds one word at a time and stays centred as it grows: each new word slides in while the words already set glide left to make room.
What do I need before using Centered Build?
Use Node.js 20.19 or newer and an existing Remotion project. Create one with npx create-video@latest. The component is free and MIT licensed.