Cover Ring

An audio-style bar meter appears above a headline line that collapses into a closing caption over green light. A free, MIT-licensed Remotion text animation.

Installation
$ pnpm dlx shadcn@latest add @remocn/cover-ring

Usage

tsx
// src/Root.tsx
import { Composition } from "remotion";
import { CoverRing } from "@/components/remocn/cover-ring";
 
const CoverRingScene = () => (
  <CoverRing
    images={[staticFile("shots/one.jpg"), staticFile("shots/two.jpg")]}
    line="Launch videos aren't edited anymore"
    caption="They're composed."
  />
);
 
export const RemotionRoot = () => (
  <Composition
    id="CoverRing"
    component={CoverRingScene}
    durationInFrames={150}
    fps={30}
    width={1280}
    height={720}
  />
);

Photo tiles flip in around a setup line, the line blurs away as the tiles collapse into a bar meter, and the caption lands with a pulse. Pass images with your own image paths (the defaults only exist in the Remocn repo), plus line and caption; it ships light and dark through theme.

The ground is a live gradients.sh shader (GshGround), installed with the component as @remocn/gsh. Pick another look with the ground preset prop.

Props16

PropTypeDefault
images
string[]—

Image URLs for the tiles; pass your own, defaults are remocn-only

line
string"Launch videos aren't edited anymore"

Setup line shown over the tiles

caption
string"They're composed."

Closing caption shown after the collapse

fontFamily
string"Geist"

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

fontWeight
number300

Weight of the line and caption.

stagger
number2

Frames between words as the opening line reveals.

theme
"dark" | "light""dark"

Ships light and dark palettes

background
string—

Solid fill in place of the gradient ground; pass "transparent" to drop it.

ink
string—

Text color override

accent
string—

Accent color (any valid CSS color)

fog
string[]—

Gradient colors for the ground; overrides the theme

ground
GshPresetId—

Gradient ground preset id

groundParams
Partial<GradientParams>—

Partial gradient parameters to tune the ground

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 for the whole timeline.

  • imagesstring[]

    Image URLs for the tiles; pass your own, defaults are remocn-only

  • linestring

    Setup line shown over the tiles

    Default"Launch videos aren't edited anymore"

  • captionstring

    Closing caption shown after the collapse

    Default"They're composed."

  • fontFamilystring

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

    Default"Geist"

  • fontWeightnumber

    Weight of the line and caption.

    Default300

  • staggernumber

    Frames between words as the opening line reveals.

    Default2

  • theme"dark" | "light"

    Ships light and dark palettes

    Default"dark"

  • backgroundstring

    Solid fill in place of the gradient ground; pass "transparent" to drop it.

  • inkstring

    Text color override

  • accentstring

    Accent color (any valid CSS color)

  • fogstring[]

    Gradient colors for the ground; overrides the theme

  • groundGshPresetId

    Gradient ground preset id

  • groundParamsPartial<GradientParams>

    Partial gradient parameters to tune the ground

  • 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

  • speednumber

    Playback speed multiplier for the whole timeline.

    Default1