#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

#1049 in Game dev

Download history 2/week @ 2024-10-29 7/week @ 2024-11-05 2/week @ 2024-11-19 9/week @ 2024-11-26 106/week @ 2025-01-21 9/week @ 2025-01-28 13/week @ 2025-02-04

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

~36–78MB
~1.5M SLoC