1. Component Guide
  2. Warning text
  3. With red font
Warning text example

With red font

How it looks (preview)

Warning This content has changed

How to call this example

<%= render "govuk_publishing_components/components/warning_text", {
  text: "This content has changed",
  highlight_text: true
} %>