| Crates.io | egui-notify |
| lib.rs | egui-notify |
| version | 0.21.0 |
| created_at | 2022-08-22 21:52:39.214455+00 |
| updated_at | 2025-10-14 14:19:30.112229+00 |
| description | Simple notifications library for egui |
| homepage | |
| repository | https://github.com/ItsEthra/egui-notify |
| max_upload_size | |
| id | 650619 |
| size | 199,037 |
Simple notifications library for egui


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);
cargo add egui-notify
[dependencies]
egui-notify = "*" # replace with the latest version
egui-toastegui-notify hasContext you pass to it (like if for example, you passed in a Context already altered for an egui::Window)Toasts instance once, save save somewhere in application state)Toasts instance, implements Send, Sync.