Componente
Screen frame
@moga/industrial-ui · Oficial do MOGA
The frame a whole film sits in, as a machine's operating screen: a hairline border, the film's name, chapter and section at the top left, date, tempo and metre at the top right, and along the bottom a running timecode, the phase, a ruler of beats with a playhead, the bar number and four beat lights, over faint contour lines. Every number counts from the film's clock. Place it over the whole frame (1920×1080), first, under everything; give each section its own copy with clock set to where that se
npx motioncn-cli add moga/industrial-ui/hud-chromeVersão 1.0.0MIT88 downloads0 favoritos
Atualizado em 5 de dezembro de 2026
Usar no MOGA
Importe só este, sem o resto do bundle. Os tokens do bundle que ele usa vêm junto. Execute na pasta do projeto:
npx -y moga hub-import @moga/industrial-ui --items component:hud-chromeUsar fora do MOGA (Motioncn)
Grátis, sem conta. É código web comum que roda numa página, React, Remotion e HyperFrames, com os mesmos quadros que o MOGA renderiza.
Adicionar ao projeto com shadcn
npx shadcn@latest add https://motioncn.dev/r/moga/industrial-ui/hud-chrome.jsonSem shadcn configurado também funciona
npx motioncn-cli add moga/industrial-ui/hud-chromeImportar numa página, sem build
import HudChrome from 'https://motioncn.dev/m/moga/industrial-ui/hud-chrome.js';
import preset from 'https://motioncn.dev/m/theme.js';
HudChrome.mount(document.querySelector('#stage'), { preset, duration: 5 }).play();React, Remotion e HyperFrames
// React (https://motioncn.dev/r/player-react.json)
<Motion motion={HudChrome} preset={preset} duration={5} fit />
// Remotion (https://motioncn.dev/r/player-remotion.json)
<MotionClip motion={HudChrome} preset={preset} />
// HyperFrames (https://motioncn.dev/m/hyperframes.js)
follow(HudChrome.mount(element, { preset, duration: 5 }), { start: 0 });
