Skip to content
Menu

Layout

HUD viewfinder frame

HUD viewfinder frame: A camera-style frame for any content, with corner brackets that snap into place, a running timecode, small labels and a scrubber that shows progress.

Using HUD viewfinder frame

HUD viewfinder frame uses the wide preview frame with a light/dark theme setting.

Customize the preview

These controls are passed to the demo. Defaults and limits describe the preview; consult the implementation for its full prop API.

ControlTypeDefaultPreview limits
labeltextfb / motion reelUp to 32 characters
codetextUp to 24 characters
footertexteasing study, take 3Up to 32 characters
fpsselect24Options: 24, 25, 30
loopSecondsnumber12From 4 to 60; step 1
accentcolor#FF3A22No additional limit in the metadata.
recordingbooleantrueNo additional limit in the metadata.
crosshairbooleanfalseNo additional limit in the metadata.
Which frameworks are available for HUD viewfinder frame?

HUD viewfinder frame is available for React, Vue, Svelte, Astro, HTML. The live preview uses React; the source observations below apply to index.tsx. Check the selected port before relying on the same interactions.

What does HUD viewfinder frame depend on?

The React metadata lists no additional npm dependencies beyond React.

What accessibility details are visible in HUD viewfinder frame?

The React source for HUD viewfinder frame includes: attributes and handlers (aria-hidden). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.

How does HUD viewfinder frame handle reduced motion?

HUD viewfinder frame reads the motion preference in its React source through matchMedia(prefers-reduced-motion). Preference-dependent expressions in index.tsx: armed || moving || advancing ? -1 : runtime.focusWait; u: armed && !reduced ? clamp((entrance - i * 0.05) / 0.44) : 1. Check the full implementation, shared styles and selected port with reduced motion enabled; these observations do not establish that every animation stops.

Connect your agent

Related open components