A sticky on this page outline rail listing document anchors along a guide line with the active section marked, beside doc content with a code sample.
npx shadcn@latest add @shadcn-ui-blocks/application-pro-navigation-page-outline-railSign in or get a license at shadcn-ui-blocks.com to see its source and install it.