Kit 108 (USD Viewer): How to embed a web page (including localhost) inside an in-app window/panel? I found omni.ui.WebViewWidget but can’t find detail

Title

Kit 108 (USD Viewer): How to embed a web page (including localhost) inside an in-app window/panel? I found omni.ui.WebViewWidget but can’t find detailed docs/samples


Post

Hi,
I’m building a custom app based on Omniverse Kit 108 (USD Viewer) and I’d like to embed and display an arbitrary web page (e.g. http://localhost:5173) inside a Kit window/panel.

My goal is:

  • Display an internal dashboard or a UI served locally (React/Vite, etc.) inside Omniverse

While searching, I found omni.ui.WebViewWidget listed in the omni.ui API, but I couldn’t find any official documentation or sample code explaining how to use it (requirements, extensions to enable, platform support, limitations, etc.).

Questions:

  1. Is there an official/recommended way in Kit 108 (108.0.x / 108.1.x) to embed a web page inside an app window/panel?

  2. If WebViewWidget is usable, could you share the official docs link and/or a minimal working sample for Kit 108?

Environment:

  • Kit version: 108.0.1 (USD Viewer based)

  • OS: Windows

  • Example URL: http://localhost:5173 (Vite/React)

If anyone has a working example or can point me to the right documentation/repository, I’d really appreciate it. Thanks!

The USD Viewer, is just that, a very basic usd viewer. It has no capability to do this. It is far too minimal. If you are building your own kit app, you should be starting with USD Composer and modifying the interface from there.

Can I ask, why you are trying to enable a webpage inside a kit app, and for what kind of end use? We are normally doing the opposite and enable a kit app inside a web page. You may be able to achieve this with a basic webpage, by writing an extension for kit, to use in USD Composer, not USD Viewer.