ModernUI is a comprehensive UI engine and desktop application framework & runtime
ModernUI is a comprehensive UI engine and desktop application framework & runtime
ModernUI is a cross-platform UI runtime focused on high-performance rendering, layout, and text systems for desktop environments.
The project explores a retained UI model with GPU-accelerated rendering and low-level graphics access, designed to scale from simple interfaces to highly complex, component-dense scenes while maintaining consistent, pixel-perfect output across platforms.
Core subsystems—rendering, layout, text shaping, and UI components—are largely in place. Platform window backends (e.g. AWT, GLFW) and multi-window support are under active development.
ModernUI is designed as a UI runtime, not just a rendering library, with explicit control over layout, text, rendering, and lifecycle within a single system.
Unlike approaches that wrap native rendering libraries or rely on declarative UI layers on top of them, ModernUI maintains a cohesive retained UI model with direct control over rendering and resource lifetime.
ModernUI has been proven to operate under strict host constraints, including shared window ownership and shared GPU contexts, without introducing parallel rendering stacks.
ModernUI is currently intended for advanced UI scenarios, custom engines, and architectural exploration, rather than turnkey application development.
ModernUI provides deterministic, platform-independent rendering. It ensures pixel-identical visual results across supported platforms, independent of native UI toolkits or system rendering behavior.
Native-like appearance can be provided as an optional layer through styling and conventions, without compromising rendering determinism.
(needs a link here when available)
Repository of the documentation: https://github.com/BloCamLimb/ModernUI-Docs API References (javadoc): https://docs.icyllis.dev/api/modernui/index.html
(needs a link to documentation here)
ModernUI is designed to operate on top of the JVM and modern GPU APIs.
ModernUI supports the following platforms:
This design allows ModernUI to integrate tightly with host applications while remaining independent of platform-native UI toolkits and native rendering frameworks.
While platform window backends for standalone desktop applications are still under development, ModernUI is already fully integrated and production-used within the Minecraft modding environment.
In this setup, ModernUI runs without its own window system, sharing:
ModernUI introduces no additional native libraries and no parallel graphics or windowing stack. All required dependencies (including LWJGL, ICU4J, and fastutil) are supplied by the Minecraft environment and used directly.
The Minecraft integration is implemented in ModernUI-MC, a derivative project that adds host-specific code and is ultimately packaged together with ModernUI into a single mod jar.
Releases for Minecraft Mod are available on CurseForge and Modrinth.
All modules of the ModernUI project are licensed under GNU Lesser General Public License v3.0 or later (LGPL-3.0-or-later).
For the full license text, see LICENSE. For additional license notices, see NOTICE.
ModernUI requires the following third-party libraries to compile and run:
The above dependencies are flat, with no nested dependencies.
There are also some annotation libraries that are used for compilation but not required for runtime, not listing here.
No open issues yet, or sync has not completed.