A sticky table of contents that spies on headings while you scroll, with a marker that glides to the active item and smooth scroll on click.
npx shadcn@latest add @minidev/table-of-contents
table-of-contents