How ryanmatthes/remotion-studio works
Remotion Studio turns TypeScript video data into a registered Remotion composition that renders as an MP4. In the demonstrated Video002 workflow, its scene sequence selects templates, which render the title, text, bullet, statistic, and outro stages; shared tokens and animation hooks provide styling and motion. The repository also includes three additional documented templates and reusable visual components. The graph uses README and SOURCE INDEX relationships, plus sampled source excerpts; several template internals and the font/audio wiring were not sampled.
Main entry points: tokens.ts Design tokens · Video002/index.tsx Video002 sequence · TitleCard/index.tsx TitleCard · OutroCard/index.tsx OutroCard
Components 24
Composition flow
- Scene data
src/videos/Video002/data.ts - Video002 sequence
src/videos/Video002/index.tsx - Composition registry
src/Root.tsx
Video templates
- TitleCard
src/templates/TitleCard/index.tsx - TextSlide
src/templates/TextSlide/index.tsx - BulletReveal
src/templates/BulletReveal/index.tsx - StatCard
src/templates/StatCard/index.tsx - OutroCard
src/templates/OutroCard/index.tsx - ImageReveal
src/templates/ImageReveal/index.tsx - ListRace
src/templates/ListRace/index.tsx - QuoteCard
src/templates/QuoteCard/index.tsx
Design system
- Design tokens
src/tokens.ts - Font loader
src/lib/fonts.ts
Motion and effects
- Text reveal hook
src/hooks/useTextReveal.ts - Slide-in hook
src/hooks/useSlideIn.ts - Count-up hook
src/hooks/useCountUp.ts - Stagger hook
src/hooks/useStagger.ts - Gradient background
src/components/GradientBg.tsx - Film grain
src/components/Noise.tsx - Progress bar
src/components/ProgressBar.tsx - Animated text
src/components/AnimatedText.tsx - Audio track
src/components/AudioTrack.tsx
Other components
- Video author
- Remotion renderer
Connections 32
- Video author → Scene data: authors content
README.md - Scene data → Video002 sequence: supplies sequence
src/videos/Video002/index.tsx - Video002 sequence → TitleCard: selects template
src/videos/Video002/index.tsx - Video002 sequence → TextSlide: selects template
src/videos/Video002/index.tsx - Video002 sequence → BulletReveal: selects template
src/videos/Video002/index.tsx - Video002 sequence → StatCard: selects template
src/videos/Video002/index.tsx - Video002 sequence → OutroCard: selects template
src/videos/Video002/index.tsx - Composition registry → Video002 sequence: registers composition
src/Root.tsx - Composition registry → Design tokens: sets dimensions
src/Root.tsx - Composition registry → Font loader: loads fonts
src/Root.tsx - Remotion renderer → Composition registry: renders composition
README.md - TitleCard → Design tokens: uses theme tokens
src/templates/TitleCard/index.tsx - TextSlide → Design tokens: uses theme tokens
src/templates/TextSlide/index.tsx - BulletReveal → Design tokens: uses theme tokens
src/templates/BulletReveal/index.tsx - StatCard → Design tokens: uses theme tokens
src/templates/StatCard/index.tsx - OutroCard → Design tokens: uses theme tokens
src/templates/OutroCard/index.tsx - ImageReveal → Design tokens: uses theme tokens
src/templates/ImageReveal/index.tsx - ListRace → Design tokens: uses theme tokens
src/templates/ListRace/index.tsx - QuoteCard → Design tokens: uses theme tokens
src/templates/QuoteCard/index.tsx - TitleCard → Text reveal hook: animates words
src/templates/TitleCard/index.tsx - TitleCard → Gradient background: renders background
src/templates/TitleCard/index.tsx - TitleCard → Film grain: renders grain
src/templates/TitleCard/index.tsx - TextSlide → Text reveal hook: reveals text
src/templates/TextSlide/index.tsx - TextSlide → Film grain: renders grain
src/templates/TextSlide/index.tsx - BulletReveal → Slide-in hook: slides heading
src/templates/BulletReveal/index.tsx - StatCard → Count-up hook: animates value
src/templates/StatCard/index.tsx - StatCard → Slide-in hook: slides label
src/templates/StatCard/index.tsx - OutroCard → Gradient background: renders background
src/templates/OutroCard/index.tsx - OutroCard → Progress bar: renders progress
src/templates/OutroCard/index.tsx - OutroCard → Film grain: renders grain
src/templates/OutroCard/index.tsx - QuoteCard → Slide-in hook: slides content
src/templates/QuoteCard/index.tsx - Count-up hook → Design tokens: formats numbers
src/hooks/useCountUp.ts