Alert

DaisyUI

Alerts display important messages to users.

Colors
Soft Style
Code Example
use rsxui::components::{Alert, Color};
use rsx_macros::rsx;
let html = rsx! {
    <Alert color=Color::Success>"Operation completed!"</Alert>
    <Alert color=Color::Error soft=true>"Soft error"</Alert>
};