templates/components/warning.html
<div class="govuk-warning-text" id="{{ component.id }}">
<span class="govuk-warning-text__icon" aria-hidden="true">!</span>
<strong class="govuk-warning-text__text">
<span class="govuk-warning-text__assistive">Warning</span>
{{ component.text }}
</strong>
</div>