Pulse Line

A heartbeat-style pulse runs through 'Every frame has a pulse.' with the last word in teal. A free, MIT-licensed Remotion text animation.

Installation
$ pnpm dlx shadcn@latest add @remocn/pulse-line

Usage

tsx
// src/Root.tsx
import { Composition } from "remotion";
import { PulseLine } from "@/components/remocn/pulse-line";
 
const PulseLineScene = () => (
  <PulseLine text="Every frame has a pulse." highlight="a pulse." beats={2} />
);
 
export const RemotionRoot = () => (
  <Composition
    id="PulseLine"
    component={PulseLineScene}
    durationInFrames={260}
    fps={60}
    width={1280}
    height={720}
  />
);

A heartbeat pulse travels through the headline glyphs and lights the highlight phrase in an aurora gradient, then the caption fades in. Pass text, highlight, caption and beats (1 to 4 pulses); it ships light and dark.

Props15

PropTypeDefault
text
string"Every frame has a pulse."

The headline the pulse runs through.

highlight
string"a pulse."

Trailing phrase tinted with the aurora gradient.

caption
string"Motion components for Remotion. Copy one in, own every frame."

Small line under the headline; empty to hide.

beats
number2

Number of pulses, from 1 to 4.

amplitude
number1

Height of the pulse wave as it runs through the letters; 1 is the default lift.

accent
string"#3B5BFD"

Accent colour (any CSS colour).

ink
string—

Text color as a hex value; overrides the theme ink.

background
string—

Background fill; pass "transparent" to drop it.

fontFamily
string"Inter Tight"

Typeface for the copy. Load the font in your project first.

fontWeight
number500

Weight of the line.

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.

  • textstring

    The headline the pulse runs through.

    Default"Every frame has a pulse."

  • highlightstring

    Trailing phrase tinted with the aurora gradient.

    Default"a pulse."

  • captionstring

    Small line under the headline; empty to hide.

    Default"Motion components for Remotion. Copy one in, own every frame."

  • beatsnumber

    Number of pulses, from 1 to 4.

    Default2

  • amplitudenumber

    Height of the pulse wave as it runs through the letters; 1 is the default lift.

    Default1

  • accentstring

    Accent colour (any CSS colour).

    Default"#3B5BFD"

  • inkstring

    Text color as a hex value; 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"Inter Tight"

  • fontWeightnumber

    Weight of the line.

    Default500

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