Media
Browser window frame
Browser window frame: A desktop browser window mockup with traffic-light dots and an address bar that frames a screenshot or looping video as its page content.
Using Browser window frame
Browser window 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 |
|---|---|---|---|
url | text | example.com | Up to 40 characters |
screenContent | select | photo | Options: photo, video, blank |
simpleMode | boolean | false | No additional limit in the metadata. |
Which frameworks are available for Browser window frame?
Browser window 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 Browser window frame depend on?
The React metadata lists these npm dependencies beyond React: motion, clsx.
What accessibility details are visible in Browser window frame?
The React source for Browser window 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 Browser window frame handle reduced motion?
Browser window frame reads the motion preference in its React source through useReducedMotion(). Check the full implementation, shared styles and selected port with reduced motion enabled; these observations do not establish that every animation stops.