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.
To understand user behaviour, clicks on links in warning text blocks can be tracked through the click URL, the click text and a data attribute showing the interaction.
The data attribute is added automatically by the Design System’s ‘tracking’ script.
Feedback, help or support
If you need any help or want to give any feedback you can e-mail us at: email@example.com