{{ aspExample({ code: "<div class=\"alert alert–success\">
<h1 class=\"alert_title\">Sign in email sent</h1>
<p>If your email address is valid, an email has been sent to it with a link to sign in to [Application]</p>
<p>It should arrive immediately. The link will expire after 10 minutes. If this happens, you will need to request a new link.</p>
</div>", nunjucks: "{{ aspAlert({
modifier: \"success\",
title: \"Alert title\",
content: {
html: '<p>Alert content (html) with a <a href=\"#\">link</a></p>
<p>With additional line. modifier: success</p>'
}
}) }}", title: "", id: "65a92a41e4915", url: "" }) }}
{{ aspExample({ code: "", nunjucks: "{{ aspAlert({
modifier: \"warning\",
content: {
text: \"Alert content (text) without a title. modifier: warning\"
}
}) }}", title: "", id: "66e0373036671", url: "" }) }}
{{ aspExample({ code: "<div class=\"alert alert–danger\">
<p>This is a danger alert message with a <a href=\"#\">text link</a></p>
</div>", nunjucks: "{{ aspAlert({
modifier: \"danger\",
content: {
text: \"Alert content (text) without a title. modifier: danger\"
}
}) }}", title: "", id: "65a92a41e4974", url: "" }) }}
A (left aligned) alert is now a notification component.
The below criteria all need to be met for a component to be considered as fully developed for use within the ASP Digital Design System.