Search with autocomplete (experimental) example

Homepage

For use on the homepage.

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: "Search",
  on_govuk_blue: true,
  label_size: "s",
  homepage: true,
  size: "large"
} %>