Cookie banner example

With multi paragraph custom content

How it looks (preview)

How to call this example

<%= render "govuk_publishing_components/components/cookie_banner", {
  title: "Can we store analytics cookies on your device?",
  text: [
    "This is some custom text in my cookie banner.",
    "There are three paragraphs.",
    "They are passed as an array"
  ],
  confirmation_message: "You’ve accepted all cookies."
} %>