Scroll To Widget

A widget to make the page scroll to the component wrapped by it when the searchState is updated.

Check out the demo


The ScrollTo widget makes the page scroll to the component wrapped by it when the searchState is updated. By default when the page number changes, the scroll goes to the wrapped component.

This component is part of the InstantSearch open source UI library that lets you quickly build a search interface in your frontend application.

InstantSearch’s goal is to help you implement awesome search experiences as smoothly as possible by providing a complete search ecosystem. InstantSearch tackles an important part of this vast goal by providing frontend widgets that you can assemble into unique search interfaces.



Was this useful?


Built and supported by Algolia




The best Search and Discovery Platform for your business.

Recommended content

Frontend Tools
Templates & Starters

Autocomplete to Retrieve GitHub Repositories

Create a custom Autocomplete plugin for your typeahead menu to retrieve GitHub repositories

  • JavaScript