Search with autocomplete (experimental) example

Complex custom label

How it looks (preview)

How to call this example

<%= render "govuk_publishing_components/components/search_with_autocomplete", {
  source_url: "https://www.gov.uk/api/search.json?suggest=autocomplete",
  source_key: "suggested_autocomplete",
  label_text: sanitize("<h2 class=\"govuk-heading-m govuk-!-margin-bottom-1\">Search GOV.UK</h2>")
} %>