Screen frameScreen frame
Abrir en MOGA

Componente

Screen frame

@moga/industrial-ui · Oficial de MOGA

Parte del paquete Industrial UI

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-chrome

Versión 1.0.0MIT88 descargas0 favoritos

Actualizado el 5 de diciembre de 2026

Úsalo en MOGA

Importa solo este, sin el resto del bundle. Los tokens del bundle que usa vienen con él. Ejecuta en la carpeta del proyecto:

npx -y moga hub-import @moga/industrial-ui --items component:hud-chrome

Úsalo fuera de MOGA (Motioncn)

Gratis y sin cuenta. Es código web normal que se reproduce en una página, React, Remotion y HyperFrames, con los mismos fotogramas que MOGA.

Añádelo a tu proyecto con shadcn

npx shadcn@latest add https://motioncn.dev/r/moga/industrial-ui/hud-chrome.json

¿Sin shadcn configurado? También funciona

npx motioncn-cli add moga/industrial-ui/hud-chrome

Impórtalo en una página, sin compilar

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 y 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 });