{{ govuk.notice(
    iconDescription = "Warning",
    text = "Legal text in here"
) }}
<%= govuk.notice(
    iconDescription: "Warning",
    text: "Legal text in here"
) %> 
<div class="gv-c-notice">
    <i class="gv-c-notice__icon gv-c-notice__icon--important"><span class="gv-c-notice__icon-fallback-text">Warning</span></i>
    <strong class="gv-c-notice__text">Legal text in here</strong>
</div>
{
  "iconDescription": "Warning",
  "text": "Legal text in here"
}