Venn Merge
Two circles labelled Design and Code overlap, the lens fills with the logo and a caption lands. A free, MIT-licensed Remotion motion graphic.
$ pnpm dlx shadcn@latest add @remocn/venn-mergeUsage
// src/Root.tsx
import { Composition } from "remotion";
import { VennMerge } from "@/components/remocn/venn-merge";
const VennMergeScene = () => (
<VennMerge
sets={["Design", "Code"]}
center="Kitebase"
caption="Motion design, written as code."
/>
);
export const RemotionRoot = () => (
<Composition
id="VennMerge"
component={VennMergeScene}
durationInFrames={150}
fps={30}
width={1280}
height={720}
/>
);Outlined circles draw in, slide together until they overlap, and the shared lens fills with a gradient. The center text (or the Remocn logo for the default) fades into the lens and the caption appears below. Pass 2 or 3 sets labels, a center and a caption. Ships dark and light via theme.
Props15
| Prop | Type | Default |
|---|---|---|
| sets | string[]["Design", "Code"] Labels for the circles. Two or three are used. | |
| center | string"remocn" Text in the overlap. "remocn" shows the logo instead. | |
| caption | string"Motion design, written as code." Line shown under the diagram. | |
| slide | number40 Frames the circles take to slide together. | |
| ringWidth | number2 Stroke width of the circles, in pixels at 720p. | |
| logo | React.ReactNode— Replaces the remocn mark. | |
| accent | string"#3B5BFD" Color of the deep gradient stop in the lens. | |
| ink | string— Text color; overrides the theme ink. | |
| background | string— Background fill; pass "transparent" to drop it. | |
| fontFamily | string"Instrument Serif" Typeface for the set labels. 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. | |
- setsstring[]
Labels for the circles. Two or three are used.
Default
["Design", "Code"] - centerstring
Text in the overlap. "remocn" shows the logo instead.
Default
"remocn" - captionstring
Line shown under the diagram.
Default
"Motion design, written as code." - slidenumber
Frames the circles take to slide together.
Default
40 - ringWidthnumber
Stroke width of the circles, in pixels at 720p.
Default
2 - logoReact.ReactNode
Replaces the remocn mark.
- accentstring
Color of the deep gradient stop in the lens.
Default
"#3B5BFD" - inkstring
Text color; overrides the theme ink.
- backgroundstring
Background fill; pass "transparent" to drop it.
- fontFamilystring
Typeface for the set labels. Load the font in your project first.
Default
"Instrument Serif" - 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 - grainboolean
Film grain over the scene.
Default
true - theme"dark" | "light"
Color scheme. Ships dark and light.
Default
"dark" - speednumber
Playback speed multiplier for the whole timeline.
Default
1