Production-ready animations, transitions, backgrounds, and scenes for Remotion
TypeScript ai-agentsclaude-codedemo-videomcpmcp-servermodel-context-protocolmotion-designproduct-demoreactremotionshadcnvideo
---
title: Weight Wave
description: "A wave of font weight travels across a line of text and settles on a highlighted word"
component: weight-wave
vibe: clean
length: 132
useWhen:
- "A tagline about motion or flexibility where the type itself should feel alive."
- "A calm hero line that needs subtle movement without letters leaving their place."
- "A closing line that should end on one emphasized word in the brand color."
avoidWhen:
- "You need the headline to enter from off-screen or by letter — use `per-character-rise`."
- "The line is long and wraps to several lines — use `line-by-line-slide`."
- "You want a width and weight flex on a single big word — use `axis-flex`."
askedAs:
- "font weight wave text"
- "text getting bolder in a ripple"
- "I want letters thickening and thinning across a line, ending on a highlighted word"
- "a variable font ripple that lands on the key word"
- "playful emphasis where boldness travels through the sentence"
- "typographic intro that feels alive, with thickness flowing through the headline"
---
<ComponentPreview name="weight-wave" />
<InstallBlock name="weight-wave" />
## Usage
```tsx
// src/Root.tsx
import { Composition } from "remotion";
import { WeightWave } from "@/components/remocn/weight-wave";
const WeightWaveScene = () => <WeightWave text="Made to move." highlight="move." accent="#3B5BFD" />;
export const RemotionRoot = () => (
<Composition
id="WeightWave"
component={WeightWaveScene}
durationInFrames={165}
fps={30}
width={1280}
height={720}
/>
);
```
A line of text swells in font weight as a wave sweeps across it twice, then each letter settles to a resting weight while the last word takes a gradient fill. Pass `text`, optionally `highlight` for the word to color, and `from`, `peak`, `settle` to tune the weight range.
<PropsTable title="Props"
rows={[
{
name: "text",
type: "string",
default: "\"Made to move.\"",
description: "The line of text to animate.",
},
{
name: "highlight",
type: "string",
description: "Word to color with the gradient; defaults to the last word.",
},
{
name: "from",
type: "number",
default: "100",
description: "Starting font weight, clamped to 100 to 500.",
},
{
name: "peak",
type: "number",
default: "500",
description: "Weight reached at the crest of each wave.",
},
{
name: "settle",
type: "number",
default: "460",
description: "Resting weight each letter ends on.",
},
{
name: "waves",
type: "number",
default: "2",
description: "How many weight waves sweep across the line.",
},
{
name: "accent",
type: "string",
default: "\"#3B5BFD\"",
description: "Deep end color of the highlighted word gradient.",
},
{
name: "theme",
type: "\"dark\" | \"light\"",
default: "\"dark\"",
description: "Color scheme; ships dark and light.",
},
{
name: "speed",
type: "number",
default: "1",
description: "Playback multiplier for the whole timeline.",
},
]}
/>