The warning text component puts a clear notice in a page to tell users about something important. This could be an action they need to take, or something they need to know.
We based our warning text component on the one built by GDS. Find out more about the warning text component on GOV.UK’s Design System.
Each link in warning notes should be given a data attribute to help with tracking.
To understand user behaviour, clicks on links in warning notes can be tracked through the click URL, the click text and a data attribute showing the interaction, for example.
Feedback, help or support
If you need any help or want to give any feedback you can e-mail us at: email@example.com