26 releases (breaking)
| 0.21.0 | Oct 14, 2025 |
|---|---|
| 0.20.0 | Jul 18, 2025 |
| 0.19.0 | Feb 7, 2025 |
| 0.18.0 | Dec 18, 2024 |
| 0.4.4 | Nov 1, 2022 |
#119 in GUI
6,024 downloads per month
Used in 20 crates
(17 directly)
115KB
581 lines
egui-notify
Simple notifications library for egui


Usage
use egui_notify::Toasts;
use std::time::Duration;
// initialize once
let mut toasts = Toasts::default();
// somewhere within [egui::App::update]...
toasts.info("Hello world!").duration(Duration::from_secs(5));
// ...
toasts.show(ctx);
Installation
cargo add egui-notify
[dependencies]
egui-notify = "*" # replace with the latest version
Difference to egui-toast
egui-notify has
- Animations for appearing/disappearing toasts
- Duration meter for expiring toasts
- Toast positioning not influenced by which
Contextyou pass to it (like if for example, you passed in aContextalready altered for anegui::Window) - Differing methodology (create
Toastsinstance once, save save somewhere in application state) - Threadsafe
Toastsinstance, implementsSend,Sync. - No support for custom toasts
Dependencies
~5MB
~97K SLoC