The alert component serves as a notification mechanism to provide feedback to the user.
For supplementary information that doesn’t require the user’s immediate
attention, use callout/1
instead.
Minimal example:
<.alert id="some-alert"></.alert>
With title, icon and level:
<.alert id="some-alert" level={:info} title="Info">
message
<:icon><Heroicon.light_bulb /></:icon>
</.alert>