Skip to content

Reference

Component gallery

Every component @openvidstudio/core exports, 52 in all. Each clip is a real render of the component, made by the same pipeline a video goes through. The list comes from the package's export list and the props from API.md.

On screen

CinematicScene

Wraps every scene. Grain, vignette and colour grade are always on, and the camera rig lives inside it. Nothing renders outside one.

Details
PropTypeDefault
cameraCamKeyframe[]required
stageWidthnumbercomposition width
stageHeightnumbercomposition height
variant"dark" | "light""dark"
grainnumber0.05
vignettenumber0.32
overlayReactNode
childrenReactNoderequired

CameraRig

CinematicScene sets these up for you. Reach for them only when building a scene that needs the camera state directly.

Details

Layer

Depth is a place in space. A layer is moved back (or forward) by depth * 170 px and scaled about the stage centre so it looks the same size, so with the camera still on the stage centre every depth shows the same picture.

Details
PropTypeDefault
depthnumber0
maxBlurnumber10
styleCSSProperties

DirectedShot

A nested camera rig that turns a flat capture into a directed move: a push-in on one point, an optional tilt, optional depth of field and motion blur, handheld sway, and a cursor, all in the capture's own pixel space.

Details
PropTypeDefault
srcstring
focus{ x, y }the middle
pushnumber1.4
shotShotName
tilt{ x?, y?, z? }
move{ from?, to?, easing? }0 to 90
depthOfFieldnumber0
protect{ x, y, width, height }[]
rackTo{ x, y }
blurboolean | { shutterAngle?, samples? }on for whip, else off
handheldnumber0
shakenumber[]
cursor{ path, clicks? }
captureWidth, captureHeightnumber1920, 1080
width, heightnumberthe composition

LayeredShot

A DirectedShot whose picture is a stack of layers instead of one flat image: a background plus the elements that float above it, each at its own depth, so a push and a tilt make them slide against each other.

Details
PropTypeDefault
manifest{ width, height, background, layers }
background, layersstring, ShotLayer[]
backgroundDepthnumber1
maxBlurnumber0

MotionBlur

Wraps children in Remotion's CameraMotionBlur, but only for the frames of a window. Outside it the children render directly, as if the wrapper were not there.

Details
PropTypeDefault
fromnumber0
tonumbernever
shutterAnglenumber180
samplesnumber8

BrowserFrame

Chrome bar is 56px, so height must be the capture height plus 56 or the page is letterboxed. scaffold_scene computes this from the real PNG for you.

Details
PropTypeDefault
urlstringrequired
widthnumber1360
heightnumber850
darkbooleantrue
childrenReactNoderequired

TitleSlam

Per word entrance. Renders nothing before at. sfx adds a blip per word; it is off by default because a blip every few frames sounds like a ticking clock under a title.

Details
PropTypeDefault
textstringrequired
atnumberrequired
fontSizenumber120
colorstringcolor.textPrimary
glowColorstring
align"center" | "left""center"
sfxbooleanfalse

Caption

Sits 84px from the chosen edge. Put it in overlay, not children. Vary position from scene to scene; the same spot in every scene covers the same part of the product every time.

Details
PropTypeDefault
textstringrequired
atnumberrequired
outnumber
fontSizenumber34
position"bottom" | "top" | "left" | "right" | "auto""bottom"
avoid{ x, y, width, height }
langstringfrom the text

TerminalReplay

Terminals are always this component, never a screen recording of a terminal.

Details
PropTypeDefault
stepsTermStep[]required
titlestring"Project"
widthnumber1280
fontSizenumber26
cpsnumber16
sfxbooleantrue
trailingPromptbooleantrue

CodePanel

Syntax-coloured code in an editor window, with highlighted lines, a scroll offset and a diff mode.

Details
PropTypeDefault
titlestringrequired
linesCodeLine[]required
widthnumber860
heightnumber640
fontSizenumber22
scrollnumber0
highlightnumber[][]
marks("add" | "remove" | null)[]

ChecklistPanel

A checklist card whose items flip to checked at the frames you give. An item with no flipAt stays unchecked.

Details
PropTypeDefault
titlestring"Community Standards"
itemsChecklistItem[]required
widthnumber760
fontSizenumber27
sfxbooleantrue

CursorActor

Coordinates are stage space. Movement is eased automatically; never linear. Each segment bows sideways by up to 6% of its length (the side alternates from one segment to the next) and swings 2.5% of its length past the target before settling, so the cursor moves like a hand.

Details
PropTypeDefault
pathCursorKeyframe[]required
clicksnumber[][]
scalenumber1.6
sfxbooleantrue

RepoCta

A whole scene, not a panel. Do not wrap it in a CinematicScene; it brings its own. No star action by default. Laid out from the composition size, so the card is centred in 1920x1080 and in a 1080x1920 reel.

Details
PropTypeDefault
ownerstringrequired
namestringrequired
descriptionstringrequired
chipsstring[]required
titleTextstringrequired
durationInFramesnumber270

Words

Per-word masked reveal. Never a plain opacity fade (STYLE.md): each word clips in from below on its own stagger, and clips back out the same way if out is set.

Details
PropTypeDefault
textstringrequired
atnumberrequired
outnumber
sizenumber72
weightnumber800
colorstringcolor.textPrimary
accentRecord<number, string>{}
staggernumber
designDesignSystem
align"left" | "center" | "right""left"
font, tracking, lineHeight, maxWidth, glow, italic, style

Caret

Blinking text caret, sized to a line height. Pair with useTyped for a typed line.

Details
PropTypeDefault
hnumber40
colorstringcolor.textPrimary
blinkbooleantrue

DotText

5x7 dot-matrix text, built pixel by pixel rather than drawn with a font file.

Details
PropTypeDefault
textstringrequired
atnumberrequired
pxnumber14
colorsstring[] | "cycle""cycle"
solidstring
build"scatter" | "wipe" | "none""wipe"
outnumber
glownumber0.6
seednumber3

PixelWipe

Transition pair, pixel-grid's natural home but usable standalone. Call both ends of a cut with the same cell/seed so the out and the following in read as one continuous move across the cut.

Details
PropTypeDefault
mode"in" | "out"required
atnumber
durnumber12
cellnumber60
seednumber1
bg, tint
designDesignSystem

AnimatedBeams

A light that travels along lines joining anchor points, for architecture and flow beats. Frame-driven: no CSS animation, no randomness, so a still at any frame is exactly what the video shows.

Details

anchors (2 or more { x, y } in stage px), connections? (index pairs, default each anchor to the next), at? (0), cycle? (60), loop? (true), gap? (12), stagger? (0), curvature? (0.2), strokeWidth? (4), beamLength? (0.25), trackOpacity? (0.18), reverse?, colors?, easing? (E.drift), width?, height? (1920x1080)

Spotlight

A pool of light that sits on a point or travels a path, to pull the eye to one place or as a cursor glow.

Details

path ({ frame, x, y } keyframes; one point holds still), mode? ("glow" or "dim", default "glow"), radius? (280), intensity? (0.55 glow, 0.7 dim), softness? (0.6), at? (0), fadeIn? (12), out?, fadeOut? (12), glowColor?, easing? (E.cinematic)

Marquee

A scrolling row or column of logos, stats or feature names that loops. Frame-driven, and seamless at any duration: the content is repeats of one set n * (itemSize + gap) px long, the offset is that distance times the phase of a period frame loop, so frame f and frame f + period are the same picture byte for byte.

Details

items (strings, or any nodes), itemSize (px along the scroll, required), gap? (40), period? (120 frames per loop), at? (0), direction? ("left", "right", "up", "down"), fitToBeat? (false), length? (the composition's), thickness?, edgeFade? (0), style?

Window

A dark app window with an optional title bar, for a constructed panel that should sit in the frame like part of the product.

Details
PropTypeDefault
titlestring
widthnumberrequired
heightnumber
lightboolean
glowstring
titleRightReactNode
childrenReactNoderequired

JsonView

Syntax-coloured JSON of a real object, revealed line by line. An actually-rendered view, not a screenshot of a JSON blob (the same ground-truth bias as TerminalReplay being DOM text instead of a recorded terminal).

Details
PropTypeDefault
valueunknownrequired
atnumber0
perLinenumber1.2
fontSizenumber20
highlight(line, i) => string | undefined
maxLinesnumber400
scrollnumber0

Check

A drawn check mark and a cross, for a pass or a fail next to a claim. Check strokes its tick in from at.

Details
PropTypeDefault
sizenumberrequired
colorstringcolor.success (Check) / color.danger (Cross)
atnumber0, Check only (draws its tick stroke in)

Cross

Details
PropTypeDefault
sizenumberrequired
colorstringcolor.success (Check) / color.danger (Cross)
atnumber0, Check only (draws its tick stroke in)

Glass

Frosted glass panel: backdrop-filter: blur, for a floating card over motion.

Details
PropTypeDefault
childrenReactNoderequired
styleCSSProperties
padnumber28

ToolChip

"▸ tool_name" chip: spinner while running, a check once done.

Details
PropTypeDefault
namestringrequired
atnumberrequired
doneAtnumber
colorstringcolor.accent
sizenumber20

Pill

A small rounded label for a count, a status or a tag. The render checks hold it to the 16px label minimum.

Details
PropTypeDefault
childrenReactNoderequired
colorstringcolor.textSecondary
sizenumber18
styleCSSProperties

ChapterHud

Screen space, meant for a scene's overlay (like Caption), not camera-transformed. A dot-matrix chapter number and label top-left, a progress rail bottom.

Details
PropTypeDefault
chaptersChapter[]required
activeIndexnumberrequired
firstFramebooleantrue
atnumber4
fillDurationInFramesnumber90
designDesignSystem
accentColorstring

TransitionOverlay

A transition drawn over a hard cut, in the colour tokens. Mount it in a Sequence that starts length / 2 frames before the cut (layout="none"): it peaks on the cut frame and is clear on its first and last frames.

Details

type ("fade", "whip", "push", "wipe", "light-leak"), length?

Providers

No picture of their own: they feed timing to the scenes.

NarrationWordsProvider

No picture of its own: it hands word timings to useNarrationWords, which a scene uses to time text to the voice.

Details

Sound

Sound effects a scene places on a frame. The files ship with every project.

ComponentUseProps
TypingSfxThe typing recording, played across each typed runcharFrames, volume? (1)
ClickCursor clickat, volume?
WhooshCamera move or cutat, volume?
BlipUI revealat, volume? (0.3)
SuccessChimeCompletionat, volume? (0.35)
BellHeavier completionat, volume? (0.3)
SoftClickA quieter, rounder click, for a cursor move that should not draw attentionat, volume? (0.35)
BongWarm mallet accent, for a reveal that wants a note rather than a clickat, volume? (0.3)
DropLow soft thud, for a card, panel or stat landing in placeat, volume? (0.3)
MusicBedAmbient bed, loopsdurationInFrames, volume? (0.16)