Word Acts
Kinetic typography for Remotion: each word in a feature list demonstrates itself with its own animation (stretch stretches, split splits, heavy drops, faster rushes in), ending on one big held word.
To have each word in a feature list demonstrate itself with its own little animation in Remotion, use Word Acts: "stretch" stretches, "split" is cut in half, "heavy" falls and lands with a bounce, "faster" rushes in and snaps, and "rebuilt" is reassembled from strokes before it holds as one big poster word. Words follow each other on hard cuts. Use it for a playful feature-list beat in a launch or product video.
$ pnpm dlx shadcn@latest add @remocn/word-actsHow to build this in Remotion
You don't have to build a Series or TransitionSeries with a separate spring() animation per word. Install the component and list the acts:
npx shadcn@latest add @remocn/word-actsIt is one scene, not a Sequence per word: the schedule in timeline.ts places the acts back to back, each lasting its own number of frames, and the last one runs on through hold. Each act kind has its own built-in motion: a pull for stretch, a cut line and two halves for split, a fall and a spring ring for heavy, a rush, snap and rock back for faster, and strokes that fly out and return for rebuilt.
Good to know
- Length: 139 frames of motion at 30 fps (278 at 60 fps) with the default props. That is the minimum for its
Sequence; add your own hold on top. The Usage example below is a 60 fps composition, so the numbers it hands to Remotion (durationInFrames,Sequencelengths) are doubled. The component's own props counted in frames stay in 30 fps frames at any frame rate, see Frame rate. - Installs:
remotion,@remotion/google-fontsfrom npm, plus the remocn helpersglide,frame-rate,timeline. The shadcn CLI copies the source into your project. - Font: loads Geist itself through
@remotion/google-fonts. PassfontFamilyto use your own face, and load that font in your project. - Acts: there are five built-in kinds,
stretch,split,heavy,fasterandrebuilt. You can put any word on any act, but custom act kinds are not supported.rebuiltdraws its word from geometric strokes, so it takes lowercase a–z only. - Default frames per act at 30 fps:
stretch26,split26,heavy28,faster22,rebuilt42, plushold(32) on the last word. Setframeson an act to make it longer or shorter; the act's motion stretches with it.
Usage
// src/Root.tsx
import { Composition } from "remotion";
import { WordActs } from "@/components/remocn/word-acts";
const WordActsScene = () => (
<WordActs
acts={[
{ word: "stretch", act: "stretch" },
{ word: "heavy", act: "heavy" },
{ word: "rebuilt", act: "rebuilt" },
]}
hold={30}
/>
);
export const RemotionRoot = () => (
<Composition
id="WordActs"
component={WordActsScene}
durationInFrames={252}
fps={60}
width={1280}
height={720}
/>
);Words play one after another, each performing its meaning: stretch, split, heavy (falls and lands), faster (rushes in and snaps) and rebuilt (strokes scatter and reassemble). Pass acts as a list of { word, act, frames? }; the last word also holds for hold frames. Total length is the sum of the acts' frames plus the hold, and it ships light and dark through theme.
Props11
| Prop | Type | Default |
|---|---|---|
| acts | WordActBeat[]DEFAULT_ACTS List of `{ word, act, frames? }` beats; `rebuilt` words must be lowercase a–z. | |
| words | string[]— Words for the acts in order; each one replaces its act's word. | |
| hold | number32 Extra frames the final word holds as a poster. | |
| accent | string"#3B5BFD" Accent color for the gradient marks and strokes. | |
| ink | string— Text color; overrides the theme ink. | |
| background | string— Background fill; pass "transparent" to drop it. | |
| fontFamily | string"Geist" Typeface for the copy. Load the font in your project first. | |
| 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. | |
| theme | "dark" | "light""dark" Ships light and dark. | |
- actsWordActBeat[]
List of `{ word, act, frames? }` beats; `rebuilt` words must be lowercase a–z.
Default
DEFAULT_ACTS - wordsstring[]
Words for the acts in order; each one replaces its act's word.
- holdnumber
Extra frames the final word holds as a poster.
Default
32 - accentstring
Accent color for the gradient marks and strokes.
Default
"#3B5BFD" - inkstring
Text color; overrides the theme ink.
- backgroundstring
Background fill; pass "transparent" to drop it.
- fontFamilystring
Typeface for the copy. Load the font in your project first.
Default
"Geist" - 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.
Default
1 - theme"dark" | "light"
Ships light and dark.
Default
"dark"
Common questions
How do I make each word in a list animate its own meaning?
Install Word Acts with npx shadcn@latest add @remocn/word-acts and pass acts as { word, act } pairs, for example { word: "heavy", act: "heavy" }. Each word plays its act in turn and the last one holds.
Can I add my own kind of act?
Not through props. The five acts are built in; to add another, edit the copied source in your project.
How do I change the pacing?
Give an act frames to set its length, or set hold for the final word. The total is the sum of the acts' frames plus hold.
Related effects
- Kinetic Morph Text: every word shares one consistent motion style.
- Word Push: a full sentence that has to read as one line.
- Stretch In: one word stretching in, without a sequence of acts.