emilk/egui — repository preview

featured · github

egui: Build Desktop UIs in Rust Without the Framework Headache

An immediate-mode GUI library that lets Rust developers ship native and web interfaces from one codebase—cutting boilerplate and keeping you in Rust instead ratholing into Qt or Electron.

emilk/egui

Most GUI frameworks make you declare UI upfront, then wire it to state. egui flips that: you draw the interface fresh every frame based on your current data. No layout files, no XML, no bridge between code and UI. Write Rust, get a window. The kicker: the same code compiles to web (via WebAssembly) and desktop (Windows, Mac, Linux, etc.). If you're building a tool, dashboard, or editor in Rust, you skip the Electron tax and the native framework learning curve. Immediate-mode UIs are battle-tested in game engines; egui brings that simplicity to application UIs.

Share kit

Email subject

egui: Rust UI from one codebase, web + desktop

Email blurb

Build native and web GUIs in Rust without framework boilerplate. egui uses immediate-mode rendering—redraw the interface each frame based on live data, no layout declarations. One codebase, zero Electron. Solid fit if you're shipping a desktop tool or dashboard.

x

If you're building a Rust tool and dreading the UI part: egui. One codebase, compiles to web and native. Immediate-mode rendering cuts boilerplate hard. No Electron, no Qt hell. github.com/emilk/egui

linkedin

For Rust builders: egui eliminates the UI tax. Immediate-mode rendering + native/web from one codebase means you spend time on your logic, not framework plumbing. If you're shipping a desktop app or dashboard, this deserves a look.

linkedin

Just shipped a Rust UI that compiles to web and native from the same codebase. egui does immediate-mode GUIs—no boilerplate, no platform-specific rewrites. If you're building desktop tools or embedded dashboards in Rust, this cuts your UI layer in half: → Draw buttons, plots, tables in 20 lines instead of 200 → One render loop for web (wasm) and native (winit, glium, wgpu) → Zero layout engine gymnastics—immediate mode is radically simple → Hot-reload friendly for iteration speed Why it matters: Most Rust GUI work still feels like 2010. egui brings immediate-mode (the thing game devs know works) into the Rust ecosystem without forcing you to pick between platforms. Grabbed 69k+ stars because it actually solves the problem instead of adding layers. https://github.com/emilk/egui

x

egui just hit 69k stars and it's not hype—it's honest. Immediate-mode UI in Rust. Web + native from one source. No platform tax. One loop. One codebase. Real shipping velocity for builders. https://github.com/emilk/egui