Welcome to Trame
A fast, native, immediate-mode GUI toolkit in Formula.
Get started - Source on GitHub
Windows 10+ · Linux (X11, Wayland) · MIT
Features
- Immediate mode, retained state: Plain procedures each frame
- Its own renderer: Direct3D 12 on Windows, Vulkan on Linux
- Text done properly: Shaping, bidi, line breaking, colour emoji, fallback fonts
- Widgets: Editors, menus, pickers, virtual tables and trees, dialogs, charts
- The platform: Title bars, DPI, IME, clipboard, tray, accessibility
- Tested: Windowless pixel tests
Start
As a submodule
Add it as a submodule; examples/hello is a window in a few lines.
formula build --emit-obj --collection trame=ext/gui_toolkit/src --collection vendor=ext/gui_toolkit/vendor src -o build/app.o