Video Call
A video call fills with participants, then one shares a screen while emoji reactions float up. A free, MIT-licensed Remotion product scene.
$ pnpm dlx shadcn@latest add @remocn/video-callUsage
// src/Root.tsx
import { Composition } from "remotion";
import { VideoCall } from "@/components/remocn/video-call";
const VideoCallScene = () => (
<VideoCall meetingCode="abc-defg-hij" presenter={1} accent="#3B5BFD" />
);
export const RemotionRoot = () => (
<Composition
id="VideoCall"
component={VideoCallScene}
durationInFrames={600}
fps={60}
width={1280}
height={720}
/>
);Up to six participants join the grid one by one, then the presenter's tile becomes a shared screen and the rest move to a side strip. A reaction tray pops up and emoji float up the screen. Pass participants (name, color, camera, muted), meetingCode, and your own src screenshot or children for the shared screen.
The ground is a live gradients.sh shader (GshGround), installed with the component as @remocn/gsh. Pick another look with the ground preset prop.
Props19
| Prop | Type | Default |
|---|---|---|
| participants | CallParticipant[]DEFAULT_PARTICIPANTS Up to six people, in join order. | |
| meetingCode | string"kqv-mnrt-zpa" Meeting code shown in the bottom bar. | |
| time | string"10:42 AM" Clock time shown in the bottom bar. | |
| callTitle | string"Launch sync" Call name above the grid in portrait. | |
| screenTitle | string"Launch week" Heading of the built-in shared screen. | |
| leaveLabel | string"Leave" Label of the red leave button. | |
| presenter | number1 Index of the participant who shares their screen. | |
| present | booleantrue `false` keeps the grid and ends on reactions only. | |
| src | string— Screenshot shown as the shared screen. | |
| children | React.ReactNode— Custom shared-screen content (wins over `src`). | |
| accent | string"#3B5BFD" Accent color for highlights and the active speaker ring. | |
| ink | string— Text color; overrides the theme ink. | |
| background | string— Solid fill in place of the gradient ground; pass "transparent" to drop it. | |
| fontFamily | string"Onest" Typeface for the copy. 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. | |
| speed | number1 Playback speed multiplier for the whole timeline. | |
| ground | GshPresetId— Preset id for the shader background. | |
| groundParams | Partial<GradientParams>— Overrides for the shader background parameters. | |
- participantsCallParticipant[]
Up to six people, in join order.
Default
DEFAULT_PARTICIPANTS - meetingCodestring
Meeting code shown in the bottom bar.
Default
"kqv-mnrt-zpa" - timestring
Clock time shown in the bottom bar.
Default
"10:42 AM" - callTitlestring
Call name above the grid in portrait.
Default
"Launch sync" - screenTitlestring
Heading of the built-in shared screen.
Default
"Launch week" - leaveLabelstring
Label of the red leave button.
Default
"Leave" - presenternumber
Index of the participant who shares their screen.
Default
1 - presentboolean
`false` keeps the grid and ends on reactions only.
Default
true - srcstring
Screenshot shown as the shared screen.
- childrenReact.ReactNode
Custom shared-screen content (wins over `src`).
- accentstring
Accent color for highlights and the active speaker ring.
Default
"#3B5BFD" - inkstring
Text color; overrides the theme ink.
- backgroundstring
Solid fill in place of the gradient ground; pass "transparent" to drop it.
- fontFamilystring
Typeface for the copy. Load the font in your project first.
Default
"Onest" - 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 - speednumber
Playback speed multiplier for the whole timeline.
Default
1 - groundGshPresetId
Preset id for the shader background.
- groundParamsPartial<GradientParams>
Overrides for the shader background parameters.