Waveform Title
Audio waveform title for Remotion: a headline rises while a colorful, wiggling waveform line sweeps beneath it, calms down and settles into a flat underline.
In Remotion, Waveform Title raises a headline over a glowing aurora-colored audio waveform that flattens into an underline beneath the title. Use it for a product beat about voice, audio or captions.
$ pnpm dlx shadcn@latest add @remocn/waveform-titleHow to build this in Remotion
You don't need @remotion/noise, @remotion/media-utils or @remotion/paths to draw the wave. Install the component and pass your title:
npx shadcn@latest add @remocn/waveform-titleIt is one scene. The waveform is an SVG path built every frame from a few summed sine waves under an envelope, glowing in a multi-color gradient over a soft haze. A playhead sweeps across it, the wave calms and flattens onto the baseline, and at the hand-off it becomes a plain gradient underline that shrinks to the title's width. The title then rises word by word above it with interpolate(), the last accentWords words in serif italic. The schedule lives in timeline.ts.
Good to know
- Length: 114 frames of motion at 30 fps (228 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 Instrument Sans and Instrument Serif itself through
@remotion/google-fonts. PassfontFamilyto use your own face, and load that font in your project. - The waveform is drawn by the component; it does not read an audio file.
- The title stays on one line, it does not wrap. Its size shrinks with the title's length (between 92 and 112 px at 720p) and the line is clipped to the middle 80% of the frame, so keep it to a few words. The layout is made for landscape frames.
Usage
// src/Root.tsx
import { Composition } from "remotion";
import { WaveformTitle } from "@/components/remocn/waveform-title";
const WaveformTitleScene = () => (
<WaveformTitle title="Your voice, captioned" accentWords={1} />
);
export const RemotionRoot = () => (
<Composition
id="WaveformTitle"
component={WaveformTitleScene}
durationInFrames={280}
fps={60}
width={1280}
height={720}
/>
);An aurora waveform line opens and sweeps across the frame, settles into an underline, and the headline rises above it, with the trailing word(s) in italic serif. Pass title and accentWords; it ships light and dark.
Props12
| Prop | Type | Default |
|---|---|---|
| title | string"Your voice, captioned" The headline that rises over the waveform. | |
| accentWords | number1 How many trailing words are set in the italic serif accent. | |
| stagger | number4 Frames between words as the title rises. | |
| accent | string"#3B5BFD" Accent colour (any CSS colour). | |
| ink | string— Text color; overrides the theme ink. | |
| background | string— Background fill; pass "transparent" to drop it. | |
| fontFamily | string"Instrument Sans" 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. | |
| grain | booleantrue Film grain over the scene. | |
| speed | number1 Playback multiplier; above 1 plays faster. | |
| theme | "dark" | "light""dark" Colour scheme; ships light and dark. | |
- titlestring
The headline that rises over the waveform.
Default
"Your voice, captioned" - accentWordsnumber
How many trailing words are set in the italic serif accent.
Default
1 - staggernumber
Frames between words as the title rises.
Default
4 - accentstring
Accent colour (any CSS colour).
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
"Instrument Sans" - 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 - grainboolean
Film grain over the scene.
Default
true - speednumber
Playback multiplier; above 1 plays faster.
Default
1 - theme"dark" | "light"
Colour scheme; ships light and dark.
Default
"dark"
Common questions
How do I animate a title that rises while a waveform line wiggles beneath it and settles into an underline?
Install Waveform Title with npx shadcn@latest add @remocn/waveform-title and pass title. The wave, the sweep, the flattening and the underline are all part of the scene; accentWords sets how many trailing words are in serif italic and theme switches light and dark.
Does the waveform react to my audio track?
No. The wave is drawn from a formula and looks like voice audio, but it does not read an audio file. For bars driven by real audio, Remotion's visualizeAudio() from @remotion/media-utils is the tool.
Can I use it for a voice, podcast or captions feature?
That is what it is for: the default title is Your voice, captioned. Change title, accent and theme to match the product.
Related effects
- Pulse Line: a pulse running through the text itself.
- Ink Underline: a hand-drawn underline under a headline, no audio motif.
- Blur Out Up: a plain headline without the waveform.