1. Component Guide
  2. Intervention
  3. With dismiss link
Intervention example

With dismiss link

How it looks (preview)

You should renew your permit every 6 months.

Hide this suggestion

How to call this example

<%= render "govuk_publishing_components/components/intervention", {
  suggestion_text: "You should renew your permit every 6 months.",
  dismiss_text: "Hide this suggestion"
} %>