Table Of Contents โ shadcn/ui Component by reactframe | shadcnregistry
Table Of Contents
component
An 'On this page' table of contents for articles and docs: it tracks the section in view, slides a marker along its rail (filling it like reading progress), indents subsections, and smooth-scrolls to a heading on click. Collects headings automatically.