Basic hero layout

This demo shows the basic hero layout which searches three different types: queries, categories and products.

Try resizing the window to a mobile viewport to see how the widget looks like on mobile.

<script>
function LBInitAutocomplete() {
  AutoComplete({
    Layout: 'heromobile',
    TrackerId: '179075-204259',
    Locale: 'en',
    Translations: {
      en: {
        types: {
          item: {
            name: "Products",
            heroName: "Top product"
          },
          query: {
            name: "Searches"
          },
          category: {
            name: "Categories"
          }
        }
      }
    },
    Types: [
      {
        type: 'product',
        size: 7
      },
      {
        type: 'query'
      },
      {
        type: 'category'
      }
    ]
  }, '#q')
}
</script>

<script src="https://cdn.luigisbox.com/autocomplete.js" async onload="LBInitAutocomplete()"></script>
Previous example
Basic example
Grid layout examples

Try it out →

Next example
Adjusting colors
Hero layout examples

Try it out →