On this page
Overview
Dear ImGui is a lightweight GUI library for placing interactive controls directly in a C++ application rendering loop. Its immediate-mode model rebuilds UI state every frame, helping teams create game-engine diagnostics, editors, and visualization controls with few dependencies.
Features and best fit
Based on official documentation; not hands-on tested · Content checked:
Key features
Build controls from application state each frame
Buttons, tables, trees, docking, and other widgets expose variables and diagnostics directly from C++ code. The immediate-mode model supports rapid iteration on developer tools without maintaining a separate retained UI description. Docking and Multi-Viewport require the docking branch and are not included in this pinned v1.92.9b guide.
Sources: [1]
Best fit
Before adoption
Select dependencies for the chosen backend pair
The Linux SDL2 and OpenGL3 example needs a C++ compiler, make, SDL2 development files, OpenGL libraries, and a working display. Production integration must adapt input, multiple viewports, high DPI, fonts, and graphics-state preservation to the host engine.
Official sources
- [1]Dear ImGui README at v1.92.9b(2026-10-05)
- [2]Dear ImGui example applications guide at v1.92.9b(2026-10-05)
- [3]Dear ImGui SDL2 and OpenGL3 example Makefile at v1.92.9b(2026-10-05)
- [4]Dear ImGui Getting Started Wiki (checked 2026-10-05)(2026-10-05)
- [5]Dear ImGui LICENSE at v1.92.9b(2026-10-05)
- [6]Dear ImGui v1.92.9b release(2026-10-05)
Supplemental curator note
Evaluate how cleanly it connects to the existing rendering loop and input stack rather than comparing widget counts alone. After the official example, test graphics-state and input handoff in a small host-engine integration.
Try it in 3 steps
- 1
Fetch the pinned SDL2 and OpenGL3 example
Enter the fixed official example containing Dear ImGui core plus the SDL2 platform and OpenGL3 renderer backends.
git clone --branch v1.92.9b --depth 1 https://github.com/ocornut/imgui.git imgui-demo && cd imgui-demo/examples/example_sdl2_opengl3 - 2
Build the official example
On Linux, use a C++ compiler, make, pkg-config, SDL2 development files, and OpenGL development libraries to build the integration example.
make -j2 - 3
Inspect the demo on a display
Run it in an OpenGL-capable display session and inspect the official widgets and interactions. Close the window or press Ctrl-C to exit.
./example_sdl2_opengl3
Growth
Growth trends · Last 30 days
76,495 Stars
Trend data is still being collected.
Development activity
Last 90 days · weekly
- Commits (last 30 days)
- 66
- Open PRs
- 187
- Issues opened
- 56
- Issues closed
- 71
- PRs opened
- 50
- PRs merged
- 4
Issues
56 / 71
Pull requests
50 / 4
Maintenance
- Median first response
- 10 hr
- Issue response rate
- 86.8% (46/53)
Based on up to the 100 newest issues opened by external users in the last 90 days. A first comment from an OWNER, MEMBER, or COLLABORATOR counts as a response; issues whose full comment history cannot be checked are excluded. The median and response rate update weekly.
Built with
Categories and tags
Categories
GitHub data
GitHub dataView detailed GitHub data
GitHub Topics
- gui
- gamedev
- tools
- ui
- toolkit
- native
- imgui
- api
- cplusplus
- framework
- library
- game-development
Related information
Write a related articleShare a guide or use case for this OSS in Markdown. Articles are published after administrator approval.
Explore next
- Cocos Engine9,845 Stars
2 shared tag(s) · 1 shared category(s) · Same language
use a C++ and TypeScript runtime to deliver 2D and 3D games across native, web, and mini-game platforms through Cocos Creator
C++ - Defold6,349 Stars
2 shared tag(s) · 1 shared category(s) · Same language
combine an editor, engine, and Bob build tool to ship 2D and 3D games across desktop, mobile, web, and consoles
C++ - PhysX4,784 Stars
2 shared tag(s) · 1 shared category(s) · Same language
Embed rigid-body and collision simulation in games and visualization tools
C++ - ogre-next1,392 Stars
2 shared tag(s) · 1 shared category(s) · Same language
Build high-performance, scene-oriented 3D rendering with modern GPU APIs
C++ - Flutter179,343 Stars
2 shared tag(s) · 1 shared category(s)
build mobile, web, and desktop UI from one Dart codebase
Dart - Expo52,566 Stars
2 shared tag(s) · 1 shared category(s)
build React Native apps for Android, iOS, and web from one project model
TypeScript
Report incorrect information
Tell us if any listing information is incorrect or outdated.