
Escena
Code Reveal
@remotionui/code-reveal
De RemotionUI
Editor window that writes a syntax-highlighted file character by character, then focuses the lines that matter
Instalación
npx remotion-ui@latest add code-revealProps (9)
codestringSource shown in the editor; surrounding blank lines are trimmed.
highlightedLinesnumber[]1-based lines focused once the listing finishes writing.
titlestring= "explainer.tsx"Filename on the editor tab.
languagestring= "tsx"Language badge on the right of the header.
startLinenumber= 1First line number in the gutter, for excerpts.
showLineNumbersboolean= trueShows the gutter.
accentColorstring= "#E8B86D"Caret, focus band and glow color.
theme"dark" | "light"= "dark"Editor palette.
speednumber= 1Animation speed multiplier.