raygui is a lightweight, easy-to-use immediate-mode graphical user interface (GUI) library designed primarily to work alongside the raylib graphics programming library, though it can be adapted for other engines. It provides an API inspired by immediate-mode GUI paradigms, similar to Unity’s IMGUI, which allows developers to create buttons, sliders, text boxes, panels, and other controls without managing retained widget states. Because the library is distributed as a single header file containing both declarations and implementations, including it in a project is simple and doesn’t require complex build configurations. raygui supports a wide range of controls and customization options for colors, fonts, and layout metrics, and also includes a built-in set of 1-bit icons that can be embedded into controls. It’s intended for tools development, rapid GUIs for editors or debug interfaces, and simple applications that need basic UI without heavy frameworks.
Features
- Immediate-mode GUI library
- Header-only single include file
- +25 built-in control types
- Customizable styling system
- Standalone usage mode beyond raylib
- Icon support and examples