Uno: a UI system for Babylon.js and Babylon Lite

Hi everyone!

I’ve recently released Uno UI, a library for building high-performance, pixel-perfect user interfaces for WebGPU.

GitHub repository

Some key features:

  • Use it standalone or with React, Vue or SolidJS
  • Background, foreground, and world-space UI
  • Pixel-perfect parity with DOM rendering
  • High-quality MTSDF text rendering with strokes and shadows
  • Accurate text measurement and layout powered by Pretext
  • Flexbox layout powered by Yoga
  • High performance, with only one draw call per UI frame.

Demos

These examples illustrate how to combine two independent UIs, one in the background and one in the foreground, with the engine’s scene rendered between them.

The background UI shown above can also be placed in world space. Each example includes lighting to demonstrate how it integrates with the 3D scene.

The final demo is a fully featured to-do app built with Solid.js and integrated into a Babylon Lite scene.

I’d also like to mention that this isn’t a vibe-coded project or AI slop. I’ve spent the past six months working non-stop to get it to where it is today. If you appreciate the work, please consider giving the project a star on GitHub. I’d really appreciate it!
https://github.com/uno-build/ui

Please let me know what you think, and feel free to ask any questions.

7 Likes

Super smooth! Really nice choices of fonts, colors and icons for the demos.

1 Like

This looks awesome! Great work dude. I may use it in a project of mine, I’ll make sure to give you credits :slight_smile:

1 Like