Skip to main content

Module alert

Module alert 

Source
Expand description

Alert Component

A semantic message box for displaying status information to users.

§Usage

use egui_charts::ui_kit::alert::Alert;

// Simple alert
Alert::info("This is an informational message").show(ui);

// Alert with title
Alert::error("Failed to load data")
    .with_title("Connection Error")
    .show(ui);

// Dismissible alert
Alert::warning("Your session will expire soon")
    .dismissible(true)
    .show(ui);

Structs§

Alert
A semantic message box for displaying status information
AlertResponse
Response from showing an Alert

Enums§

AlertKind
Alert severity levels