Files
hyperframes/packages/studio
Miguel Ángel d574ded1ec fix(studio): a sealed preview takes its film's size from the player (#7967)
* fix(studio): a sealed preview takes its film's size from the player

A sealed preview frame refuses Studio's reads, so the size reader found no
document and Studio kept a 16:9 stage and no size for anything placed on
the picture. For a sealed frame it now reads the size its player got from
the runtime, once the player is ready, and the preview reads it again when
the player reports it.

* fix(studio): a sealed preview's size reader keeps its files' comment share

* refactor(studio): the player's size callback reaches its newest owner through one stable call

* fix(studio): a sealed preview reads its size once its film is ready to show, with no new player prop

* test(studio): the preview's mock player loads once, as a frame does
2026-11-18 06:59:47 +00:00
..
2026-11-17 23:19:45 +00:00
…

@hyperframes/studio

Browser-based composition editor UI for Hyperframes. Provides a visual timeline, code editor, and live preview for building video compositions.

Install

npm install @hyperframes/studio

What it does

The studio is a React application with:

  • Visual timeline — drag, resize, and arrange elements on tracks
  • Code editor — edit HTML and GSAP scripts with CodeMirror (syntax highlighting, autocomplete)
  • Live preview — see changes in real time as you edit
  • Composition inspector — view and modify element properties

Development

The studio is embedded in the hyperframes preview command. To develop the studio UI itself:

cd packages/studio
bun run dev        # Start Vite dev server
bun run build      # Build for production
bun run typecheck  # Type-check

Tech stack

  • React 19, Zustand 4/5 (state management; development uses Zustand 5)
  • CodeMirror 6 (editor)
  • Tailwind CSS (styling)
  • Vite (bundler)
  • Phosphor Icons

Documentation

Full documentation: hyperframes.heygen.com/packages/studio