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

Download history 2218/week @ 2025-10-21 1710/week @ 2025-10-28 2068/week @ 2025-11-04 1523/week @ 2025-11-11 1200/week @ 2025-11-18 1296/week @ 2025-11-25 1167/week @ 2025-12-02 1439/week @ 2025-12-09 1523/week @ 2025-12-16 1087/week @ 2025-12-23 1037/week @ 2025-12-30 1660/week @ 2026-01-06 1551/week @ 2026-01-13 1402/week @ 2026-01-20 1198/week @ 2026-01-27 1604/week @ 2026-02-03

6,024 downloads per month
Used in 20 crates (17 directly)

MIT license

115KB
581 lines

egui-notify

Simple notifications library for egui

example_image

example_video

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 Context you pass to it (like if for example, you passed in a Context already altered for an egui::Window)
  • Differing methodology (create Toasts instance once, save save somewhere in application state)
  • Threadsafe Toasts instance, implements Send, Sync.
  • No support for custom toasts

Dependencies

~5MB
~97K SLoC