Short answer: choose egui for Rust tools you can maintain
Our egui install succeeded in 38 seconds; the build and test commands stopped during compilation with disk-space errors. Use egui for interactive Rust tools when your team can maintain the application integration and API migrations. Choose another toolkit if native-looking controls or upgrades without breaking changes are requirements: the upstream README explicitly excludes those expectations.
The programming model explains the recommendation. An egui button returns its interaction result where application code describes it, so the action can sit beside the state it changes. The library produces UI output, while an integration collects input and renders that output. An existing engine and a standalone utility therefore have different starting points. The useful adoption question is whether this division fits the application you intend to maintain.
What people use egui for
Developers report using egui for game-engine editors, live coding, timers, comparison tools and emulator debugging. These examples show different applications of the controls rather than one standard application architecture. Ryosuke describes combining Bevy's rendered scene with egui panels and a timeline; the showcase contributors describe smaller utilities and debugging interfaces. Their own descriptions also distinguish working functionality from projects still under development.
| Developer | What they made | What their account demonstrates |
|---|---|---|
| Ryosuke | A Bevy game-engine IDE | An Unreal-like interface with side panels, a rendered 3D scene and a custom animation timeline. |
| the-drunk-coder | A live coding editor | Shared a video of the editor running, then published its code. |
| a-liashenko | TinyPomodoro | Reported most functionality working on Windows and Linux, while calling it a proof of concept. |
| parasyte | cartunes, an iRacing setup comparison tool | Reported a simple interface following the system theme, primarily targeting Windows. |
| tiaanl | An emulator debugger | Reported using egui for the debugger and being happy with its ease of use. |
The gallery also includes fralonra's opmark-egui presentation tool and rnd-ash's transmission-controller utility. Fralonra calls the presentation tool pre-alpha, with missing features and limited flexibility; rnd-ash describes substantial work still in progress. For an editor developer, the useful examples are the interaction patterns: arranging panels, displaying application data and changing values. A timer's development status and an emulator debugger's author report answer different questions about those patterns.
What happened when we ran it
The build failed with exit 101 after 126 seconds, and the test command failed with exit 101 after 137 seconds. Both log tails identify unavailable disk space during compilation. The table keeps installation, compilation and testing separate because completing the first step did not complete the others.
| Step in our November 25 sandbox | Result | What the log shows |
|---|---|---|
| Install | Succeeded in 38 seconds; 515 dependencies recorded | Dependency installation completed. |
| Build | Failed, exit 101, after 126 seconds | Writing an fdeflate compilation output failed: No space left on device (os error 28). |
| Tests | Failed, exit 101, after 137 seconds | rustc-LLVM ERROR: IO failure on output stream: No space left on device, while compiling quick-xml. |
The build failed while writing lib.rmeta beneath target/debug/deps; the test command encountered an LLVM output-stream failure while compiling quick-xml. These are compilation errors, rather than application assertion failures. The sandbox configuration recorded 3 CPUs, 12 GB RAM and image lab-rust:1. The checkout contained 918 files, approximately 151,599 source lines and 10.4 MB, with 15 CI workflow files, a tests directory and no Dockerfile.
A November 28 run summary says Docker Compose deployment completed with every port bound to 127.0.0.1. Its safety step instead failed because no Compose file existed: it found none of compose.yaml, compose.yml, docker-compose.yaml or docker-compose.yml. The runner's word "unsafe" refers to that file requirement. Its teardown record reports an ok result. Those records describe a failed runner prerequisite and a contradictory summary, not a demonstrated egui security defect.
Where people get stuck: backend choice changes the failure
Historical egui issues report resize flicker, startup crashes and OpenGL initialization failures on different platforms. A backend supplies input and paints egui's output, so the renderer and windowing dependencies belong in a useful bug report. The following cases retain their original environments and reported outcomes. Several involve older releases, including the egui 0.19 to 0.20 migration and a glutin 0.30.3 comparison.
| Environment and issue | Reported problem | Outcome in the discussion |
|---|---|---|
| Apple Silicon and glow, resize issue #903 | Fast resizing caused flicker and jitter. | paulrouget reported improvement with wgpu; yay showed smaller layout shifts with both backends. |
| WSLg, egui 0.19 to 0.20 migration, startup issue #2425 | markusdd's application crashed at startup. | wgpu initially helped in debug mode, then also failed in release mode. |
| X11 hello-world, BadMatch issue #2661 | OpenGL context creation produced BadMatch. | mgunyho reported that changing glutin to 0.30.3 fixed the crash during investigation. |
| X11 graphics initialization, crash issue #1358 | Intermittent crashes involved threading and graphics setup. | ambihelical stopped seeing their crash after correcting NVIDIA drivers and unintended software rendering; other participants continued reporting problems. |
| Windows examples in a VMware environment, swap-control issue #2545 | Swap-control extensions were unavailable. | coderedart made swap-interval configuration optional in a fork; expend20 then reported a null-pointer-related crash. |
Issue #2425 makes the distinction between debug and release behavior particularly useful: the reporter first described improvement, then withdrew that conclusion after a release build failed. Issue #1358 likewise contains a driver correction that helped one participant alongside other reports. Record the egui and eframe versions, renderer, display system, driver and build profile when investigating a similar symptom. These details identify the environment in which a report occurred.
Background results need a route back to the UI
In file-dialog issue #270, sourcebox reported getting asynchronous rfd dialogs working on macOS and Linux through an mpsc channel. The difficult part was returning the selected file to application state because the asynchronous context could not directly access self. Imaitland later reported that the shared snippet worked after minor changes. The channel let background work deliver a message that application code could receive during its UI update.
The same discussion records a repaint problem: after the dialog closed, the macOS interface could stay unchanged until mouse movement requested an update. Calling request_repaint inside update was a reported workaround that forced updates every frame. The README's async guidance recommends a non-blocking GUI thread and channel reception through try_recv. Result delivery and repaint scheduling are separate responsibilities: receiving a selected path changes application state, while a repaint makes the resulting interface visible.
Large scroll areas make layout work visible
The egui README warns that a large scroll area can be slow because its contents need layout each frame. It recommends avoiding huge scroll areas or laying out only the visible portion. For a log viewer or data inspector, that makes the history size part of the interface design. A panel showing a handful of settings exercises a different amount of layout work from a continuously growing history.
Window placement exposes another layout dependency. To center a new window, egui needs its size, but it learns that size while laying out the contents. Upstream describes retaining a previous frame's size and using an additional sizing pass to hide first-frame jitter. The extra pass costs CPU work. This explains a concrete tradeoff in immediate mode: the inline interaction model simplifies some application code while layout can require information from another pass.
Accessibility and international text depend on the target
The README documents optional AccessKit support enabled by default in eframe, including native accessibility APIs on Windows and macOS. It describes an experimental built-in screen reader for unsupported platforms, including web. The original accessibility request #167 is closed. A Rust Bytes account of the 2025 Rust GUI survey reports Windows Narrator support for a task involving a label and input field on Windows.
International text involves font selection, layout and input behavior. In Cosmic Text issue #3378, thomaskrause describes misplaced right-to-left text and blurry rendering in an experiment. The discussion also contains an offer of egui-glyphon as an external option. For application planning, distinguish drawing the required glyphs from ordering a line of text and accepting composition input. An editor with custom canvas controls asks different questions from the survey's label-and-input task.
egui vs alternatives: compare architecture and application roles
Iced separates application state, messages, view logic and update logic; egui handles control interactions inline. Iced's README describes its Elm-inspired architecture and calls the software experimental. That gives a Rust developer a concrete architectural choice. Eframe answers another question: it is egui's application framework, so choosing it supplies a host for egui rather than replacing the UI library.
| Choice | What separates it from egui | When it belongs on your shortlist |
|---|---|---|
| Iced | Its README documents a reactive model inspired by Elm, with state, messages, view logic and update logic. | You prefer explicit messages and update logic. |
| Slint | It appears alongside Iced and egui in a desktop developer's comparison question. | You are assembling a desktop UI shortlist; the question records the alternatives being considered. |
| Dear ImGui / imgui-rs | Dear ImGui is a C++ library for content-creation, visualization and debug tools. | Your surrounding engine is C++. |
| eframe | The README identifies it as egui's official application framework. | You need native or web application integration for egui. |
| Tauri | Ryosuke describes Tauri as another host for an egui interface. | You are considering Tauri's ecosystem for the surrounding application. |
Dear ImGui's README says full internationalization and accessibility features are unsupported, a consequential distinction for a product shortlist. The opinions reproduced by HackerApproved disagree about egui and Qt and include favorable resource-use comparisons with Electron. Those comments record individual preferences. For this decision, the primary-source architecture descriptions are more actionable: they tell you where state changes live, which language the toolkit uses and what the application host handles.
Outdated claims, corrected
The upstream README identifies integrations as responsible for rendering and lists both glow and wgpu routes. That corrects the renderer explanation in Ryosuke's 2023 tutorial, which describes egui as built on WebGPU. Ryosuke's Bevy editor remains a useful application example, but its renderer explanation conflates the UI library with a graphics integration. The README's integration responsibilities are the appropriate starting point for that distinction.
The older hoothin fork's linear-space blending advice conflicts with the official renderer documentation's gamma-space blending guidance. Its identification of glow as the native demo backend is also dated: the current README names egui-wgpu. Meanwhile, iTechGuides lists four integrations, corresponding to the official list; upstream separately directs readers to third-party integrations. Four official entries are not an exhaustive count of the ecosystem.
Two teaching shortcuts also need a narrower reading. The beginner tutorial's whiteboard analogy suggests egui forgets the interface, while the README explicitly describes retained window positions, sizes, scrolling and interaction identities. ExplainGit's desktop-and-web description promises delivery without code changes, while lyecl's tutorial includes a web entry point and target-specific dependencies. Shared UI code still sits inside platform startup and dependency configuration.
FAQ
Eframe supplies native and web application integration for egui; the UI library itself handles layout and interaction with controls. That distinction resolves one of the comparison queries without treating related projects as competing toolkits. The remaining questions below focus on decisions supported by architecture descriptions, upstream behavior and named reports: message handling, repainting and accessibility support. They connect directly to the editor and utility workloads described above.
What is the difference between egui and eframe?
Egui lays out controls and handles interaction; eframe handles input and rendering integration. An existing engine can use its own integration, while a standalone application can use eframe. The choice follows from who already owns the window, event handling and renderer. The README explicitly distinguishes the egui library from the eframe framework rather than presenting them as interchangeable products.
Should I choose egui, Iced or Slint for a Rust desktop application?
Egui puts control interaction results inline; Iced documents separate state, messages, view logic and update logic. That is the supported architectural distinction to use when choosing an implementation approach. The desktop developer's Iced, Slint and egui question records the same shortlist. Start with the architecture your team wants to maintain, then implement a representative screen with its actual data and background work.
Does egui's repaint behavior make it CPU inefficient?
The README describes repainting in response to interaction or animation and warns about large scroll areas. Application scheduling also affects the work: the workaround in issue #270 explicitly requests updates every frame. The useful distinction is between when the application requests a frame and how much layout that frame performs. A large history and a continuously requested repaint combine two different sources of work.
How accessible are egui applications to screen-reader users?
AccessKit support is enabled by default in eframe according to the README. Its description distinguishes Windows and macOS native accessibility APIs from the experimental screen reader used on unsupported platforms. The 2025 survey account reports Windows Narrator behavior for a label and input field. These details identify the documented integration and the reported task instead of treating accessibility as one platform-independent property.
What we have not tested yet
Our run completed dependency installation but produced neither a completed GUI session nor a passing test suite. Its results belong to commit 35925b9; the separately recorded release is 0.37.0, dated October 15, 2026. The repository dependency count is not a minimal application's dependency cost. The configuration image label does not identify actual runtime versions, and the compilation failures do not quantify a successful build's disk requirement.
No controlled measurements cover idle CPU, interaction CPU, battery use, large-list performance, frame latency or minimal-application footprint. There is no head-to-head result for GPUI, Dioxus, Slint, Qt, Electron, Iced or Dear ImGui. The November 28 deployment summary requires reconciliation with its failed Compose prerequisite. The historical backend workarounds, Tauri integration and asynchronous file-dialog workflow have not been reproduced on the current target application; the proposed background-thread repaint improvement has no confirmed outcome in the discussion examined.
Accessibility across custom widgets, platforms and assistive technologies remains outside the run, along with right-to-left shaping, international font coverage and composition input. The external text-rendering option has no demonstrated coverage here. No security audit, dependency-vulnerability result, file-permission evaluation or authentication test is recorded. The next useful evaluation is a representative panel in the intended integration, with its actual history size, text, background work and renderer versions recorded alongside the outcome.


