raysan5/raygui
FreeA simple and easy-to-use immediate-mode gui library
About raysan5/raygui
raygui is a simple and easy-to-use immediate-mode GUI library for tools development. Originally inspired by Unity's IMGUI, it is designed as an auxiliary module for raylib but can be adapted to other engines or frameworks. The library is provided as a single-file header-only implementation (raygui.h) and includes over 25 controls, a powerful styling system for colors, fonts, and metrics, icons support with a built-in 1-bit icons pack, and standalone usage mode. raygui is intended for creating simple GUI interfaces in tools and has been used in multiple published tools. Note: latest master branch is aligned with latest raylib; version 5.0 introduces API-breaking changes where all functions now return a result value.
Key Features
Pros & Cons
- Simple and easy to use with immediate-mode paradigm
- No retained data management required
- Header-only library, easy to integrate
- Comprehensive styling system allows full visual customization
- Built-in icons pack for common UI elements
- Can be used standalone with other graphics frameworks
- Primarily designed for raylib; adaptation to other engines may require effort
- API changes in version 5.0 may break existing code
- Limited to a flat, rectangular visual style by default
- Documentation and examples are minimal outside the GitHub repository