unslopkit

Components / Alerts and banners

Notification banner

A banner with a filled title strip and a heading in the body. One for news, one for success.

Important

Inspections are paused on 24 and 25 December.

Book before 20 December to be seen this year.

Drawn in your kit, Plain.Change the look

The code

Plain HTML and CSS on your kit's variables. Put it next to tokens/variables.css from your kit's files and it draws in your look.

<div class="ukc-alert-govuk-notification">
<div class="nb" role="region" aria-labelledby="ukc-nb-1"><h2 id="ukc-nb-1" class="ttl">Important</h2><div class="body"><p class="hd">Inspections are paused on 24 and 25 December.</p><p>Book before 20 December to be seen this year.</p></div></div>
<div class="nb ok" role="alert" aria-labelledby="ukc-nb-2"><h2 id="ukc-nb-2" class="ttl">Success</h2><div class="body"><p class="hd">Your permit application was sent.</p><p>We emailed a copy to mara@reyesframing.com.</p></div></div>
</div>

More alerts and banners

All 26
  • Warning You can be fined up to $5,000 if you start work without a permit.

    Warning text

  • Error summary

  • Application complete

    Your reference number
    HDN-2026-4417

    Confirmation panel

  • Two invoices are waiting for your approval.

    Flash message

  • Sync paused Your crew's phones will catch up when they reconnect.

    Inline notification

  • Permit renewal opens Monday

    Renewals for 2027 permits start on 3 November.

    Your session ends in 5 minutes

    Save your work to keep your answers.

    Payment declined

    Try a different card or contact your bank.

    Left-ruled alerts