Alert DaisyUI
Feedback banners using DaisyUI's alert class.
Variants
Info — something you should know.
Success — action completed.
Warning — proceed with care.
Error — something went wrong.
With icon
Your profile has been saved.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| Variant | AlertVariant | "" | alert-info, alert-success, alert-warning, alert-error |
| Class | string | "" | Extra classes |
| Attrs | templ.Attributes | nil | Spread any HTML attribute |