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.
| Control | Type | Default | Preview limits |
|---|---|---|---|
label | text | fb / motion reel | Up to 32 characters |
code | text | | Up to 24 characters |
footer | text | easing study, take 3 | Up to 32 characters |
fps | select | 24 | Options: 24, 25, 30 |
loopSeconds | number | 12 | From 4 to 60; step 1 |
accent | color | #FF3A22 | No additional limit in the metadata. |
recording | boolean | true | No additional limit in the metadata. |
crosshair | boolean | false | No 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.