Build high-performance and pixel-perfect user interfaces for WebGPU. Use the rendering engine and UI framework of your choice.
When you build a video game's UI with a library such as Three.js, you typically use HTML and CSS for the layout. This approach has two drawbacks. First, it ties your game to the web, so you must ship it for browsers, Electron, or another environment with a WebView. Second, it separates your UI from your game because they live in two different worlds.
uno UI solves both problems by rendering the UI directly through the game's rendering pipeline, without relying on HTML or the DOM. This lets your game run in non-web environments while keeping the UI and game in the same rendering system.
- Works with any WebGPU rendering engine
- Use it standalone or with React, Vue or SolidJS
- World-space integrations for Three.js, Babylon.js, Babylon Lite and PlayCanvas
- Pixel-perfect parity with DOM rendering
- High-quality text rendering with strokes and shadows using MTSDF
- Accurate text measurement and layout powered by Pretext
- Flexbox layout powered by Yoga
- Fine-grained updates for efficient rendering
- Lightweight, basic setup is around 280kb (93kb gzip)

