Files
hyperframes/packages/studio
Miguel Ángel 9daa7e876d fix(studio): a sealed preview's reload shows in a fraction of a second, not after 8 s (#8015)
* fix(studio): a sealed preview's reload shows in a fraction of a second, not after 8 s

* fix(studio): the sealed reload's frame sits under the live one, so clicks stay on the live frame

* fix(studio): the sealed reload's frame stays on top but inert, so clicks reach the live frame

Under the live frame (z-index -1) the reload's frame was left unpromoted in a traced run; on top and inert it renders and swaps in, and hit testing skips it, its own frame included.

* refactor(studio): name the sealed reload's style for what it does, not in comments

* fix(studio): the reload code marks a sealed reload's player inert until it is promoted

Player keeps main's shape: the hook that owns the reload sets inert on the hidden frame's player element when its frame arrives and clears it at promotion.

* test(studio): keep the reload-inert test's comment under the line limit
2026-11-17 05:55:20 +00:00
..
2026-11-17 01:59:35 +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