I would like to create a notification that looks like this.
I like that it has a header and a body. Also that the alert color is bound to the icon
As I see it I need some container elements to pull it off, but I am in no way a css expert 😉
here is the html generated by Telerik
<div class="k-notification k-notification-secondary k-notification-closable">
<span class="k-notification-status k-icon k-svg-icon k-svg-i-info-circle">
<svg aria-hidden="true" focusable="false" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
<path d="M288 352h32v32H192v-32h32v-96h-32v-32h96zm0-224h-64v64h64zm192 128c0 123.7-100.3 224-224 224S32 379.7 32 256 132.3 32 256 32s224 100.3 224 224m-32 0c0-106-86-192-192-192S64 150 64 256s86 192 192 192 192-86 192-192">
</path>
</svg>
</span>
<div class="k-notification-content">
Notification
</div>
<span class="k-notification-actions">
<span class="k-notification-action k-notification-close-action">
<span class="k-icon k-svg-icon k-svg-i-x">
<svg aria-hidden="true" focusable="false" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
<path d="M416 141.3 301.3 256 416 370.7 370.7 416 256 301.3 141.3 416 96 370.7 210.7 256 96 141.3 141.3 96 256 210.7 370.7 96z">
</path>
</svg>
</span>
</span>
</span>
</div>
Overview of the Notification Component | Design System Kit (telerik.com)
Also a nice looking toast Blazor Toasts Component (blazorbootstrap.com)