Waveform Title

A headline rises over an aurora waveform line that settles into an underline beneath it. A free, MIT-licensed Remotion text animation.

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.

Installation
$ pnpm dlx shadcn@latest add @remocn/waveform-title

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, Sequence lengths) 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-fonts from npm, plus the remocn helpers glide, frame-rate, timeline. The shadcn CLI copies the source into your project.
  • Font: loads Instrument Sans and Instrument Serif itself through @remotion/google-fonts. Pass fontFamily to 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.

Usage

tsx
// 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

PropTypeDefault
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.

    Default1

  • staggernumber

    Frames between words as the title rises.

    Default4

  • 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.

    Default1

  • delaynumber

    Frames to hold the first frame before anything moves.

    Default0

  • grainboolean

    Film grain over the scene.

    Defaulttrue

  • speednumber

    Playback multiplier; above 1 plays faster.

    Default1

  • theme"dark" | "light"

    Colour scheme; ships light and dark.

    Default"dark"