Yesterday PCUI, an open source UI framework for creating game tools and other web applications, was open sourced. PCUI is named as such because it is the UI layer powering the battle tested PlayCanvas game engine. It provides over a dozen controls, as well as implementing logic such as the Observer pattern for making binding your UI to your data. PCUI is open source under the liberal MIT license with the source code available on GitHub.
Details from the PlayCanvas blog:
Today, PlayCanvas is launching PCUI: a new, open source front-end framework for the web.
PCUI is designed with tools developers in mind. It is particularly well suited to building viewer and editor applications, providing a rich set of beautiful and consistent controls. It already powers the PlayCanvas Editor – the world’s most powerful WebGL production tool.
Here you can see tree controls, panels, buttons, checkboxes, toolbars, menus and more. The Editor also relies on PCUI’s observer system, that makes it easy to synchronize the state of your application’s UI with that of the underlying data. Plus, it has a built-in support for history to make implementing redo/undo a breeze.
In addition to the PlayCanvas game engine, PCUI is used to power the PlayCanvas GLTF viewer project as well, a project which is open source and shows you a real-world example of using PCUI in a TypeScript application. PCUI is also extremely well documented with several examples available. If you are interested in learning more about PlayCanvas be sure to check out two part tutorial. You can learn more about the PCUI release in the video below.