RemotionUI

Code Accordion

Code Accordion for Remotion.

SceneScenes

code-accordion30fps · 960×540
Install
$ npx remotion-ui@latest add code-accordion

Code Accordion.

Agent notes

Install first, then import the copied source component locally. AI guide →

Import
@/remotion/scenes/code-accordion
  • Use when: full-frame scenes, overlays, cards, and reusable video sections.
  • Customize: sections, activeIndex, plus copied source for timing, layout, colors, and typography.
  • Rule: do not import this component from the remotion-ui npm package; it is copied into your project.

Usage

Example
import { CodeAccordion } from "@/remotion/scenes/code-accordion"; <CodeAccordion activeIndex={1} />

API Reference

PropTypeDescription
sectionsAccordionSection[]Collapsible code sections.
activeIndexnumberSection expanded during the scene.

Related