1. Component Guide
  2. Warning text
  3. As a heading
Warning text example

As a heading

How it looks (preview)

Warning This is a heading 3

How to call this example

<%= render "govuk_publishing_components/components/warning_text", {
  text: "This is a heading 3",
  heading_level: 3
} %>