Shape Morph O

A shape morphs through several forms, then lands as the O of the wordmark beside the R mark. A free, MIT-licensed Remotion logo animation.

Installation
$ pnpm dlx shadcn@latest add @remocn/shape-morph-o

Usage

tsx
// src/Root.tsx
import { Composition } from "remotion";
import { ShapeMorphO } from "@/components/remocn/shape-morph-o";
 
const ShapeMorphOScene = () => (
  <ShapeMorphO
    word="remocn"
    mark
    accent="#3B5BFD"
  />
);
 
export const RemotionRoot = () => (
  <Composition
    id="ShapeMorphO"
    component={ShapeMorphOScene}
    durationInFrames={320}
    fps={60}
    width={1280}
    height={720}
  />
);

A single shape appears centred and morphs through circle, cookie, clover, burst, pill and square, then flies into the first o of the word as the other letters reveal and the counter opens. Pass word and mark, which sets a leading r as the R mark. Ships light and dark.

Props13

PropTypeDefault
word
string"remocn"

Word the shape lands in; its first o becomes the shape.

mark
booleantrue

Set a leading r as the R mark; ignored otherwise.

logo
React.ReactNode—

Replaces the remocn mark.

accent
string"#3B5BFD"

Accent colour for the mark and highlights; any CSS colour.

ink
string—

Text color; overrides the theme ink.

background
string—

Background fill; pass "transparent" to drop it.

fontFamily
string"Manrope"

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

fontWeight
number500

Weight of the word; its o is traced from this weight.

beat
number16

Frames between one shape change and the next.

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.

theme
"dark" | "light""dark"

Dark or light palette and ground.

speed
number1

Playback multiplier for the whole timeline; 1 is normal speed.

  • wordstring

    Word the shape lands in; its first o becomes the shape.

    Default"remocn"

  • markboolean

    Set a leading r as the R mark; ignored otherwise.

    Defaulttrue

  • logoReact.ReactNode

    Replaces the remocn mark.

  • accentstring

    Accent colour for the mark and highlights; any CSS colour.

    Default"#3B5BFD"

  • inkstring

    Text color; overrides the theme ink.

  • backgroundstring

    Background fill; pass "transparent" to drop it.

  • fontFamilystring

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

    Default"Manrope"

  • fontWeightnumber

    Weight of the word; its o is traced from this weight.

    Default500

  • beatnumber

    Frames between one shape change and the next.

    Default16

  • 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

  • theme"dark" | "light"

    Dark or light palette and ground.

    Default"dark"

  • speednumber

    Playback multiplier for the whole timeline; 1 is normal speed.

    Default1