![]()
This web part fetches all the automatically added Header anchor tags in a SharePoint page and displays them in a Navigation component.
Open this sample in the gallery (popup panel): Open in gallery
Source: https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-page-navigator