Dear ImGui guides and code examples
Short, practical guides with code you can paste into your project — and how to do the same thing visually with Kavro.
Dear ImGui login window example (C++)A complete Dear ImGui login window in C++: centered window, username and password fields, remember me, a full-width button and an error message. Copy the code or build it visually.Read the guide →A custom Dear ImGui dark theme (code you can paste)Make Dear ImGui look modern: a complete dark theme with rounded corners, padding and hex colors for ImGuiStyle. Paste the function and call it once after creating the context.Read the guide →ImGui toggle switch and rounded buttonsHow to make an iOS-style toggle switch and rounded, colored buttons in Dear ImGui with ImDrawList and style pushes. Short C++ functions you can copy.Read the guide →A Dear ImGui settings menu in C# and RustThe same Dear ImGui settings window in C# with ImGui.NET and in Rust with imgui-rs: checkboxes, a slider and a button, with notes on what differs from C++.Read the guide →