egui

Frameworks & LibrariesApache-2.0

Immediate-mode GUI library for Rust.

Latest 0.37.0 · by Emil ErnerfeldtWritten in RustWebsiteemilk/eguiRSS

Release activity

Release activity — 10 releases across 10 days since Dec 11, 2025. Each cell is one day; darker means more releases that day. Nothing is recorded before Dec 11, 2025. Older weeks are hidden at this screen width.
AugSepOctNov
SundayNo releases on Aug 2, 2026No releases on Aug 9, 2026No releases on Aug 16, 2026No releases on Aug 23, 2026No releases on Aug 30, 2026No releases on Sep 6, 2026No releases on Sep 13, 2026No releases on Sep 20, 2026No releases on Sep 27, 2026No releases on Oct 4, 2026No releases on Oct 11, 2026No releases on Oct 18, 2026No releases on Oct 25, 2026No releases on Nov 1, 2026No releases on Nov 8, 2026No releases on Nov 15, 2026
MondayNo releases on Aug 3, 2026No releases on Aug 10, 2026No releases on Aug 17, 2026No releases on Aug 24, 2026No releases on Aug 31, 2026No releases on Sep 7, 2026No releases on Sep 14, 2026No releases on Sep 21, 2026No releases on Sep 28, 2026No releases on Oct 5, 2026No releases on Oct 12, 2026No releases on Oct 19, 2026No releases on Oct 26, 2026No releases on Nov 2, 2026No releases on Nov 9, 2026
TuesdayNo releases on Aug 4, 2026No releases on Aug 11, 2026No releases on Aug 18, 2026No releases on Aug 25, 2026No releases on Sep 1, 20261 release on Sep 8, 2026No releases on Sep 15, 2026No releases on Sep 22, 2026No releases on Sep 29, 2026No releases on Oct 6, 2026No releases on Oct 13, 2026No releases on Oct 20, 2026No releases on Oct 27, 2026No releases on Nov 3, 2026No releases on Nov 10, 2026
Wednesday1 release on Aug 5, 2026No releases on Aug 12, 2026No releases on Aug 19, 2026No releases on Aug 26, 2026No releases on Sep 2, 2026No releases on Sep 9, 2026No releases on Sep 16, 2026No releases on Sep 23, 2026No releases on Sep 30, 2026No releases on Oct 7, 2026No releases on Oct 14, 2026No releases on Oct 21, 2026No releases on Oct 28, 2026No releases on Nov 4, 2026No releases on Nov 11, 2026
ThursdayNo releases on Aug 6, 2026No releases on Aug 13, 2026No releases on Aug 20, 2026No releases on Aug 27, 2026No releases on Sep 3, 2026No releases on Sep 10, 2026No releases on Sep 17, 2026No releases on Sep 24, 2026No releases on Oct 1, 2026No releases on Oct 8, 20261 release on Oct 15, 2026No releases on Oct 22, 2026No releases on Oct 29, 2026No releases on Nov 5, 2026No releases on Nov 12, 2026
Friday1 release on Aug 7, 2026No releases on Aug 14, 2026No releases on Aug 21, 2026No releases on Aug 28, 2026No releases on Sep 4, 2026No releases on Sep 11, 2026No releases on Sep 18, 2026No releases on Sep 25, 2026No releases on Oct 2, 2026No releases on Oct 9, 2026No releases on Oct 16, 2026No releases on Oct 23, 2026No releases on Oct 30, 2026No releases on Nov 6, 2026No releases on Nov 13, 2026
SaturdayNo releases on Aug 8, 2026No releases on Aug 15, 2026No releases on Aug 22, 2026No releases on Aug 29, 2026No releases on Sep 5, 2026No releases on Sep 12, 2026No releases on Sep 19, 2026No releases on Sep 26, 2026No releases on Oct 3, 2026No releases on Oct 10, 2026No releases on Oct 17, 2026No releases on Oct 24, 2026No releases on Oct 31, 2026No releases on Nov 7, 2026No releases on Nov 14, 2026

10 releases since Dec 11, 2025

Changelog

0.37.0Latest

0.37.0 - Colored emojis! 🚀

Added 13
  • Glyph rendering for any glyph supported by the system, including colored emojis and non-Latin scripts, via Context::add_glyph_rasterizer and Context::add_font_provider
  • Native font discovery through the new egui_system_font_provider crate, which lists system fonts with fontique
  • CompletionPopup widget that adds autocomplete to a TextEdit
  • Experimental theme plugin system with a StyleProvider trait for customizing widget visuals based on classes, behind the experimental feature flag
  • egui_kittest/video feature that records an mp4 video of integration tests using ffmpeg, enabled with EGUI_KITTEST_RECORD=1 or EGUI_KITTEST_RECORD=open
  • Accessibility: AccessKit support on panel resize handles
Changed 10
  • Accessibility trees for popups, menus, modals and panels are improved
  • WidgetType is replaced with accesskit::Role, re-exported as egui::Role
  • Invisible widgets are now hidden from the accessibility tree
  • Arrow key navigation within menus is improved
  • AtomLayout is split into WidgetAtom and ContainerAtom
  • Buttons are roomier and the default corner radius is larger
Deprecated 1
  • Id::new, AsId, and From<&str> for Id are deprecated

From egui

egui is an easy-to-use immediate mode GUI for Rust that runs on both web and native.

Try it now: https://www.egui.rs/

egui development is sponsored by Rerun, a startup building an SDK for visualizing streams of multimodal data.

Highlights ✨
Emoji and glyph support

egui can now render any glyph that is supported on your system, including colored emojis and non-Latin scripts.

To enable this, the integration has to use one of two APIs:

  • Context::add_glyph_rasterizer(GlyphRasterizer): a GlyphRasterizer renders a single glyph. eframe uses this on web to render individual glyphs to an off-screen canvas #8490, #8545.
  • Context::add_font_provider(Arc<dyn FontProvider>): lets egui find and load whole fonts at runtime. Native eframe uses this through the new egui_system_font_provider crate, which lists system fonts with fontique #8512.
Completion popup

We've added a new CompletionPopup widget that adds autocomplete to a TextEdit. You can use it e.g. to add emoji selection like in discord:

https://github.com/user-attachments/assets/f688eca0-cedf-4d17-99b6-5158cccfdbda

Experimental theme customizations

This release adds a theme plugin system #8153 by @AdrienZianne. Enable the new experimental feature flag, and there will be a new StyleProvider trait, which can be used to customize visuals for a widget based on the provided classes.

/// Implement the trait for each Widget you'd like to customize
impl StyleProvider<ButtonStyle> for MyTheme {
  fn style(&mut self, args: &StyleArgs<'_>) -> ButtonStyle {
    // You could construct ButtonStyle from scratch, or extend eguis built in style:
    let mut style: ButtonStyle = DefaultStyle.style(args);
    if args.has_class("primary") {
      style.atom_layout.frame.fill = hex_color!("#FF0000");
    }
    style
  }
}

/// Register all your custom style providers
fn init(ctx: &Context) {
  ctx.add_widget_theme::<ButtonStyle>(MyTheme);
  ctx.add_widget_theme::<CheckboxStyle>(MyTheme);
  // ...
}
Record videos of integration tests

Reading an integration test to understand what its doing can be challenging, so we've added a egui_kittest/video feature that records a mp4 video from it, using ffmpeg! Enable it and pass EGUI_KITTEST_RECORD=1 or EGUI_KITTEST_RECORD=open, and a video of the test will be recorded. This is an example from one of our more complex rerun integration tests:

https://github.com/user-attachments/assets/6c8e2b15-4316-42a1-b18a-2f2fb6864db9

Improved accessibility
Other
  • Paste images from the clipboard: Event::PasteImage #8472 by @BernardDGS.
  • Aligned container, e.g. for centering a group of widgets #8540
  • CompletionPopup for code completion over a TextEdit #8529
  • RangeSlider #8580 by @gavrelina
  • Atoms: AtomLayout is split into WidgetAtom and ContainerAtom #8222.
  • Some style tweaks: roomier buttons and a larger corner radius #8617, #8445.
  • Nicer kinetic scrolling with rubber-banding on overshoot #8662, #8663
⚠️ Breaking changes
  • default_fonts is no longer a default feature #8583.
  • ViewportCommand::Screenshot now uses a callback #8489.
  • Id::new, AsId and From<&str> for Id are all deprecated #8534, #8586.
  • New: Id::unique, IdSaltSet, IdSaltMap #8534, #8590.
  • Panel constructors take impl AsIdSalt #8592.
⭐ Added
  • Add epaint::RoundedRect primitive #8440 by @emilk
  • Add BandShape #8476 by @emilk
  • Allow transforming after shapes were tessellated and rounded #8587 by @lucasmerlin
  • Add AtomLayoutStyle #8465 by @lucasmerlin
  • Add AtomKind::Paint #8524 by @lucasmerlin
  • StyleProvider for TextEdit and DragValue #8455 by @lucasmerlin
  • Add WidgetText::concat for joining differently styled RichTexts #8538 by @emilk
  • Add RichText::color_override to read the explicit text color #8564 by @pederbe
  • Add CollapsingHeader::custom for collapsing headers with a custom header UI #8549 by @Its-Just-Nans
  • Add MenuConfig::submenu_gap to override the hardcoded gap between a menu and its submenus #8338 by @kiwirm
  • Allow explicit popup sizing passes #8407 by @yay
  • Add Context::root_ui and Context::run_pass #8535 by @emilk
  • Add Context::set_repaint_observer #8644 by @syl20bnr
  • Add Plugin::on_exit #8527 by @lucasmerlin
  • Add Response::container_hovered, container_clicked, container_context_menu, etc #8537 by @emilk
  • Make Areas::set_state public #8645 by @syl20bnr
  • IdTypeMap: add iterator iter_temp_by_type (analogous to remove_by_type) #8672 by @the-maddin
  • Add Keys specific to Windows & Mac keyboards #8373 by @ans1ble
  • Add KeyboardShortcut::conflicts_with_text_editing #8536 by @emilk
  • Add MouseWheelSource and InputState::scroll_source() #8665 by @emilk
  • Add option scroll_zooms for mouse wheel to zoom instead of scroll inside a Scene container #7891 by @Tristan117
  • Add double-click-and-drag and triple-click-and-drag text selection #8370 by @mudbungie
  • Support AccessKit SetValue and ReplaceSelectedText in TextEdit #8701 by @Elitelord
  • Improve the fallback syntax highlighter in egui_extras #8708 by @emilk
🔧 Changed
  • Make Context::add_glyph_rasterizer idempotent #8600 by @emilk
  • Apply set_fonts/add_font right away when no font is loaded yet, or no text has been laid out this pass #8602, #8609 by @emilk
  • Name a Ui, Area, Popup or Tooltip in the accessibility tree #8607 by @emilk
  • Fail kittest tests when an input widget has no accessible name (read-only text fields are exempt) #8589, #8611 by @emilk
  • Clarify what Id to pass in accessibility_parent #8582 by @lucasmerlin
  • Bump accesskit{,_consumer,_winit} to latest versions #8496 by @alice
  • Rename Ui::id to Ui::scope_id and clarify its docstring #8542 by @emilk
  • Use Ui::unique_id for WidgetRect::parent_id #8543 by @emilk
  • Build ComboBox from atoms, and take impl IntoAtoms #8618 by @emilk
  • Round the corners of the color picker #8439 by @emilk
  • Deprecate global_theme_preference_switch in favor of global_theme_preference_buttons #8505 by @emilk
  • Feat: add more documentation on Image::texture_options #8357 by @Its-Just-Nans
  • Support the X11/Wayland PRIMARY selection #8428 by @hallyhaa
  • Make DroppedFile::web_file (and its web-sys dependency) opt-in #8669 by @DouglasDwyer
  • Keep egui::Context Send + Sync with wasm threads #8638 by @teolines
  • Enable clippy::std_instead_of_alloc in core egui crates #8702 by @emilk
🔥 Removed
  • Remove the Font borrow-bag; put its methods on FontsImpl #8504 by @emilk
  • Remove the AsId trait #8584 by @emilk
🐛 Fixed
  • Fix changing widget IDs and false-positive ID change warnings across passes #8316 by @vlansco
  • Warn again when automatic widget IDs shift between passes #8670 by @emilk
  • Ensure nested AtomLayouts have unique ids #8556 by @lucasmerlin
  • Remove unfocusable widgets from the widget cache #8653 by @ori-sky
  • Fix AccessKit ScrollIntoView for a Ui with UiBuilder::sense #8646 by @GavinPizza
  • Fix popups immediately closing on mouse button release #7624 by @vladbat00
  • Show menu without a click if another menu is open #7802 by @mkeeter
  • Respect the menu style config in sub menus #8572 by @lucasmerlin
  • Paint SubMenuButton arrow as a triangle instead of a glyph #8525 by @lucasmerlin
  • Show tooltips of container responses when hovering their children #7909 by @optozorax
  • Enable mouse wheel scrolling while dragging inside a ScrollArea #7919 by @rustbasic
  • Fix #8495: Match scrollbar interaction rect to drawn bar rect (remove dead zone) #8635 by @dajiaohuang
  • Fix scroll modifiers getting stuck when TouchPhase::End never arrives #8636 by @SulimanAbdulrazzaq
  • Fix NaN panic in Scene with zero scene_rect and unbounded zoom #8622 by @emilk
  • Fix: Panel/Scene clip rect should respect parent #8562 by @DouglasDwyer
  • Fix : an issue where double-clicks were judged as triple-clicks #7915 by @rustbasic
  • Fix TextEdit layout shift with custom margin; unclipped TextEdit grows to fit text #8628 by @emilk
  • Fix: TextFormat::valign not applied correctly with custom line_height #8030 by @rustbasic
  • Don't start a CJK row with full-width closing punctuation #8658 by @Zaneris
  • Fix DragValue reporting changes while typing with update_while_editing(false) #8627 by @SulimanAbdulrazzaq
  • Fix color picker RGB drift when editing alpha #8483 by @ishuowang
  • Preserve drop-zone frame styling when idle #8633 by @pederbe
  • Keep a Window's position after a restart #8637 by @teolines
  • Fix burst of extra repaints before request_repaint_after deadlines #8595 by @xmakro
  • Preserve safe area insets when appending input #8484 by @ishuowang
🚀 Performance
View originalPermalink
How 0.37.0 went
0.36.2

0.36.2 - `TextEdit::event_filter` and bugfixes

Added 1
  • Add `TextEdit::event_filter`
Changed 2
  • Fallback `window_title_frame` to `window_frame` when unspecified
  • Don't revert external changes to a focused `DragValue`
Fixed 5
  • Match image file extensions case-insensitively
  • Fix rendering of thin, angled rectangles
  • Fix zero-duration value animations returning the previous value
  • Fix panic in hit-test when a widget rect contains a NaN
  • Properly respect `min_size` in `TextEdit`
View originalRead the notes
How 0.36.2 went
0.36.1

0.36.1 - `Sense::drag()` bugfix

Fixed 1
  • Fix Sense::drag detecting drags when clicking a widget above it
View originalRead the notes
How 0.36.1 went
0.36.0

0.36.0 - Improved mobile keyboard support

Added 8
  • Drag the handle to reopen closed panels
  • Add BoxedWidget for dynamically dispatched widgets
  • Add WidgetText::size
  • Add LayoutJob::clear
  • Sync window theme with egui theme
  • Add egui::Window::title_frame
  • Add extra_text_line_spacing to control vertical spacing between text lines
  • Add drag-to-open for collapsible panels
Changed 5
  • Autocomplete, autocorrect and IMEs now work correctly on iOS and Android on eframe web
  • Window decoration theme is now synced with the app theme instead of staying in the OS theme
  • Rerun sizing_pass when reopening popup
  • Update MSRV from 1.92 to 1.95
  • Treat a press that leaves a widget as a drag
Fixed 7
  • Improve backtrace trimming for cranelift
  • Prevent accidentally dropping TexturesDelta
  • Make non-interactive tooltips not interactable
  • Panels now take separator line width into account
  • Fix TextEdit hint text not following horizontal_align/vertical_align
  • Fix ScrollArea failure by handling horizontal and vertical scrolling separately
  • Fix window with a Grid being widenable but not shrinkable again
Removed 2
  • Remove Modifiers from RawInput and make it an egui::Event
  • Remove clip_rect_margin
View originalRead the notes
How 0.36.0 went
0.35.0

0.35.0 - Inspection, egui_mcp, classes and improved IME

Added 18
  • Add egui_inspection protocol and plugin for reading the accesskit tree of a running app and sending it events
  • Add new egui_mcp crate, an MCP server built on the inspection protocol that lets agents see and use egui apps
  • Add Classes to UiBuilder and some widgets so widget behavior can depend on surrounding context
  • Add drag-to-close for panels
  • Add AtomKind::Layout for nesting AtomLayout
  • Add AtomLayout::direction
Changed 1
  • Render IME composition with an underline and show the cursor properly during composition
View originalRead the notes
How 0.35.0 went
0.34.3

0.34.3: wgpu surface lifecycle fixes

Added 1
  • Add winit window access to `eframe::Frame` and `CreationContext`
Changed 1
  • Default `app_id` to `app_name` on native
Fixed 2
  • Fix random hangs by improving `wgpu::Surface` lifecycle handling
  • Fix `ScrollArea::scroll_to_*` calls when `stick_to_bottom` is Active
View originalRead the notes
How 0.34.3 went
0.34.2

0.34.2: Text layout and selection fixes

Added 1
  • Add regression test for O(n²) word boundary scan
Changed 1
  • Optimize text selection performance for large documents
Fixed 4
  • Fix wrong color of last glyph of selected text
  • Fix text selection of centered and right-aligned text
  • Fix `Context::is_pointer_over_egui` and `Context::egui_wants_pointer_input`
  • Fix centered & right aligned `TextEdit`
View originalRead the notes
How 0.34.2 went
0.34.1

0.34.1: Enable WebGL fallback in eframe

Changed 1
  • The wgpu backend enables WebGL fallback
Fixed 1
  • Cursor style is only applied to the <canvas> element
View originalRead the notes
How 0.34.1 went
0.34.0

0.34.0: More `Ui`, less `Context`

Added 11
  • Add a font variations API for setting variable font parameters
  • Add Panel to replace SidePanel and TopBottomPanel
  • Add is_scrolling and is_smooth_scrolling utilities for checking active scroll actions
  • Allow multiple atoms in Button::shortcut_text and right_text
  • Add ScrollArea::content_margin
  • Add per-widget style
Changed 6
  • Replace ab_glyph with Skrifa and vello_cpu as the font rendering backend, enabling font hinting
  • Replace Context::run with Context::run_ui
  • Give viewports a &mut Ui instead of a Context
  • Implement Deref<Target = Context> for Ui so Ui methods can be called directly without ui.ctx()
  • Replace App::update with fn logic and fn ui
  • Rename Context::style to global_style to avoid confusion with Ui::style
Deprecated 5
  • Deprecate App::update in eframe in favour of App::ui
  • Deprecate SidePanel and TopBottomPanel in favour of Panel
  • Deprecate using Panel directly on a Context; use show_inside on a Ui instead
  • Deprecate CentralPanel::show
  • Deprecate Context::used_size and Context::available_rect
View originalRead the notes
How 0.34.0 went
0.33.3

0.33.3 - Improve kittest and text selection

Added 1
  • Add drag-and-drop helpers to kittest
Changed 4
  • Treat `.` as a word-splitter in text navigation
  • Change text color of selected text
  • Enforce consistent snapshot updates in egui_kittest
  • Bump ehttp to 0.6.0 in egui_extras
View originalRead the notes
How 0.33.3 went
View all

Discussion

If you publish egui, you can claim this product by proving you administer its repository.