Remoogle
Code Reveal
Code Reveal 미리보기
장면

Code Reveal

@remotionui/code-reveal

출처 RemotionUI

Editor window that writes a syntax-highlighted file character by character, then focuses the lines that matter

설치

npx remotion-ui@latest add code-reveal

Props (9)

  • codestring

    Source 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= 1

    First line number in the gutter, for excerpts.

  • showLineNumbersboolean= true

    Shows the gutter.

  • accentColorstring= "#E8B86D"

    Caret, focus band and glow color.

  • theme"dark" | "light"= "dark"

    Editor palette.

  • speednumber= 1

    Animation speed multiplier.

의존 컴포넌트

npm 패키지

카테고리