Form input example

With search icon

Adds a search icon, spellcheck can also be added to indicate that the element should be, if possible, checked for spelling errors.

How it looks (preview)

How to call this example

<%= render "govuk_publishing_components/components/input", {
  label: {
    text: "Search the internet"
  },
  name: "search-box",
  type: "search",
  search_icon: true,
  spellcheck: true
} %>