1. Collections Component Guide
  2. Phase (alpha & beta) banner
  3. With message
Phase (alpha & beta) banner example

With message

How it looks (preview)

This is an optional different message to explain what the state means in this context which can take HTML

How to call this example

<%= render "govuk_publishing_components/components/phase_banner", {
  phase: "beta",
  message: sanitize("This is an optional different message to explain what the state means in this context which can take <a class=\"govuk-link\" href='https://www.gov.uk'>HTML</a>")
} %>