Warning text example

Default

How it looks (preview)

Warning You can be fined up to £5,000 if you don’t register.

How to call this example

<%= render "govuk_publishing_components/components/warning_text", {
  text: "You can be fined up to £5,000 if you don’t register."
} %>