Table of contents nav with anchor links indented by heading level and a highlighted active item. Pair it with scroll tracking for docs and long articles.
pnpm dlx shadcn@latest add "https://ui.minidev.pro/r/toc.json"