Chord Ring

Chords link a ring of integration names around a glowing center that reads a caption. A free, MIT-licensed Remotion motion graphic.

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

Usage

tsx
// src/Root.tsx
import { Composition } from "remotion";
import { ChordRing } from "@/components/remocn/chord-ring";
 
const ChordRingScene = () => (
  <ChordRing
    segments={["Acme", "Kitebase", "Lumen", "Fernway", "Quarry", "Orbitly"]}
    brandIndex={0}
    caption="Connects to everything"
  />
);
 
export const RemotionRoot = () => (
  <Composition
    id="ChordRing"
    component={ChordRingScene}
    durationInFrames={330}
    fps={60}
    width={1280}
    height={720}
  />
);

Ring segments grow in around a glowing center, then curved chords draw between them, with the brandIndex segment linked to every other one in the accent color. At the end the ring dims and the caption lands in the center. Pass up to 12 segments names (a segment named "remocn" renders as the Remocn logo) and a caption. Ships dark and light via theme.

Props15

PropTypeDefault
segments
string[]DEFAULT_SEGMENTS

Names around the ring. Up to 12 are used.

brandIndex
number0

Index of the segment that links to all the others.

caption
string"Connects to everything"

Line shown in the center at the end.

stagger
number2.2

Frames between chords as they draw.

thickness
number10

Thickness of the ring segments, in pixels at 720p.

logo
React.ReactNode—

Replaces the remocn mark.

accent
string"#3B5BFD"

Color of the brand segment chords.

ink
string—

Text color; overrides the theme ink.

background
string—

Background fill; pass "transparent" to drop it.

fontFamily
string"Instrument Sans"

Typeface for the names around the ring. 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.

theme
"dark" | "light""dark"

Color scheme. Ships dark and light.

speed
number1

Playback speed multiplier for the whole timeline.

  • segmentsstring[]

    Names around the ring. Up to 12 are used.

    DefaultDEFAULT_SEGMENTS

  • brandIndexnumber

    Index of the segment that links to all the others.

    Default0

  • captionstring

    Line shown in the center at the end.

    Default"Connects to everything"

  • staggernumber

    Frames between chords as they draw.

    Default2.2

  • thicknessnumber

    Thickness of the ring segments, in pixels at 720p.

    Default10

  • logoReact.ReactNode

    Replaces the remocn mark.

  • accentstring

    Color of the brand segment chords.

    Default"#3B5BFD"

  • inkstring

    Text color; overrides the theme ink.

  • backgroundstring

    Background fill; pass "transparent" to drop it.

  • fontFamilystring

    Typeface for the names around the ring. 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

  • theme"dark" | "light"

    Color scheme. Ships dark and light.

    Default"dark"

  • speednumber

    Playback speed multiplier for the whole timeline.

    Default1