Search with autocomplete (experimental) example

Set input value

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",
  value: "driving licence"
} %>