#egui #notifications #bevy #applications #notify #system #bevy-egui

bevy-egui-notify

Simple notifications library for EGUI, in the bevy system

2 unstable releases

0.17.0 Jan 24, 2025
0.16.0 Oct 3, 2024

#1047 in Game dev

Download history 5/week @ 2024-10-31 4/week @ 2024-11-07 2/week @ 2024-11-14 4/week @ 2024-11-21 5/week @ 2024-11-28 111/week @ 2025-01-23 8/week @ 2025-01-30 9/week @ 2025-02-06

128 downloads per month

MIT license

120KB
632 lines

FORK NOTICE: This is a simple fork that uses bevy_egui's re-exported egui crate, such that one can use the same egui version within the same applications (otherwise, there would be issue if you try to pass in an older/newer version of egui context to draw things).

bevy-egui-notify

Simple notifications library for egui

example_image

example_video

Usage

use bevy_egui_notify::EguiToastsPlugin;

app.add_plugins(...)
    .add_plugins(EguiToastsPlugin::default());

fn my_system(
    toasts: ResMut<EguiToasts>,
    ...
) {
    ...
    toasts.0.info("hello");
}

Installation

cargo add bevy-egui-notify

lib.rs:

egui-notify Simple notifications library for egui.

Dependencies

~35–73MB
~1.5M SLoC