How can I create such navigation section?

I want to have this type of navigation to CMS posts so that the user can jump to different sections easily.

Can anyone tell me how to do it? Or share a clonable?

You just have to assign ID to each section and on the nav for each links select those sections ID.

And then you have to style the link’s current state to highlight each links when they reach particular section. To see the current scroll to the particular section and select the respective link.