Starter Pages & Examples

Scrollspy: Sticky Sidebar using Tailwind CSS

This example is a quick exercise to illustrate how scrollspy works with fixed sidebar using Tailwind CSS. It will automatically update navigation or list group components based on scroll position to indicate which link is currently active in the viewport.

First section

Second section

Third section

Fourth section

Fifth section

Sixth section