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.
$ pnpm dlx shadcn@latest add @remocn/shape-morph-oUsage
// 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.
Good to know
- What it looks like: a shape morphs into the O of your wordmark: one blob changes form on a beat, then becomes a letter of the logo.
- How the morph works: every outline is sampled to the same number of points, so the shapes interpolate one to one without flubber. Dependencies are
remotion,@remotion/pathsand@remotion/google-fonts, installed bynpx shadcn@latest add @remocn/shape-morph-o. - Length: 123 frames at 30 fps with the default
beatof 16; a longerbeatslows the morph. The example's 320 frames is the 160-frame docs preview doubled for 60 fps. - The R mark: pass your own mark through
logo, or setmark={false}to keep the word as plain text. - Fonts: the
fontFamilyfont must be loaded in your project; the counter of the o is traced from that font atfontWeight.
Props13
| Prop | Type | Default |
|---|---|---|
| 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.
Default
true - 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.
Default
500 - beatnumber
Frames between one shape change and the next.
Default
16 - scalenumber
Size of the foreground around the frame's center; the background stays put.
Default
1 - delaynumber
Frames to hold the first frame before anything moves.
Default
0 - theme"dark" | "light"
Dark or light palette and ground.
Default
"dark" - speednumber
Playback multiplier for the whole timeline; 1 is normal speed.
Default
1