Half Built
A sentence of unfinished verbs shows each one as an outline that fills in as it ships. A free, MIT-licensed Remotion text animation.
$ pnpm dlx shadcn@latest add @remocn/half-builtUsage
// src/Root.tsx
import { Composition } from "remotion";
import { HalfBuilt } from "@/components/remocn/half-built";
const HalfBuiltScene = () => (
<HalfBuilt parts={[{ text: "It cuts," }, { text: "captions,", when: "Spring" }, { text: "narrates", when: "Summer" }]} progress={1.6} />
);
export const RemotionRoot = () => (
<Composition
id="HalfBuilt"
component={HalfBuiltScene}
durationInFrames={150}
fps={30}
width={1280}
height={720}
/>
);Each part of the sentence starts hollow and fills in as progress advances, with optional season tags such as Summer or Later marking what is planned. Pass parts and set progress to choose how far the roadmap has filled. It ships in light and dark through the theme prop.
Props12
| Prop | Type | Default |
|---|---|---|
| parts | HalfBuiltPart[]DEFAULT_PARTS Sentence parts as `{ text, when? }`; `when` adds a season tag. | |
| progress | number1.6 How many parts are filled in by the end; fractions fill partially. | |
| accent | string— Accent color override; falls back to the theme accent. | |
| ink | string— Text color; overrides the theme ink. | |
| background | string— Background color override; falls back to the theme background. | |
| fontFamily | string"Golos Text" Typeface for the copy. Load the font in your project first. | |
| fontWeight | number500 Weight of the sentence. | |
| stagger | number3 Frames between words as the sentence builds. | |
| scale | number1 Size of the foreground around the frame's center; the background stays put. | |
| delay | number0 Frames to hold the first frame before anything moves. | |
| speed | number1 Playback speed multiplier for the whole timeline. | |
| theme | "dark" | "light""dark" Ships light and dark; picks the palette. | |
- partsHalfBuiltPart[]
Sentence parts as `{ text, when? }`; `when` adds a season tag.
Default
DEFAULT_PARTS - progressnumber
How many parts are filled in by the end; fractions fill partially.
Default
1.6 - accentstring
Accent color override; falls back to the theme accent.
- inkstring
Text color; overrides the theme ink.
- backgroundstring
Background color override; falls back to the theme background.
- fontFamilystring
Typeface for the copy. Load the font in your project first.
Default
"Golos Text" - fontWeightnumber
Weight of the sentence.
Default
500 - staggernumber
Frames between words as the sentence builds.
Default
3 - scalenumber
Size of the foreground around the frame's center; the background stays put.
Default
1 - delaynumber
Frames to hold the first frame before anything moves.
Default
0 - speednumber
Playback speed multiplier for the whole timeline.
Default
1 - theme"dark" | "light"
Ships light and dark; picks the palette.
Default
"dark"