#egui-winit #platform #platform-integration

egui_winit_platform

Platform code to use egui with winit

27 breaking releases

0.28.0 Mar 8, 2026
0.27.0 Aug 21, 2025
0.26.0 Mar 30, 2025
0.25.0 Dec 28, 2024
0.2.0 Nov 13, 2020

#540 in GUI

Download history 131/week @ 2026-01-23 190/week @ 2026-01-30 108/week @ 2026-02-06 168/week @ 2026-02-13 204/week @ 2026-02-20 232/week @ 2026-02-27 1909/week @ 2026-03-06 2140/week @ 2026-03-13 1087/week @ 2026-03-20 894/week @ 2026-03-27 970/week @ 2026-04-03 1307/week @ 2026-04-10 666/week @ 2026-04-17 1182/week @ 2026-04-24 1278/week @ 2026-05-01 1061/week @ 2026-05-08

4,579 downloads per month
Used in 3 crates

MIT/Apache

27KB
419 lines

A platform integration to use egui with winit.

You need to create a Platform and feed it with winit::event::Event events. Use begin_frame() and end_frame() to start drawing the egui UI. A basic usage example can be found here.


egui_winit_platform

Latest version Documentation MIT Apache

Platform code to run egui using winit.

Example

We have created a simple example project to show you, how to use this crate.

License

egui_winit_platform is distributed under the terms of both the MIT license and the Apache License (Version 2.0).

See LICENSE-APACHE, LICENSE-MIT.

Dependencies

~10–30MB
~364K SLoC