Table of Contents Rail

Free

A table of contents for docs pages. The rail is one thread that steps in for subsections; the part of it covering the sections currently in view is lit, so two short sections on screen light together. The scroll spy runs on an IntersectionObserver inside whichever scroll container holds the article, and clicking an entry scrolls only that container and moves focus to the heading.

Installnpx netter-ui@latest add table-of-contents-rail

Loading specimen

Customize

Loading options…