andlabs/libui
FreeSimple and portable (but not inflexible) GUI library in C that uses the native GUI technologies of each platform it supports.
About andlabs/libui
libui is a lightweight, portable GUI library written in C that leverages the native GUI technologies of each supported platform (Windows, macOS, and Unix/Linux). It aims to provide a simple yet flexible API for building graphical desktop applications without sacrificing native look and feel. Currently in mid-alpha development, libui is stable enough for small programs and examples but lacks many planned features such as tree views, clipboard support, drag and drop, advanced dialogs, printing, accessibility, OpenGL integration, and full documentation. The library uses Meson as its build system and is released as open-source software (MIT license). It is actively maintained by the author (andlabs) but remains a work-in-progress.
Key Features
Pros & Cons
- Native look and feel on all major platforms
- Lightweight and simple API
- No heavy dependencies beyond standard platform libraries
- Open source and community-driven
- Actively maintained with regular updates
- Mid-alpha status: not feature-complete or fully stable
- Lacks many features like trees, clipboard, drag and drop, advanced dialogs, printing, accessibility, OpenGL
- Documentation is incomplete; users may need to refer to headers or Go bindings
- Some parts buggy on certain platforms
- Not recommended for production use yet