--- layout: docs title: Scrollspy description: Documentation and examples for the scrollspy plugin with Bootstrap's navigation components. group: components --- Automatically update nav targets based on scroll position. ## Contents * Will be replaced with the ToC, excluding the "Contents" header {:toc} {% callout warning %} #### Requires Bootstrap nav or list-group Scrollspy requires the use of a [Bootstrap nav component]({{ site.baseurl }}/components/navs#base-nav) or [Bootstrap list group component]({{ site.baseurl }}/components/list-group/#contents) for proper highlighting of active links / items. When used with the nav component, it supports both the `